Forum Discussion
powerbidev123
Solution Sage
1 year agoNeed help with formatting
How can i fix this error.
TIA
Hi powerbidev123 ,
Please try the following instead.
Login Status = IF(Query1[LastLogIn] = BLANK(), "Yet to Login", FORMAT(Query1[LastLogIn], "YYYY-MM-DD"))This ensures that both return values are Text, avoiding type mismatch errors.
Best regards,
2 Replies
- DataNinja777
Super User
Hi powerbidev123 ,
Please try the following instead.
Login Status = IF(Query1[LastLogIn] = BLANK(), "Yet to Login", FORMAT(Query1[LastLogIn], "YYYY-MM-DD"))This ensures that both return values are Text, avoiding type mismatch errors.
Best regards,
- powerbidev123
Solution Sage
Thanks DataNinja777