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
AW1976NOVA
Post Patron
Post Patron

Change Measure Output to return only the date

Hi,

 

I have a created measure that is currently returing the MM/DD/YYYY HH:MM:SS.  I want it to only return the Date in the format of MM/DD/YYYY and to drop the HH:MM:SS.

 

My measure = 

 
Admin Call Data Refresh Label =
"Call Data Last Updated: " & ( MAX ( 'Call_Data'[Refresh Date] ) )
 
...where 'Call_Data'[Refresh Date] is already in the Power BI short date format.
 
In simple terms, how do I update the DAX of my created measure to return only the date?
1 ACCEPTED SOLUTION
mh2587
Super User
Super User

Admin Call Data Refresh Label ="Call Data Last Updated: " &FORMAT(( MAX ( 'Call_Data'[Refresh Date] ) ),"M/d/yyyy")
//Try This


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



View solution in original post

2 REPLIES 2
mh2587
Super User
Super User

Admin Call Data Refresh Label ="Call Data Last Updated: " &FORMAT(( MAX ( 'Call_Data'[Refresh Date] ) ),"M/d/yyyy")
//Try This


Did I answer your question? If so, please mark my post as a solution!


Proud to be a Super User!




LinkedIn Icon
Muhammad Hasnain



Perfect thank you!

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.