Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
I have a forumla like this: PER = IF([Expense]=0,BLANK(),[Profit-Expense Ratio %]), but it doesn't work. It stills returns the [Profit-Expense Ratio %]. The expense shows 0, but actually the number is -4.656612873077393e-10. I want PER to be blank when [Expense] is 0. How do I get PER to return blank when [Expense] is 0 or near 0?
Hi @BIuser45
You can try the following code
COLUMN =
IF (
ABS ( [Expense] ) >= 0
&& ABS ( [Expense] ) < 0.5,
BLANK (),
[Profit-Expense Ratio %]
)
Best Regards!
Yolo Zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Please try this formula below.
PER = IF([Expense]>0,[Profit-Expense Ratio %])
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 76 | |
| 38 | |
| 31 | |
| 27 | |
| 26 |