Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I have ID column the formate of it is Text, and ID column has many repetead ID's, I wan to cleare a new column with only distinct ID's.
Thanks in Advance
Solved! Go to Solution.
You have to get a new table
New table = distinct(table[Column])
You can join your table as dimension
Hi @Anonymous ,
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You need to create a new table instead of new measure or column. Click new table on modeling tab.
Unique ID = Distinct('sheet1'(IDcolumn))
You have to get a new table
New table = distinct(table[Column])
You can join your table as dimension
@Anonymous ,
Create new column with below DAX:
Distinct ID = CALCULATE(DISTINCT(table[IDcolumn]))
Don't forget to give thumbs up 👍 and accept this as a solution if it helped you.
Thanks for your rpl but I am not getting distinct values instead I am getting same values as it was there in ID column.
@Anonymous ,
So, create a new table and use DISTINCT('Table'[IDcolumn]).
Don't forget to give thumbs up 👍 and accept this as a solution if it helped you.
User | Count |
---|---|
98 | |
90 | |
78 | |
71 | |
64 |
User | Count |
---|---|
112 | |
96 | |
95 | |
67 | |
65 |