Forum Discussion
Value for the last row
- Anonymous3 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.
Anonymous Try:
Column =
VAR __Squad = [Squad]
VAR __Max = MAXX(FILTER('Table',[Squad] = __Squad),[Date])
RETURN
IF([Date] = __Max,1,0)Greg_Deckler It works perfectly fine 🙂
I thought I would be able to adjust to column to take into account not only one player, but the seven players I have in my table.
But unfortunately, I run up against an another issue. This is the calculated column now:
- Greg_Deckler4 years ago
Community Champion
Anonymous Can you post that sample data as text? Going to be difficult to move forward with this otherwise.
- Anonymous4 years agoNot applicable
Greg_Deckler of course, I have put the data in an Excel-file:
https://docs.google.com/spreadsheets/d/1dmTY3NGRpVXGE4Hxx_8ia8L9Lr-ni4Y1/edit?usp=sharing&ouid=118077823319969530855&rtpof=true&sd=true- Anonymous3 years agoNot applicable
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.