Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hi
I'm using calculation groups in Power BI Desktop, but I've found out that subtotals are not displayed (which does make sense as you wouldn't want to add together Current and PY totals for example).
The specific issue I have is that I want a matrix that displays months on the rows, and then categories and a time intelligence calculation group on the columns. I then want to expand the columns at all levels so that you have something like this:
| Month | Category A | Category B | Total | |||
| Current | PY | Current | PY | Current | PY | |
| Jan | 345 | 356 | 857 | 812 | 1202 | 1169 |
| Feb | 395 | 313 | 837 | 742 | 1232 | 1055 |
| Mar | 467 | 387 | 859 | 749 | 1326 | 1136 |
| Apr | 364 | 346 | 794 | 764 | 1158 | 1110 |
The problem is that in Power BI Desktop, I can't get the last two columns to display. Does anyone know if it's possible, or if there's a workaround somehow?
Duncan
Hi I wanted to know if a solution was found ? thanks
I ran into this same issue today (3 years later) and managed to find a workaround, which is: more calculation groups. To solve my problem, I just added a new calculation group where each calculation item is
Item = CALCULATE(SELECTEDMEASURE(),[Category] = "Item")
with one total category which is just
Total = SELECTEDMEASURE() --(or using a CALCULATE() to aggregate specific categories together)
I was then able to add this as well as other calculation groups as different levels of a matrix column hierarchy.
This workaround assumes two things: 1, that you have a manageable number of different categories to work with and 2, that your categories are static enough that you don't need to constantly update the calculation group. It doesn't appear that you can individually format calculation items, so this still won't look like the default Totals column, but at least the numbers are there.
Hi @DuncanP,
Have you found a solution by any chance? I am running into the same problem. Calculation Groups work fine, but as soon as I put them in a Matrix as a second column, the totals disappear. Which as you stated makes sense for the individual measures. But for the categories (first column) it does make sense to show the grand total per calculation item.
Did you solve this?
Hi @DuncanP
If you are using a Matrix visual, it is easy. In Format pane, under Subtotals, turn on Column subtotals.
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @v-jingzhang
Thank you for replying, but unfortunately that doesn't work for calculation groups, and in fact the option is missing altogether!
In my example, Current and PY are two calculation items in a calculation group.
Duncan
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 38 | |
| 36 | |
| 33 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 129 | |
| 88 | |
| 79 | |
| 68 | |
| 63 |