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...
SachinNandanwar
Impactful Individual
1 year agoCreate a calculated column in first table that ranks the record across ID's
Rnk = RANKX (
FILTER (
'Tbl_',
'Tbl_'[Id]= EARLIER (Tbl_[ID])
),
'Tbl_'[Date],
,
DESC,Dense
)
In the second table create a measure that retrieves the top most names across each ID's based on the rank
Recent_TeamMate =
CALCULATE (
MAX ( Tbl_[Name] ),
FILTER ( RELATEDTABLE ( Tbl_ ), Tbl_[Rnk] = 1 )
)