Forum Discussion
JBG
8 years agoRegular Visitor
highest value by category
Hello everyone!! I am trying to extract the data from the latest date record (ex: for each customer last delivery date & delivered quantitiy) I am able to select the last date but I get...
- 8 years ago
Hi there
This is possibly what you are after?
Measure = CALCULATE ( SUM ( 'Table1'[StorageLevelAfterDelivery(kg)] ), FILTER ( 'Table1', 'Table1'[ShiftEndDate] = MAX ( 'Table1'[ShiftEndDate] ) ) )
GilbertQ
8 years agoSuper User
Hi there
This is possibly what you are after?
Measure =
CALCULATE (
SUM ( 'Table1'[StorageLevelAfterDelivery(kg)] ),
FILTER ( 'Table1', 'Table1'[ShiftEndDate] = MAX ( 'Table1'[ShiftEndDate] ) )
)