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
Dear all
I want to calculate column with condition. My condition is
Solved! Go to Solution.
Hi @OSS
Create measures
Measure = IF(SUM(Sheet4[income])>0,SUM(Sheet4[income]),0) Measure 2 = SUMX(ALL(Sheet4),[Measure]) Measure 3 = IF(HASONEVALUE(Sheet4[customer no]),[Measure],[Measure 2])
Best Regards
Maggie
Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @OSS
Create measures
Measure = IF(SUM(Sheet4[income])>0,SUM(Sheet4[income]),0) Measure 2 = SUMX(ALL(Sheet4),[Measure]) Measure 3 = IF(HASONEVALUE(Sheet4[customer no]),[Measure],[Measure 2])
Best Regards
Maggie
Community Support Team _ Maggie Li
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 |
|---|---|
| 62 | |
| 54 | |
| 40 | |
| 17 | |
| 14 |
| User | Count |
|---|---|
| 96 | |
| 83 | |
| 36 | |
| 30 | |
| 25 |