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

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Sort Combo in Ascending

(1) ShareShare
ReportReport
Posted on by 254

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

I have the same question (0)
  • Verified answer
    KeithAtherton Profile Picture
    3,690 Most Valuable Professional on at
    Re: Sort Combo in Ascending

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 671 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 424 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 243

Last 30 days Overall leaderboard