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 Combo in Ascending
Power Apps
Answered

Sort Combo in Ascending

(1) ShareShare
ReportReport
Posted on by 262

Hi,

 

I have a Combo box which lists Part numbers(text), with duplicates.  Is there a way to have a distinct list sorted in Ascending order?

 

Thanks in Advance

Categories:
  • Verified answer
    KeithAtherton Profile Picture
    3,709 Most Valuable Professional on at

    Hi @Skybluekid,

     

    Set the combo box data source Items property to the following.

    You may need to modify the code depending on the name of your collection and column names.

    SortByColumns(
     Distinct(colParts, PartNumber),
     "Value"
    )

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.
    Follow me online.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard