Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
Hi - I am stuck on how I can get the max date based on the rows in a table :
I'd like to be able to identify that max date row as 1 and the rest as 0.
Beent trying using earlier but doesn't seems to work - any help greatly appreciated.
Solved! Go to Solution.
Hi,
Write this calculated column formula
Flag of max date = 1*(Data[Effective Date]=calculate(max(Effective date),filter(Data,Data[Employee ID]=earlier(Data[Employee ID])))
Hope this helps.
You are welcome.
Hi,
Write this calculated column formula
Flag of max date = 1*(Data[Effective Date]=calculate(max(Effective date),filter(Data,Data[Employee ID]=earlier(Data[Employee ID])))
Hope this helps.
pls show expected output
User | Count |
---|---|
94 | |
86 | |
78 | |
68 | |
63 |
User | Count |
---|---|
113 | |
99 | |
97 | |
64 | |
59 |