Forum Discussion

ajinkya1907's avatar
ajinkya1907
Helper II
8 years ago
Solved

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...
  • Zubair_Muhammad's avatar
    8 years ago

    ajinkya1907

     

    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] ) )
    )