cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Lokamba
Frequent Visitor

Total MTD calculation

Hi Team,

Could you please help me to calculate totalMTD. please see below sample example.

We have data from Jan 1st to Jan 4th, Total MTD is 17, Need to display 17 from Jan 1st  to Jan 4th similar for Feb.

I am trying to use TOTALMTD function, but couldn't get the result.  Please provide some inputs.

Lokamba_0-1618239984603.png

Thank you in advance.

1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

@Lokamba , Try a measure like

this month = CALCULATE(SUM(Table[Value]),DATESMTD(ENDOFMONTH('Date'[Date])))

 

Make sure you use date table



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User IV
Super User IV

@Lokamba , Try a measure like

this month = CALCULATE(SUM(Table[Value]),DATESMTD(ENDOFMONTH('Date'[Date])))

 

Make sure you use date table



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Get Ready for Power BI Dev Camp

Power BI Dev Camp - June 24th

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors