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 Apps / Cascading Drop-Down an...
Power Apps
Unanswered

Cascading Drop-Down and Sort Order

(0) ShareShare
ReportReport
Posted on by 11

Hi Folks -

 

Already found some great answers on here along the way so thank you, but I'm currently stuck with this...

 

We have some nice cascading drop-downs on a Power Apps form

 

Based on this article https://www.techmikael.com/2019/01/a-no-nonsense-solution-to-implement.html thanks Mikael 🙏

 

People choose a Business Unit, then relevant Team (connected to a SharePoint list named Team)... here's the form syntax:

 

ForAll(Filter(Team,BU.Id=BuSelector.Selected.Id),{Value:Title, Id:ID})

 

This was all fine until we had to add another item to the list, now in the drop-down for Team the additional list item appears at the end

 

We prefer the items to list alphabetically and have tried various Sort and SortByColumns options in the syntax but can't make it work

 

Does anybody have any suggestions?

 

Thanks, Jim

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,297 Super User 2024 Season 1 on at

    @stubbo 

    Please consider changing your Formula to the following:

    SortByColumns(
     ForAll(Filter(Team,BU.Id=BuSelector.Selected.Id),{Value:Title, Id:ID}),
     "Value"
    )

    I hope this is helpful for you.

  • stubbo Profile Picture
    11 on at

    Thanks Randy, really appreciate your time on this... your solution works perfectly 👍

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard