Hi Everyone!
can someone help me solve it?
For Example, I have SharePoint List that is:
The gallery result is:

Hi Everyone!
can someone help me solve it?
For Example, I have SharePoint List that is:
The gallery result is:
Clear(colDetails);
Collect(colDetails,
{
ID:1,
Title:"TitleA",
Date:Today()-12
},
{
ID:1,
Title:"TitleA",
Date:Today()-10
},
{
ID:1,
Title:"TitleB",
Date:Today()-11
},
{
ID:2,
Title:"TitleD",
Date:Today()-5
},
{
ID:2,
Title:"TitleE",
Date:Today()-1
},
{
ID:2,
Title:"TitleE",
Date:Today()
},
{
ID:3,
Title:"TitleE",
Date:Today()-3
},
{
ID:3,
Title:"TitleA",
Date:Today()-1
}
);
Collect(colgroup,AddColumns( GroupBy(colDetails,"ID","Title","GrpID"),"LatestDate",First(SortByColumns(GrpID,"Date",SortOrder.Descending)).Date))
you can refer this code
Please click Accept as solution and Thumbs Up. if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
You can connect with me on LinkedIn