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
Adams_Apple
Frequent Visitor

Help with TOTALMTD

I'm hoping you guys can help me yet again. I've dived through all the other TOTALMTD posts and haven't had any luck.

I am trying to setup a line chart that shows the running total each month. The data is only posted once a week, so I need to filter out the dates between Today and the Post date. I can get the running total to work, but anytime I add in the filter it destroys the running total chart.

 

Measure:     (I've tried wrapping it in CALCULATE and several other approaches, seems to be the same result)

Labor Amount MTD = TOTALMTD(SUM('Labor'[Labor Amount]), 'Ref - Dates'[Date], FILTER('Ref - Dates','Ref - Dates'[Date] <= [Last Posting Date]))

 

Adams_Apple_0-1743464629582.png

If I remove the Filter, it works:

Labor Amount MTD = TOTALMTD(SUM('Labor'[Labor Amount]), 'Ref - Dates'[Date])//, FILTER('Ref - Dates','Ref - Dates'[Date] <= [Last Posting Date]))

Adams_Apple_1-1743464733146.png

 

 

Thank you!

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

Restrict the last date of the Calendar table till today's date.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

4 REPLIES 4
v-echaithra
Community Support
Community Support

HI @Adams_Apple ,

We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

Regards,
Chaithra E.

v-echaithra
Community Support
Community Support

Hi @Adams_Apple ,

As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

 

Regards,

Chaithra E.

v-echaithra
Community Support
Community Support

HI @Adams_Apple ,

We wanted to kindly follow up to check if the solution provided for the issue worked? or Let us know if you need any further assistance?
If our response addressed, please mark it as Accept as solution and click Yes if you found it helpful.

Regards,
Chaithra E.

Ashish_Mathur
Super User
Super User

Hi,

Restrict the last date of the Calendar table till today's date.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

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
Top Kudoed Authors