Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
114 | |
99 | |
83 | |
70 | |
60 |
User | Count |
---|---|
150 | |
115 | |
104 | |
89 | |
65 |