Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!
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.
User | Count |
---|---|
128 | |
108 | |
99 | |
65 | |
62 |
User | Count |
---|---|
136 | |
113 | |
102 | |
71 | |
60 |