Hi everyone,
Do you have the problem issue like me. I used the filter tool for the column for which value is greater than 1240, but the True result still have some result are 1240. I don't know what is the reason?
Thanks
Phuong
Solved! Go to Solution.
Hi @nphuong84
Can you check your data type of the column you're filtering on? It's likely it's not a numeric data type (double etc.) which could be causing your issue.
If this solves your issue please mark the answer as correct, if not let me know!
Regards,
Jonathan
Hi @nphuong84,
If the data type is correct which operator are you using? If you dont want to include 1240 then you should be > 1240 and not >= 1240
Could you share your workflow?
If this solves your issue please mark the answer as correct, if not let me know!
Regards,
Jonathan
Hi @nphuong84,
Could you please package up your workflow or attach the two supporting files?
Regards,
Jonathan
Hi @nphuong84 ,
it seems to be a problem related to the internal representation of the double data type. If you round the field to filter on, it will work (I did this in your workflow, used 2 decimals and it seems to work fine). Hope this is helpful.
Best,
Roland
Hi @RolandSchubert ,
It works, thanks for your advice. I will use the round function whenever I want to get the correct value, so that I can get the correct result when I use tools in Alteryx.
Best Regards
Phuong
Rounding in Alteryx is not always easy. These posts provide useful information for rounding:
https://community.alteryx.com/t5/Alteryx-Designer-Discussions/Rounding-problems/td-p/486194