Forum Discussion
ph
7 years agoHelper I
how to format today function to string/text
Hi All, I am wondering how to format today function to a string/text FORMAT(TODAY();STRING) or FORMAT(TODAY();TEXT) (I tried also with simple and double quotes) but is does not works I didn ...
AlB
7 years agoCommunity Champion
Hi ph
Try for example:
FORMAT(TODAY();"DD-MM-YYYY")
The DAX guide entry for FORMAT does have a link to the supported formats. Check these out:
https://docs.microsoft.com/en-us/dax/pre-defined-date-and-time-formats-for-the-format-function
https://docs.microsoft.com/en-us/dax/custom-date-and-time-formats-for-the-format-function
Please mark the question solved when we get to the solution and consider kudoing if posts are helpful.
Cheers ![]()