Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi,
I need to convert from date to text/string format through dax expression/measure and i tried two functions datevalue and format but these arent working.
Below is the measure for your reference :
Measure = IF(ISBLANK(COUNT(TABLENAME(COLUMNNAME))=0,"CALLS",)),COUNT(TABLE(COLUMN NAME(WHICH IS IN DATE FORMAT))
Can someone please help me with this.
Thanks in advance
Solved! Go to Solution.
@Rup10 , date to text is simple
format([Date], "YYYY MM DD" )
for also give MMM DDD etc
refer for the doc
https://docs.microsoft.com/en-us/dax/format-function-dax
Thanks. It worked for me.
HI @Rup10,
I think you can try to use the format function will help for text conversion.
In addition, what type of format you wanted? If you are confused about the coding formula, can you please share more detailed information to help us clarify your requirement?
How to Get Your Question Answered Quickly
Regards,
Xiaoxin Sheng
@Rup10 , date to text is simple
format([Date], "YYYY MM DD" )
for also give MMM DDD etc
refer for the doc
https://docs.microsoft.com/en-us/dax/format-function-dax
Hi @amitchandak ,
I am trying to create a measure in which i am cusing If condition and i am taking date column as a refernce however its not working for me.
Can you please suggest anything how can i compare my datecolumn in Measure in IF condition where i cannot use any Min, Max, Selectedvalue function :
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
85 | |
83 | |
66 | |
60 | |
57 |
User | Count |
---|---|
188 | |
111 | |
105 | |
78 | |
71 |