Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

Sort and Filter Choice Column

(0) ShareShare
ReportReport
Posted on by 745
Hello everyone,
 
I have a Dataverse choice column values from 1000 to 12000, I was trying to remove the blank choices I get from my combobox on PowerApps and sort the values from 1000 to 12000.
I am using this formula below.
 
Sort(
    Filter(
        Choices([@'Table'].numberic_value),
        !IsBlank(Value)
),
    Value,
    SortOrder.Ascending
)
 
I hope anyone can help
  • Verified answer
    mmbr1606 Profile Picture
    12,121 Super User 2025 Season 1 on at
    Sort and Filter Choice Column
    sorry my bad
     
     
    can u try this:
    Sort(
        Filter(
            Choices([@'Table'].numeric_value),
            !IsBlank(numeric_value.Value)
        ),
        numeric_value.Value,
        SortOrder.Ascending
    )
    
    
    
     
  • Caleb62881177 Profile Picture
    745 on at
    Sort and Filter Choice Column
    @mmbr1606 - I am getting an error  "Value" is an unknown and unsupported function
  • mmbr1606 Profile Picture
    12,121 Super User 2025 Season 1 on at
    Sort and Filter Choice Column
    hey
     
     
    can u try this modification;
    Sort(
        Filter(
            Choices([@'Table'].numeric_value),
            !IsBlank(Value(Value))
        ),
        Value(Value),
        SortOrder.Ascending
    )
    
    if it helped please mark as verified answer

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,700 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,015 Most Valuable Professional

Leaderboard