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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Running total on stacked column chart - show 0 where blank or previous value by category

Hello everyone,
Have anyone faced with Running total calculation problem in Stacked column when it's showing 0 by category in columns where blank or previous value
 
I have faced with same problem, and couldn't find the right solution,
I would be very thankful for sharing your experience
3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous ,Have tried running total with help from date table.

 

example: Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=max(date[Date])))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak Yes I'm using the exact same measure in my report: Actions YTD = CALCULATE([Total];FILTER(ALLSELECTED(Action_Log[Mon-Year]);Action_Log[Mon-Year] <= MAX(Action_Log[Mon-Year])))

 

But when I put it in stacked column chart by category I get the situation where for last month I don't have one of the 3 category because at that month there wasn't any data related to that category. What I want is to have the same amount for that category as in previous month in such case. Insteaed I get only 2 category out of 3.

I don't know how to solve it, 

Maybe you have any ideas 

Anonymous
Not applicable

@amitchandak Hello Amit, do you know how to solve it? I really need this and honestly have no clue how to solve this inconvenience?

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

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!

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 (27)