Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi there,
I've created a dax statement that returns a date given a that a has filtered down to 1 row. However, when it returns, it displays a format rather than an actual date. I'm trying to display this on a card - when use the date as a field on the card alone it displays fine.
Here is the dax code below, any thoughts on what might be wrong?
Disp_DateOrCount_explore = VAR countTitle = count(SharkTankRegister[Title])
RETURN
IF(countTitle=1, MIN(SharkTankRegister[Date Implemented]), countTitle & " Sharktanks Presented")
Solved! Go to Solution.
@Anonymous , This will become text data type measure, should display date
try like
Disp_DateOrCount_explore = VAR countTitle = count(SharkTankRegister[Title])
RETURN
IF(countTitle=1, format(MIN(SharkTankRegister[Date Implemented]),"MM/DD/YYYY"), countTitle & " Sharktanks Presented")
change format as per need
@Anonymous , This will become text data type measure, should display date
try like
Disp_DateOrCount_explore = VAR countTitle = count(SharkTankRegister[Title])
RETURN
IF(countTitle=1, format(MIN(SharkTankRegister[Date Implemented]),"MM/DD/YYYY"), countTitle & " Sharktanks Presented")
change format as per need
Solved! Using FORMAT() function seems to fix it
Check out the September 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
109 | |
97 | |
95 | |
38 | |
36 |
User | Count |
---|---|
151 | |
125 | |
75 | |
74 | |
53 |