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 / filter gallery by date
Power Apps
Unanswered

filter gallery by date

(0) ShareShare
ReportReport
Posted on by 407

Hi, have an app generated from a sharepoint list. In the gallery the items is set to,
SortByColumns(Filter([@JobRegister], StartsWith(Company, TextSearchBox1.Text)), "Title", If(SortDescending1, Descending, Ascending))

I have a date field named DOE and want the sort icon to show most recent date

The sort icons Onselect is set to UpdateContext({SortDescending1:true})

 

Categories:
I have the same question (0)
  • Jagadeeshk Profile Picture
    457 on at

    Use DOE coulmn in place of title in sort function 

  • Verified answer
    v-albai-msft Profile Picture
    on at

    Hi @Matt383 ,

    As @Jagadeeshk suggested, if you want to sort by DOE column, you should use this column inside your Sort formula. So try to use this formula of your gallery:

    SortByColumns(Filter([@JobRegister], StartsWith(Company, TextSearchBox1.Text)), "DOE", If(SortDescending1, Descending, Ascending))

    Best regards,

    Allen

     

  • v-albai-msft Profile Picture
    on at

    Hi @Matt383 ,

    How are things going? Have you solved your issue?

    Best regards,

    Allen

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

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 310 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 228

Last 30 days Overall leaderboard