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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Formatting data in DAX mesaure

Hey guys, 

 

 

I'm using the following measure:

LastDate = "Up to and including " & LASTDATE('Date'[Date]). 
 
However, when displayed the date is defaulting to format Month/Day/Year. Despite me defaulting it to dd/mm/yyyy in the data tab. Any suggestion on how I can force the format within the dax measure? 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

actually I've got it 😄 

LastDate = "Up to and including " & FORMAT(LASTDATE('Date'[Date]), "dd/mm/yyyy"). Thanks for your help. 

View solution in original post

3 REPLIES 3
vanessafvg
Super User
Super User

have you tried using the format function?

https://docs.microsoft.com/en-us/dax/format-function-dax

also which setting isn't working?




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Anonymous
Not applicable

actually I've got it 😄 

LastDate = "Up to and including " & FORMAT(LASTDATE('Date'[Date]), "dd/mm/yyyy"). Thanks for your help. 
Anonymous
Not applicable

Hi, 

 

Yeah, I've tried this but I'm getting an error. 

 

LastDate = "Up to and including " & FORMAT(LASTDATE('Date'[Date]), "dd/mm/yyyy"))

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors