Forum Discussion
raphazzz
3 years agoHelper I
How to return Blank using a IF statement that should return a date?
Hello Friends,
I have the following DAX formula that does not allow me to return blank, even if I omit the argument when the value if false (I got an error saying that Argument "3" is required).
If I add the "" for the value if false, I got the error saying "Expressions that yield variant data-type cannot be used to define calculated columns".
If I simply add 0 for the value if false, when I convert the column to date, I got a not desired date.
1 Reply
- Greg_DecklerCommunity Champion
raphazzz Use BLANK() instead of "". BLANK() returns a value that does not have a data type where-as you are trying to mix a date with a text value.