Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
Hi floks,
I have tired by trying to get DISTINCT value from the original table.
Here is my task is to create table with distinct value,I try DISTINCT(column_name), it retrun only one column with DISTINCT value.
But I want to display all columns.
Anybody please hlep me to clear this.
Thanks in advance ,
Sivanesan C
Solved! Go to Solution.
@Anonymous , Try
New table = Distinct(Table)
New Table =summarize(Table, Table[Col1], Table[Col1] , ......... ) Add all columns
https://docs.microsoft.com/en-us/dax/summarize-function-dax
@Anonymous , In case issue is nor resolved. Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.
@Anonymous - Use the name of the table in your DISTINCT, not the column name.
@Anonymous , Try
New table = Distinct(Table)
New Table =summarize(Table, Table[Col1], Table[Col1] , ......... ) Add all columns
https://docs.microsoft.com/en-us/dax/summarize-function-dax
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
137 | |
115 | |
102 | |
71 | |
61 |