Forum Discussion
powerbidev123
1 year agoSolution Sage
Need 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
- DataNinja777Super 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,
- powerbidev123Solution Sage
Thanks DataNinja777