Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hi all,
I am looking for a solution to calculate the most recent_ready_date if the LOCATION and the PARTNUMBER_SUP is the same
In the last column I mentioned the outcome of the calculation.
Thanks for your help!
John
location | ready_dat | partnumber_sup | most_recent_ready_date |
City | 12/28/2021 | AM171081201 | 12/28/2021 |
City | 9/23/2021 | AM171081201 | 12/28/2021 |
Holland | 11/12/2021 | 120039501SV | 11/12/2021 |
Holland | 7/20/2021 | 120039501SV | 11/12/2021 |
America | 12/27/2021 | AM171081201 | 12/27/2021 |
America | 6/3/2021 | AM171081201 | 12/27/2021 |
Solved! Go to Solution.
@jwi1 , Try a new column like
maxx(filter(Table, [location] = earlier([location]) && [PARTNUMBER_SUP] = earlier([PARTNUMBER_SUP])), [ready_dat])
a nw measure like
maxx(filter(allselected(Table), table[location] = max(table[location]) && table[PARTNUMBER_SUP] = max(table[PARTNUMBER_SUP])), table[ready_dat])
most recent ready date: =
IF (
ISINSCOPE ( Data[location] ),
IF ( COUNTROWS ( Data ) > 1, MAX ( Data[ready_dat] ) )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
most recent ready date: =
IF (
ISINSCOPE ( Data[location] ),
IF ( COUNTROWS ( Data ) > 1, MAX ( Data[ready_dat] ) )
)
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
@jwi1 , Try a new column like
maxx(filter(Table, [location] = earlier([location]) && [PARTNUMBER_SUP] = earlier([PARTNUMBER_SUP])), [ready_dat])
a nw measure like
maxx(filter(allselected(Table), table[location] = max(table[location]) && table[PARTNUMBER_SUP] = max(table[PARTNUMBER_SUP])), table[ready_dat])
User | Count |
---|---|
77 | |
74 | |
62 | |
61 | |
45 |
User | Count |
---|---|
108 | |
100 | |
91 | |
83 | |
61 |