Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.
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 example) when it's the last time the players plays a match.
So, in this example below:
the column should show a 1 when Date = 16-5-2021 and squad Barcelona
Solved! Go to Solution.
@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:
@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:
@Anonymous Can you post that sample data as text? Going to be difficult to move forward with this otherwise.
@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=11807...
@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:
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.