Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
HI Team,
I am trying to create new table with distinct values from existing column using these formula : values(table[column] but getting duplicate values .
can you help on the same?
Power bi file link : distinct.pbix
Thanks,
Deva.
Solved! Go to Solution.
@Anonymous Well, I would use DISTINCT instead of VALUES or ALL used with a column also produces distinct results oddly enough. But, if you are getting duplicate values that's likely trailing whitespace or hidden characters causing it or something along those lines. Add some trim and clean operations in Power Query Editor.
Hi @Anonymous ,
I can't access your pbix file, please change the permissions and re-share.
As @Greg_Deckler said, you can use DISTINCT() function. Please check your data for spaces. You can add a custom column to check the character length.
You can de-dupe the columns in power query.
Best Regards,
Neeko Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@Anonymous Well, I would use DISTINCT instead of VALUES or ALL used with a column also produces distinct results oddly enough. But, if you are getting duplicate values that's likely trailing whitespace or hidden characters causing it or something along those lines. Add some trim and clean operations in Power Query Editor.
User | Count |
---|---|
11 | |
11 | |
8 | |
6 | |
5 |
User | Count |
---|---|
25 | |
19 | |
16 | |
10 | |
7 |