Forum Discussion
powerbidev123
1 year agoSolution Sage
Need help with formatting
How can i fix this error. TIA
- 1 year ago
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,
- 1 year ago
Thanks DataNinja777
DataNinja777
1 year agoSuper 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,