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
Hi, i'm having issues with calculataing the net margin as my cost price is showing a negative figure. Is there a formula i can so a negative product quantity shows zero cost price?
Are you wanting to do this in power query? if so a custom column with some like :
=if [margin]<0 then [cost price] else [margin]
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 19 | |
| 9 | |
| 8 | |
| 7 | |
| 6 |