Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
I am trying to create a new table that returns distinct string from a data table. I created the new table, created a new column with TAGNO = DISTINCT(Table1[tag]) and nothing was returned. Where am I going wrong?
Have you tried with CALCULATETABLE( DISTINCT(Table1[tag]) )
🤔
HI @DTreg1,
If you trying to get a column or table, say with unique Ref number or date then the easiest thing is in Edit query Mode:
This will leave you with just Distinct values in that column and you will have a table with all editable functions unlike when you use DISTINCT (distinct creates a table but you have limited functionality on it)
Regards
Abduvali
Hi @DTreg1
Did you add it as a Calculated Column?
DISTINCT returns a TABLE
User | Count |
---|---|
102 | |
90 | |
80 | |
71 | |
70 |
User | Count |
---|---|
114 | |
100 | |
97 | |
72 | |
71 |