Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I am using an IfError statement in DAX
"IFERROR('PFEP'[Actual Inventory Level]-'PFEP'[Planned Inventory Level], BLANK())"
However, when Planned Inv. Level is blank, it is not being read as an error and therefore does not retrun blank but performs the subtraction as if Planned Inv. Level is 0 which I do not want it to do.
I tried fixing it by putting "IF(OR('PFEP'[Actual Inventroy Level]=BLANK(), 'PFEP'[Planned Inventory Level]=BLANK()), BLANK(), ...."
But in this case, 0 is read as blank for Actual and planned inventory level.
How can I solve thsi issue?
Solved! Go to Solution.
Hi @Anonymous ,
Use this judgment condition alone, otherwise it does not work.
Column = IF('Table'[Value]=BLANK(),0,'Table'[Value])Column = IF('Table'[Value]=0,BLANK(),'Table'[Value])
not work:
If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
Use this judgment condition alone, otherwise it does not work.
Column = IF('Table'[Value]=BLANK(),0,'Table'[Value])Column = IF('Table'[Value]=0,BLANK(),'Table'[Value])
not work:
If the problem is still not resolved, please provide detailed error information and test data. Looking forward to your reply.
Best Regards,
Henry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 86 | |
| 69 | |
| 37 | |
| 29 | |
| 26 |