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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
bhavana097
Frequent Visitor

Cumulative sum of netbalance

Hello, 
I'm successfully able to do a cumulative sum of netbalnce however, the value is not shown on the table as category data is not there for the given month 
Image for clarification: 
Cumulative actual is shown 0 in the table but the value should be picking up from the previous month + July(ie,  month net balance is zero ) 
expected shown figure 114,422 instead of 0 
however the cumulative total is correct but 0 in table doesn't match the total 

Formula used

 
    CALCULATE(Sum(new_shptransactionscurrentyears[Netbalance])),
               FILTER( ALLEXCEPT(new_shptransactionscurrentyears, new_shptransactionscurrentyears[new_fund], new_shptransactionscurrentyears[new_ieo - index], new_shptransactionscurrentyears[new_board]),
                new_shptransactionscurrentyears[new_postingdate] <= MAX(new_shptransactionscurrentyears[new_postingdate]) ))
 
 

problem.png

 

2 REPLIES 2
bhavana097
Frequent Visitor

Hello @amitchandak 

Doesn't seem to working for me: Can you please guide me in the following case

Cal.pngTable.png

amitchandak
Super User
Super User

@bhavana097 , Join with a date table and create measure like

 

Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(all('Date'),'Date'[date] <=max('Date'[date])))

 

Running Total/ Cumulative: https://www.youtube.com/watch?v=h2wsO332LUo&list=PLPaNVDMhUXGaaqV92SBD5X2hk3TMNlHhb&index=41

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI 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.

Top Solution Authors