Forum Discussion
Incorrect Measure Totals
Hi, I'm having trouble with a measure giving inconsistent results:
Try the following formula
Available Inventory = SUMX(VALUES ( 'items'[Item_Number] ), CALCULATE ( SUM ('items'[Inventory])))
-
SUMX(VALUES ( 'items'[Item_Number] ), CALCULATE ( SUM ('Sales_Lines'[Quantity on SO])))
8 Replies
- themistoklis
Community Champion
Hello olivere91 ,
Are there any other fields in the table which are not displayed in the image that you sent?
- olivere91
Helper I
Hi there, plenty of rows following the same formula. The only other colums not shown here are Item number and Item description. There is also a filter for item type category.
- themistoklis
Community Champion
Try the following formula
Available Inventory = SUMX(VALUES ( 'items'[Item_Number] ), CALCULATE ( SUM ('items'[Inventory])))
-
SUMX(VALUES ( 'items'[Item_Number] ), CALCULATE ( SUM ('Sales_Lines'[Quantity on SO])))