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
Anonymous
Not applicable

DATESMTD Returning BLANK

I'm having an issue with calculating using DATESMTD, I have followed the Syntax correctly (from the documation) but I'm still getting a blank, 

 

I can get the desired result in table using a relative date slicer but I need this in a measure as I'm using it as part of a calculation Group.

 

MTD Error.JPG

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , as you are not using any filter on the page. The last date datesmtd will get the last date of the calendar as end date of MTD. That is the reason it is blank

Please expound on this. Does it mean we should add a filter? or a slicer?

@amitchandak 

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.