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! Get ahead of the game and start preparing now! Learn more
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! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 40 | |
| 35 | |
| 34 | |
| 31 | |
| 28 |
| User | Count |
|---|---|
| 137 | |
| 102 | |
| 71 | |
| 67 | |
| 64 |