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 / Sort specific order of...
Power Apps
Answered

Sort specific order of dropdown

(0) ShareShare
ReportReport
Posted on by 2,567

Hi

 

I have a dropdown that uses.

Distinct(CategoryData, 'Main category')

 
Now i want to put in a default value that is not in the list and that works fines, but i want the default value to always be on top even if i sort in descending or ascending.

I have tried creating a collection adding the value in a collection but i don't know how to get my default value to stay always on top.

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

    dropdown property: AllowEmptySelection

  • JimmyW Profile Picture
    2,567 on at

    @cds Thank you but i dont want it to be empty i want the first selection to always say for example All, but currently all falls on place 3

  • Verified answer
    cds Profile Picture
    1,001 on at

    Collect(TheseOptions, Distinct(Filter(CategoryData, 'Main category' = "All")).'Main category')

    Collect(TheseOptions, Distinct(Filter(CategoryData, 'Main category' <> "All")).'Main category'

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard