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! It's time to submit your entry. Live 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.
The Power BI Data Visualization World Championships is back! It's time to submit your entry.
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 60 | |
| 49 | |
| 30 | |
| 25 | |
| 23 |
| User | Count |
|---|---|
| 131 | |
| 103 | |
| 58 | |
| 39 | |
| 31 |