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.
Hello,
My table follows this structure:
Name | CODE | Date | Lab |
John | WWW | 09/04/2021 | 1 |
John | WWW | 09/04/2021 | 1 |
John | WWW | 09/04/2021 | 1 |
Lisa | ZZZ | 11/09/2021 | 9 |
Lisa | ZZZ | 11/09/2021 | 9 |
Eric | QQQ | 01/01/2021 | 5 |
Kimber | DDD | 12/12/2021 | 8 |
Kimber | DDD | 12/12/2021 | 8 |
I would like to create a calculated table that shows all columns from the original table, but only distinct rows based on the CODE column.
My expected result would be a new table like this:
Name | CODE | Date | Lab |
John | WWW | 09/04/2021 | 1 |
Lisa | ZZZ | 11/09/2021 | 9 |
Eric | QQQ | 01/01/2021 | 5 |
Kimber | DDD | 12/12/2021 | 8 |
Can someone help me?
Solved! Go to Solution.
New Table >
Newtable = SUMMARIZE('Table1','Table1'[Name],'Table1'[CODE ],'Table1'[Date],'Table1'[Lab])
New Table >
Newtable = SUMMARIZE('Table1','Table1'[Name],'Table1'[CODE ],'Table1'[Date],'Table1'[Lab])
That was exactly it! Thanks 🙂
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 | |
82 | |
70 | |
60 |
User | Count |
---|---|
149 | |
114 | |
107 | |
89 | |
67 |