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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Dropdown and Combobox ...
Power Apps
Unanswered

Dropdown and Combobox not sorting

(1) ShareShare
ReportReport
Posted on by 518 Moderator
Hello
I have a custom page (canvas app) in a model driven App.
I want to sort the items in a dropdown (modern control) or a combobox (classic control).
Into items i put
SortByColumns(Filter(Themen_mit_Budgets,Projekt.Projekt=txt_aktProjekt.Selected.Projekt),"cr8ec_budget",SortOrder.Descending)
 
Anyway the sorting is ignored.
Any idea what could case the problem?
Categories:
I have the same question (0)
  • ANB Profile Picture
    7,250 Super User 2026 Season 1 on at
    Hi @SLMR,
     
    Have you tried using Distinct?
     
    Try this:
     
    SortByColumns(Distinct(
        Filter(
            Themen_mit_Budgets,
            Projekt.Projekt = txt_aktProjekt.Selected.Projekt
        ),
            cr8ec_budget
    ), "cr8ec_budget", SortOrder.Descending)
    If the "cr8ec_budget" gives you an error, try "Value" instead.
     

    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.


    Thanks,
    ANB
  • SLMR Profile Picture
    518 Moderator on at
    Hi ANB
    (i can not select the user with at).
    That will not solve my problem, as i do not want to get the distinct values of buget.

    the table Themen_mit_budgets contains the columns:
    projekt (lookup to projekt)
    display (a text to be displayed)
    budget (a number value)
     
    The dropdown box is part of a gallery
    Dependend on the project of the gallery item, the items to be displayed should be filtered by projekt.
    Futher sorted by the column budget
    and the column display should be visible in the dropdown box.
     
    It is working so far that the values are filtered and right values are displayed in the dropdown box.

    But the valeus are not sorted

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 549 Most Valuable Professional

#2
Kalathiya Profile Picture

Kalathiya 225 Super User 2026 Season 1

#3
Haque Profile Picture

Haque 224

Last 30 days Overall leaderboard