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!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.