Forum Discussion

JK-1's avatar
JK-1
Icon for Helper II rankHelper II
1 year ago
Solved

Date string list - ascending order

Very novice here. Be gentle 🙂 Thanks   I have a number of dates that are already sorted in column being referenced but when concat in new string they aren't given in Ascending order. Certs stri...
  • hnguy71's avatar
    1 year ago

    Hi JK-1 ,
    You should be able to use the ORDER BY optional parameter in the concatenatex function. This should work:

    CONCATENATEX(FILTER(Site, Site[Site No] = EARLIER(Site[Site No])), [Effective Date], ";", [Effective Date], ASC)

     
    Notice the second "Effective Date" field. We're using it to tell the expression to sort by the effective date in ascending order.