Hi,
I am looking for a way to get the recent date out of multiple previous due dates. I tried sorting but it does not give the latest date out of all old dates
` CASE WHEN
instr(
[Measures].[Issue Estimated QA completion Date old values], ","
) > 0
THEN
Generate(
Filter(
-- get relevant dates from Time dimension
[Time].CurrentHierarchy.Levels("Day").Members,
AnyDateInPeriod(
[Measures].[Issue Estimated QA completion Date old values],
[Time].CurrentHierarchyMember
)),
-- apply the new formatting
Format([Time].CurrentHierarchyMember.StartDate, 'MMM dd yyyy'),
", ")
ELSE
Format(DateParse([Measures].[Issue Estimated QA completion Date old values] ), 'MMM dd yyyy')
END`