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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
JoseHebron
Frequent Visitor

TOTALMTD not working for the current year

I have a table with sales transactions from 1/01/15 thru 11/30/19.  I have a date table that I setup with dates from 1/01/15 thru 12/31/19, relating the invoice date to my date table date ('Dates'[Date]).  I have the following measure:

 

SalesMTD = TOTALMTD(SUM(InvoiceDetail[ExtendedPrice]), 'Dates'[Date])

 

I also have a year slicer on my report.  When I choose 2019, my Sales MTD card shows (blank).  If I choose 2018, I get my Sales MTD number.

 

I have a chart on the report for sales by month and it is showing sales for Nov 2019.

 

Any help for this fool working on the Friday after Thanksgiving would be greatly appreciated!

 

1 ACCEPTED SOLUTION

Filter your date table to 11-29-19.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


View solution in original post

3 REPLIES 3

Hi @JoseHebron ,

 

i think the MTD for Year 2019 is December 2019.

 

If I answered your question, please mark my post as solution, this will also help others.

Please give Kudos for support.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Then I misunderstood the purpose of TOTALMTD.

 

How do I get a Total MTD for the current month that we are in (e.g.Today 11-29-19)?

Filter your date table to 11-29-19.

Did I answer your question?
Please mark my post as solution, this will also help others.
Please give Kudos for support.

Marcus Wegener works as Full Stack Power BI Engineer at BI or DIE.
His mission is clear: "Get the most out of data, with Power BI."
twitter - LinkedIn - YouTube - website - podcast


Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.