Forum Discussion
TomSinAA
Helper IV
6 years agoSelect distinct to get cost
I am trying to create a measure to get the cost for each delivery. My data looks like: Deliver Item Delivery Cost A 1 $1 A 2 $1 A 3 $1 A 4 $1 A 5 $1 B 6 $20 B ...
- 6 years ago
You may try the measure below.
Measure = SUMX ( VALUES ( 'Table'[Deliver] ), CALCULATE ( MAX ( 'Table'[Delivery Cost] ) ) )
v-chuncz-msft
Community Support
6 years ago
You may try the measure below.
Measure =
SUMX (
VALUES ( 'Table'[Deliver] ),
CALCULATE ( MAX ( 'Table'[Delivery Cost] ) )
)