As you can see the set currently displays the last 12 quarters based on the user selection, which I want to keep.
Now I have to work with Value1YTD and Value2YTD, So I need a set expression that would find the Max(MonthId) in each quarter to return the last month, then another set to identify the month number.
I tried this, but it only returns the last month reported, not all max months per the Quarter dimension.