Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
Hello Guys ! I am using this formula in Power query but it showing only else value
if [Date Closed]="null" and [Critical Defect]0 then 1 else 0
Solved! Go to Solution.
if [Date Closed] is null and [Critical Defect] = 0 then 1 else 0
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
if [Date Closed] is null and [Critical Defect] = 0 then 1 else 0
| Thanks to the great efforts by MS engineers to simplify syntax of DAX! Most beginners are SUCCESSFULLY MISLED to think that they could easily master DAX; but it turns out that the intricacy of the most frequently used RANKX() is still way beyond their comprehension! |
DAX is simple, but NOT EASY! |
Thankyou so much but why = was not working and please adivse the if formula for date Column.thanks
Perhaps the contents of the cell is actually null and not a string containing null. Try removing the quote marks around null.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.