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 / Creating Gallery with ...
Power Apps
Answered

Creating Gallery with Date Filter and Text Filter

(0) ShareShare
ReportReport
Posted on by 5

Hi there!

 

I have created a gallery which I can filter by text, but I also want to add a date filter. I'm new to PowerApps and any kind of coding really, so any help would be greatly appreciated.

 

I add the date picker, go to OnSelect and then I get confused about what to enter. I've tried putting this in there:

Filter(Gallery1.Selected.'DateofDrop-in'), but I get the red cross on the date picker.

 

Any help?

 

Thanks!

 

Paul.

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    Hi @PabloSpurr ,

    If you want the records to match the selected date, you need this (assuming 'DateofDrop-in' is the field name in the list) on the Items of the gallery.

    Filter(
     YourListName,
     Text('DateofDrop-in',ShortDate)=
     Text(YourDatePickerName.SelectedDate,ShortDate)
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

  • PabloSpurr Profile Picture
    5 on at

    Hi @WarrenBelz 

     

    Just tried that, I've got a 'x' over the date picker itself. Have I missed something?

    PabloSpurr_0-1598269531637.png

     

    PabloSpurr_1-1598269557022.png

     

  • Verified answer
    WarrenBelz Profile Picture
    156,456 Most Valuable Professional on at

    @PabloSpurr ,

    You have Filter(Gallery1.Selected) on the OnSelect of the DatePicker?

    That is an Items property of a gallery or drop-down, not an action to be performed on a trigger. The code I gave you will work on the gallery and is nothing to do with the error.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

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

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard