0

In PowerApps, I have a Screen that displays a few SharePoint lists depending on the selection from the prior screen.

On the Gallery in question, the only formula I have in the Items box is this:

Filter(FSDPositions, LanID=selectedItem.LanID)

That way, depending on the person they selected prior, it takes that LanID and displays all their Positions over time.

I am simply needing to Sort those results based on the EndDate column (newest at the top, generally NULL).

Please help!

1 Answer 1

0

You can sort the filtered collection like this:

SortByColumns(Filter(FSDPositions, LanID=selectedItem.LanID), "EndDate", SortOrder.Descending)

Source: Sort and SortByColumns functions

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.