Hi @Anonymous ,
I assume you are using SharePoint here - try this in the Items of the gallery
With(
{
wFirst:
AddColumns(
GroupBy(
Sort(
SPListName,
ID,
Descending
),
"Title",
"Data"
),
"ID1",
First(Data).ID
)
},
AddColumns(
SPListName,
"FirstItem",
!IsBlank(
LookUp(
wFirst,
ID = ID1
)
)
)
)
and put a checkbox in the Gallery with the Default
ThisItem.FirstItem
Please click Accept as solution 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.
MVP (Business Applications) Visit my blog Practical Power Apps