Forum Discussion
BenBlackswan
Helper V
2 years agowhy can't I use string in IF statement?
I have the following measure LastReviewDate = if(isblank(max(FactPerformanceRating[ReviewDate])), "No Review Yet", max(FactPerformanceRating[ReviewDate]) ) R...
- 2 years ago
Hi BenBlackswan
I think card visual only takes the output of the same data type. So for example, in your original formula, the data type can be either date format or string format.
If you tweak your formula like below, it will produce your required output.
I also attach the pbix file for your reference.
Best regards,
DataNinja777
Super User
2 years agoHi BenBlackswan
I think card visual only takes the output of the same data type. So for example, in your original formula, the data type can be either date format or string format.
If you tweak your formula like below, it will produce your required output.
I also attach the pbix file for your reference.
Best regards,