Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi,
I found an amazing post @Greg_Deckler solving the issue of measure total allows the "Total" to display the sum of the values in the column.
Here is the link to his post: Measure Totals, The Final Word - Microsoft Power BI Community
But it seems he also suggests you have to create separate measures for different columns by saying: "Is it annoying to have to create multiple measures and specifically tailor them to each individual visual? Yes, yes it is."
Now, I am having trouble calculating the measure total at different levels of matrix drilldown using one measure. Here is my example.
This is the data set I used:
This is the single measure:
Single Measure = sum(Table1[Value])-50
These are the measures to calculate measure total for Catory1 and Category2:
Measure Total Category 1 = sumx(values(Table1[Category1]), [Single Measure])
Measure Total Category 2 = sumx(values(Table1[Category2]), [Single Measure])
Unfortunately, it doesn't work.
I named the measure you suggested "Solution". However, that measure only calculates the Single Measure at the lowest level in the table.
When you at the Category1 level, which is the "smallest", it has the result I expect. But it stays the same when I switched to Category2 Level.
User | Count |
---|---|
79 | |
74 | |
44 | |
32 | |
28 |
User | Count |
---|---|
100 | |
93 | |
52 | |
50 | |
48 |