Hi,
I am working on a workflow that combines data from multiple sources using Union and then trying to find unique records from that.
The issue is Unique is not giving correct result.
Below is the screenshot for the same.
Output from the filter tool: It gives 3 records (All are same)
Output of Unique Tool: U anchor gives no unique records
Output of Unique tool: D anchor also gives no records
The weird thing is if I copy paste the Output of filter tool into a text input and then do a unique, its giving correct result:
I am also attaching all screenshot. Has anyone faced similar issue before?
Regards,
Priyanka
Solved! Go to Solution.
Try the data cleansing tool and select tools before you push them into the unique tools.
The data cleansing tool will remove any whitespaces if there and the select the right column type.
@HW1
This is very strange.
Would it be possible to upload a sample workflow so we can replicate the issue at our end?
@Qiu Are you referring to me? Its not my question.
I am helping @bishtpriyanka
@HW1
So sorry about that.
Lets hear from @bishtpriyanka 😁
Hi @Qiu,
When I am taking the results from my workflow and passing it via text Inputs, the unique is working fine. So I am not able to replicate the issue 😕
That would mean the data type is being changed from the original to when you port them to the text input tool.
Try using the select tool to harmonise data types (and then the data cleansing tool to remove any whitespaces) before you pass into the unique tool. See how it turns out.
Yes, it worked. I changed the data type from String to Int and it worked!
Thank you! 🙂
Regards,
Priyanka
User | Count |
---|---|
19 | |
15 | |
13 | |
9 | |
8 |