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.
I have some data that I am trying to sum up based on unique values from two other columns. There are three columns: Year, Class, and Usage. I am trying to have it filter through the Year and Class columns and for each unique combination of those columns, it will sum up the Usage column. I have about 100,000 rows of data so is there a function I can use where I don't have to explicitly write in the column combination and it will just sum up the distinct combinations by itself?
Thanks!
Solved! Go to Solution.
Hi @kblommer
You can do it in Query Editor.
Select Class column, go to Transform Ribbon and click Pivot Column and for Values Column select Usage.
Hi @kblommer
Is the following what you are trying to achieve?
Then a simple SUM ( Table[Usage] ) should do. Unless I misunderstood something?
Let us know if that's not what you are looking for
Thanks!
I am trying to output a table for instance that looks like this:
Thank you for your help!
Hi @kblommer
You can do it in Query Editor.
Select Class column, go to Transform Ribbon and click Pivot Column and for Values Column select Usage.
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 |
---|---|
105 | |
97 | |
80 | |
66 | |
62 |
User | Count |
---|---|
145 | |
113 | |
105 | |
85 | |
65 |