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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
yennhi95zz
Frequent Visitor

Cumulative Total only shows the last number

Hi,

I've check relationship everything but do not get what makes it wrong. I want the cumulative total for each month but this only shows the final number:

 

yennhi95zz_0-1628578570600.png

 

yennhi95zz_1-1628578617479.png

 

Hope anyone could clarify my confusion. Thank you

1 ACCEPTED SOLUTION
yennhi95zz
Frequent Visitor

Thanks guys. I don't really know why it does not work. But I have an alternative way. Instead of using FILTER (ALL ( ... ) etc, I will use DATESYTD like this 

yennhi95zz_0-1628597709065.png

 

View solution in original post

3 REPLIES 3
yennhi95zz
Frequent Visitor

Thanks guys. I don't really know why it does not work. But I have an alternative way. Instead of using FILTER (ALL ( ... ) etc, I will use DATESYTD like this 

yennhi95zz_0-1628597709065.png

 

Tahreem24
Super User
Super User

@yennhi95zz , I created my own sample to calculate running total and it's working fine.

Capture.JPG

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
amitchandak
Super User
Super User

@yennhi95zz , have tried water wall visual for that

 

one way is

M1= SUM(Sales[Sales Amount])

M2 = CALCULATE([M1],filter(allselected(date),date[date] <=eomonth(max(date[Date]),-1) ))//means cumm till last month

 

Now if you plot these two and make m2 as white you will reach till last month

 

Or use M3 in place of M1

M3 =

var _max = maxx(allselected('Date') ,'Date' [Date]))

return

if( max('Date' [Date]) = _max,  CALCULATE([M1],filter(allselected(date),date[date] <=max(date[Date])))  , [M1] )

 

Cumm on M1 in last month

 

 

M4 =

var _max = maxx(allselected('Date') ,'Date' [Date]))

return

if( max('Date' [Date]) = _max, blank(), [M2])

 

use M3 and M4 in visual with m4 as white and try

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.