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
My SUMX formula is not working
I want the Runout measure to subtract the Inventory column and the daily usage column. How can I do that? I tried using SUMX function but it's giving me amounts that is not the correct subtraction result.
Column "Inventory" is TotalPhysicalInvent - Delivery Remainder.
Solved! Go to Solution.
@mformagnificent , You are getting this error because daily usage is measure , either convert in calculated column
or use below
Proud to be a Super User! |
|
Hi @mformagnificent ,
Please try this measure:
Runout = SUM ( RunOutTable[Inventory] ) - [Daily Usg]
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
@mformagnificent , You are getting this error because daily usage is measure , either convert in calculated column
or use below
Proud to be a Super User! |
|
@mformagnificent , Try using below measure
Proud to be a Super User! |
|
Daily usage is a measure not a column. When I inserted your formula I get this message. Is there another method we can try? Also, thank you for responding.
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
Check out the November 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 20 | |
| 11 | |
| 10 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 34 | |
| 32 | |
| 19 | |
| 12 | |
| 10 |