Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Value for the last row

Hi everyone,    I want to have the last date, before the value in another column changes.  However, the country Argentina should be ignored. So, I want to have a calculated column (with 1 for exam...
  • Anonymous's avatar
    Anonymous
    3 years ago

    Greg_Deckler  It is solved!

    To avoid that a transfer wouldn't be visible due to a transfer to the same club by another player, I added a filter for Player. 

     

    So, I extended the VAR __Max: 

    VAR __Squad = [Squad]
    VAR __Player = [Player]
    VAR __Max = MAXX(FILTER('AllPlayers',[Player] = __Player && [Squad] = __Squad),[Date])
     
    And that did the trick. Thanks for your initial measurement; that gave me the inspiration to work it out further.