web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Sort Collections alpha...
Power Apps
Unanswered

Sort Collections alphabetically and Get the first row

(0) ShareShare
ReportReport
Posted on by 182

The collection name is colSelectedChecklist and Column Name is EHSCheckList.

2021-06-29_17-15-51.png

Using the following  formula, I can get the first row  of the collection. But it is not in alphabetical order.

First(colSelectedChecklist).EHSCheckList.Result

 

Tried below Sort/SortColumn formulas. But it is not working.

 

Sort(colSelectedChecklist,EHSCheckList,Ascending)

First(Sort(colSelectedChecklist,EHSCheckList,Ascending))

SortByColumns(Distinct(colSelectedChecklist,EHSCheckList),"Result",Ascending))

 

 

 

Categories:
I have the same question (0)
  • zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    First(SortByColumn(colSelectedChecklist,"EHSCheckList",Ascending))

  • Sajith Profile Picture
    182 on at

    Getting the following error for - First(SortByColumn(colSelectedChecklist,"EHSCheckList",Ascending))

     

    2021-09-21_12-59-07.png

  • IPC_ahaas Profile Picture
    1,387 Moderator on at

    Did you ever get this working?

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 76 Most Valuable Professional

#2
Haque Profile Picture

Haque 69

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard