Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Error * If statement for date

Hi,  I would like to create If Statement in my 2 Date Columns.  It works well in excel, but in Power Bi, it gives me the error warning.  What should I change to make it work? Hope to hear from yo...
  • ntaylo06's avatar
    7 years ago

    I believe that PBI is seeing "" as a string, even though it is empty. Try using:

    IF(ISBLANK('Table'[Field]), "if true", "if false")