Skip to main content

Notifications

Community site session details

Community site session details

Session Id : VEenfuP3Hw+yM99mxssVIp
Power Pages - General Discussions
Answered

Combobox Filter, Search and Sort

Like (1) ShareShare
ReportReport
Posted on 8 Apr 2025 17:33:53 by 948
I have a Combobox that is getting the values from another SharePoint list.  The functions I currently have work as expected, but would like the Combobox values to be sorted ascending.  NOTE:  My data is a large data set.
 
My ComboBox fields are:
 
My items function is:  
Filter(Employees, EmpStatus.Value = "Active", StartsWith(Employee, Self.SearchText))
 
My defaultselecteditems is:
If(!IsBlank(SharePointIntegration.Selected), LookUp(Employees, EmployeeEmail.Email=ThisItem.EmployeeEmail))
Categories:
  • kmw1130 Profile Picture
    948 on 08 Apr 2025 at 18:36:04
    Combobox Filter, Search and Sort
     
    That worked great!  Thank you!
  • Verified answer
    GabGadou Profile Picture
    653 on 08 Apr 2025 at 17:56:58
    Combobox Filter, Search and Sort
    Hi,
     
    You simply use Sort on your 'items' property of combobox:
    Sort(Filter(Employees, EmpStatus.Value = "Active", StartsWith(Employee, Self.SearchText)), txtEmployeeEmail)
     
    you can use another field onstead of txtEmployeeEmail if you want. If you need 'Descending', you add SortOrder.Descending as third argument for Sort function.

    I hope it helps!
    _________________________________________________
     
    Please click Does this answer your question if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it a Like.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Pages - General Discussions

#1
WarrenBelz Profile Picture

WarrenBelz 9 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 7 Super User 2025 Season 1

#3
Fubar Profile Picture

Fubar 6 Super User 2025 Season 1

Overall leaderboard
Loading started