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 / PowerApps Gallery Sort...
Power Apps
Unanswered

PowerApps Gallery Sort by value instead of text

(0) ShareShare
ReportReport
Posted on by

I have a gallery and I am sorting it by a column called "Amount".

 

The problem is it is treating "Amount" as text rather than a value.  So all of my values starting with 9 come first then, 8, 7,6.

 

I need to sort by value, so that the largest amount comes first.  Any ideas?

 

andrewseaman_1-1607626196645.png

andrewseaman_2-1607626281132.png

 

 

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    Hi @Anonymous 

    Change your SortByColumns to just Sort, remove the double quotes from amount and make it amount*1.  That will convert amount from a text to a number.   I like to use *1 instead of wrapping it with Value(), it's a more concise way of doing the conversion. and easier to follow in long formulas. 

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 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard