Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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.
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 98 | |
| 72 | |
| 50 | |
| 49 | |
| 42 |