Forum Discussion
Grevatious
6 years agoFrequent Visitor
Get the last delivery date
Hello everyone, I need some help! I have two tables. The first one has all of the order description and client information and the other shows all the information regarding the delivery of each o...
- 6 years ago
Hi Grevatious ,
Would you please refer to the following measure:
last delivery date = CALCULATE ( MAX ( 'Delivery Information'[Delivery Date] ), ALL ( 'Delivery Information' ), 'Delivery Information'[Order] IN DISTINCT ( Orders[Order] ) )If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
amitchandak
Super User
6 years agoUse this measure in you table to display the date
Measure =
VAR __id = MAX( 'Table'[Orders] )
VAR __date = CALCULATE ( MAX( 'Table'[Delivery date] ), ALLSELECTED ( 'Table' ), 'Table'[Orders] = __id )
RETURN CALCULATE ( MAx ( 'Table'[Delivery date] ), VALUES ( 'Table'[Orders] ), 'Table'[Orders] = __id, 'Table'[Delivery date] = __date )