Forum Discussion
timurcakin
Helper I
3 years agomultiply column and a measure - wrong total
Hi There, i am trying to multiply the total quantity of the items with the number of orders (frequency) but in second screenshot total is 190 instead of 86 (64+22) can you ...
- 3 years ago
keinshah
Helper I
2 years agoI want the total replenishment cost to show the sum of indivudual costs and not as a product of total unit cost and total re -order quantity. how do I solve it?
Ashish_Mathur
Super User
2 years agoHi,
This pattern should work
Measure = SUMX(VALUES(DATA[Item No.]),[Replishment cost])
- keinshah2 years ago
Helper I
thanks a lot. that worked.
- Ashish_Mathur2 years ago
Super User
You are welcome.
- keinshah2 years ago
Helper I
I managed to get the calculation. however, the sum is not showing correct. any ideaas?
- keinshah2 years ago
Helper I
In the same table, I want to calculate replishment cost only if Purchase = YES. What would be the best way to do it?
- Ashish_Mathur2 years ago
Super User
Share the download link of the file and show the expected result clearly.
- keinshah2 years ago
Helper I
Replenishement cost = reorder quantity * unit cost. But only calculate if Purchase = YES. Blank if purchase = NO and show the sum of the total replenishment cost at the bottom.