Forum Discussion
ajinkya1907
8 years agoHelper II
Problem in selecting Max date
I have a table "matches" with below shown columns I have created calculated field Max_date = MAX(matches[date]) I have created a filter based on year. I want team1 value to be di...
- 8 years ago
Try this MEASURE to get the TEAM1 on maximum date
Team1 On MaxDate = CALCULATE ( FIRSTNONBLANK ( Matches[Team1], 1 ), FILTER ( ALL ( Matches[Date] ), Matches[Date] = MAX ( Matches[Date] ) ) )
Zubair_Muhammad
8 years agoCommunity Champion
Try this calculated column to get the Runner Up Name
RunnerUp =
EXCEPT (
UNION (
ROW ( "Myteams", CALCULATE ( VALUES ( Matches[Team1] ) ) ),
ROW ( "Myteams", CALCULATE ( VALUES ( Matches[Team2] ) ) )
),
ROW ( "Myteams", CALCULATE ( VALUES ( Matches[Winner] ) ) )
)Zubair_Muhammad
8 years agoCommunity Champion
So if you have three Columns already for Teams 1 and 2 and winner. This will give you the Runner Up Name