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 / Filtering a Gallery by...
Power Apps
Answered

Filtering a Gallery by Date Ascending.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

So i am making a overtime tracked because i work for a place where if you take off it has to be covered. 

 

i made a form they can fill out then when they submit it it goes to a list which then gets show by a gallery on the app. 

Gallery automatically puts them in the order they were created instead of by the date. 

 

This is what i have so far and it does not work.

 

Sort(Filter('Vacation Log Main', Status.Value = "UnClaimed",Text('Date',"mm/dd/yyyy")=
Text(Today(),"mm/dd/yyyy")),'Date',Ascending)

 

 

 

Any help would be appreciated, you will see the Status.value="UnClaimed" ,  That is because i wanted to separate the galleries' so once someone claims the overtime it goes to a different one. 

 

Categories:
I have the same question (0)
  • Verified answer
    eka24 Profile Picture
    20,925 on at

    I suggest:

    Sort(Filter('Vacation Log Main', Status.Value = "UnClaimed"),'Date',Ascending)

     

    Is the date a Date type or text. Also what is your datasource, sharepoint?

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Valantis Profile Picture

Valantis 491

#2
WarrenBelz Profile Picture

WarrenBelz 407 Most Valuable Professional

#3
11manish Profile Picture

11manish 331

Last 30 days Overall leaderboard