Forum Discussion
MuppetyMe
Helper I
1 year agoLOOKUPVALUE troubles
I have two tables: Table1 has multiple lines referencing the same ID with teammate names on different dates. On Table2, I want to bring over the teammate name from the most recent date by the ID. Cr...
Anonymous
1 year agoNot applicable
Hi MuppetyMe
Thanks for the reply from parry2k and SachinNandanwar , please allow me to provide another insight:
The following measure is for your reference.
Measure =
VAR _MAXDate = CALCULATE(MAX('Table1'[Date]), 'Table1'[ID] = MAX('Table2'[ID]))
RETURN
CALCULATE(MAX('Table1'[Teammate]), FILTER('Table1', [Date] = _MAXDate))
Output:
Best Regards,
Yulia Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.