Forum Discussion
Richard77
3 years agoResolver I
Getting first year based on text column
Hi all, I've been browsing the forum for a while now but haven't found a solution (nor have I been capable of adapating solutions offered on other topics so that it helps me out), so I hope you can h...
- 3 years ago
the issue is once you have a max member numbers, you also next to get the max year then you can use that to get the max year.
Max Lookup =
VAR maxValue =
CALCULATE ( MAX ( data[Members] ), ALLEXCEPT ( data, data[ID] ) )
VAR maxyear =
CALCULATE (
MAX ( data[year] ),
ALLEXCEPT ( data, data[ID] ),
FILTER ( data, data[Members] = maxValue )
)
RETURN
IF ( data[Members] = maxValue && data[year] = maxyear, "MAX" )
vanessafvg
3 years agoCommunity Champion
are you able to share some sample data?