Forum Discussion
powerbidev123
Solution Sage
1 year agoNeed 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
Super User
1 year agoHi 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,