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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sort Values In Combo Box
Power Automate
Unanswered

Sort Values In Combo Box

(0) ShareShare
ReportReport
Posted on by 1,265

I have two SP Lists.  One is VehList (Vehicle List) and the other VehInsp (Vehicle Inspection).  VehList contains a text column/field (VehNo) that identifies the Vehicle No.  VehInsp contains a lookup column/field (VehNo) where the user identifies the inspected vehicle.  In VehInsp, the control for VehNo is...Choices([@VehInsp].VehNoLU).  The following shows the Combo Box drop dropdown results.

 

RJF61_0-1687282489886.png

 

My question is, how do I sort the Combo Box values?

 

 

Categories:
I have the same question (0)
  • ChadVKealey Profile Picture
    1,393 on at

    They are being sorted, but as text, not numbers. You need to somehow wrap the values displayed in the "Value" expression to cast them as numbers. As a test, I created a single-column table (called "colNumbers") of the same values from your screenshot. This formula in the Items property of a combobox puts them in numeric order: 

     

    Sort(colNumbers,Value(Value))

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard