Skip to main content

Notifications

Power Apps - Building Power Apps
Answered

Sort Combo in Ascending

(1) ShareShare
ReportReport
Posted on by 252

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

  • Verified answer
    KeithAtherton Profile Picture
    KeithAtherton 3,640 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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,580

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,909

Leaderboard