Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
mahendi
Helper I
Helper I

subtotal missing for running total in matrix

The subtotal cell remians empty for running totals if there is no value in that category.

I tried using the cross join method but it adds all the sub categories in all the categories, I dont want to mix up the sub categories.

 

mahendi_0-1606030358474.png

mahendi_1-1606030383502.png

 please suggest a solution.

6 REPLIES 6
Icey
Community Support
Community Support

Hi @mahendi ,

 

I can't reproduce your issue. Please check the reason why the record of "2.3.2" disappeared.

categories.JPG

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

@Icey  I intentionally took that record out to illustrate the issue. if you remove the record, the subtotal goes blank, as I am using running total, the total should remain 1 and not blank. Please advice a solution.

Icey
Community Support
Community Support

Hi @mahendi ,

 

Sorry to reply late.

I find the cause: there is no record of "Category 2 in January".

You need to create another Category table with all categories and another Dates table with all months. Then, create relationship among the three tables. Finally, use the column "Category" from the new Category table, the column "Month" from the new Dates table, and you will get what you want.

 

 

Best regards

Icey

 

If this post helps, then consider Accepting it as the solution to help other members find it faster.

 

 

@Icey  Doesnt work. sorry.

Icey
Community Support
Community Support

Hi @mahendi ,

 

What's your DAX expression of the measure/column used in "Value" field of the Matrix visual?

 

 

Best regards

Icey

 

@Icey  I used quick measure running total.

 

Amount running total in Category =
CALCULATE(
    SUM('Sheet1'[Amount]),
    FILTER(
        ALLSELECTED('Sheet1'[Category]),
        ISONORAFTER('Sheet1'[Category], MAX('Sheet1'[Category]), DESC)
    )
)

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Users online (2,924)