Forum Discussion
TomSinAA
Helper IV
6 years agoSelect Distinct
I have a table with deliveries and items in each delivery. I want to get the cost for each delivery but each item has the cost for the delivery. How do I create a measure to get the cost for a deli...
- 6 years ago
Hi TomSinAA ,
Here we go 🙂
Measure = CALCULATE(SUM('Table'[Delivvery cost]),ALLEXCEPT('Table','Table'[Deliver]))
CoreyP
Solution Sage
6 years agoSo, to confirm: the cost of the delivery is represented on each item line, so that the total cost for the delivery is not a SUM of the line costs, but just that one value?
You could write a measure like this:
Delivery Cost = MAX( 'TableName'[Delivery Cost] )
Then build a table vizualization with your delivery field, and delivery cost measure.