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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Does TOTALMTD work with Custom Calendar (4-5-4 calendar)

Hi, I am implementing a retail NRF 4-5-4 calendar as a date dimension for my report and I have modified the measures to fetch from the new calendar rather than the old one. The calendar starts on Feb 3rd 2019 and ends March 2nd 2019 ---> This period = month of February 2019. My MTD column is showing me blanks. There is no value. 

 

DAX Measure: 

 

MTD Sales =
TOTALMTD(
SUM('ERP Sales'[saleAmount]),'Date Dimension'[Date],
'Date Dimension'[Date] < TODAY()
)
 
Please let me know what I can do. Thanks.
 
 
2 REPLIES 2
v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Anonymous,

 

Based on my research, time intelligence functions lile TOTALMTD works based on natural calendar, not work for custom date dimension. Reference: DAX Time Intelligence Functions

 

Regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Anyone have other solutions? My LY MTD and LY YTD is just providing me full month and full year sales rather than the MTD of this year - 1 year ago

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.