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 Apps
Answered

Sort Galery by ID

(0) ShareShare
ReportReport
Posted on by 302

Hi all,

 

I've trying to sort a gallery by the ID number.  The 'Item' properties already has a filter and when I add a sort everything disappears.

 

Item properties

Filter('Origination Work Requests', ProjectSearch.Text in 'Job Name',

IsBlank(TaskSearch.SelectedItems.Value) Or IsEmpty(TaskSearch.SelectedItems.Value) Or

Status in TaskSearch.SelectedItems

)

 

If I then add the sort either before or after, the gallery contents disappear

Sort('Origination Work Requests','Request ID',decending),

 

Any help would be appreciated.

 

Thanks

 

Craig

Categories:
I have the same question (0)
  • Verified answer
    NandiniBhagya20 Profile Picture
    4,667 Super User 2024 Season 1 on at

    Please try using below formula - 

    Sort(Filter('Origination Work Requests', ProjectSearch.Text in 'Job Name',
    
    IsBlank(TaskSearch.SelectedItems.Value) Or IsEmpty(TaskSearch.SelectedItems.Value) Or
    
    Status in TaskSearch.SelectedItems
    
    ), 'Request ID', Descending)
  • Craig_Cowley Profile Picture
    302 on at

    Thanks @NandiniBhagya20  for the response, this has almost worked.

     

    The first item in the list is now 99, it then goes to the 80s, 70s, 60s, 50s, 40s, 30s, then I get my highest numbered entry which is 250.

     

    I've changed the column in my list from a 'Single line of text' to a 'number' and this works perfectly.

     

    Thanks


    Craig

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard