Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
So I am quite new to Power Bi and have hit a snag. when i include a measure in a string, the date format is wrong. I have checked my regional settings and they are set to Australia. I have tried changing to UK but then it mucks up all of data import and i get an error message. So i thought the best way to fix this is to add date formatting to my card string measure but i'm not quite sure how to do it. (I want the formatting in the string measure card below to be the same as that in the 'date of highest temperature' card. ie 21/07/2016. I have included the two measures below, and because one of them reflects ok in the card, i think i just need to add some sort of formatting statement in the string measure. Can someone help? (I think that all of my background formatting in my date tables is correct)
Here are my measures:
Solved! Go to Solution.
You can use FORMAT( yourExpresion, "dd/mm/yyyy" ) fdunction, obviusly adjust the format to Australia
https://docs.microsoft.com/en-us/dax/custom-date-and-time-formats-for-the-format-function
@tigersandblues , Try like
String measure for card = "Your hottest birthday was "&[Highest temperature selected previous date]&" degrees C on "
& format([Date of highest temperature selected previous date],"dd/mm/yyyy")
@tigersandblues , Try like
String measure for card = "Your hottest birthday was "&[Highest temperature selected previous date]&" degrees C on "
& format([Date of highest temperature selected previous date],"dd/mm/yyyy")
Thanks @amitchandak - that is perfect - exactly what i was looking for.😀
I prob should have been able to work it out myself, but i need to get my head around all this 'nesting' business!
Hi @tigersandblues ,
See if this video helps.
https://www.excelcampus.com/powerquery/power-query-date-errors-settings/
Regards,
Harsh Nathani
Thanks for that @harshnathani . I did have a go at that but it made my file crash when it tried to update.
You can use FORMAT( yourExpresion, "dd/mm/yyyy" ) fdunction, obviusly adjust the format to Australia
https://docs.microsoft.com/en-us/dax/custom-date-and-time-formats-for-the-format-function
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!