Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 you.
Thanks
Solved! Go to Solution.
I believe that PBI is seeing "" as a string, even though it is empty. Try using:
IF(ISBLANK('Table'[Field]), "if true", "if false")
hi, @Anonymous
In power bi, just try this formula
IF(Deals[Deal·Deal closed on].[Date]=BLANK(),"Open",IF(Deals[Deal·Won time].[Date]=BLANK(),"Lost","Won"))
or
IF(ISBLANK(Deals[Deal·Deal closed on].[Date]),"Open",IF(ISBLANK(Deals[Deal·Won time].[Date]),"Lost","Won"))
Best Regards,
Lin
I believe that PBI is seeing "" as a string, even though it is empty. Try using:
IF(ISBLANK('Table'[Field]), "if true", "if false")
I will try and let you know later!!
Thanks for quick reply 🙂
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
93 | |
77 | |
65 | |
53 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |