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 / Filter gallery with it...
Power Apps
Answered

Filter gallery with items with a date after today only

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello

 

I have a drop down list which users select a topic from, then the gallery filters according to available items. Code for the filter is dead simple & works: Filter(MYSHAREPOINTLIST, Dropdownbox.Selected.Value = MODULETITLE).

 

I need to add to this so the filter only shows items in the sharepoint list which are future dated. In the list there is a field with date & time (StartDateTime). 

 

How do I do this?

Categories:
I have the same question (0)
  • Verified answer
    LRVinNC Profile Picture
    2,297 on at

    Try:

    Filter(MYSHAREPOINTLIST, Dropdownbox.Selected.Value = MODULETITLE &&
    Date(Year(StartDateTime), Month(StartDateTime), Day(StartDateTime)) > Today())
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi,

     

    I'm not sure I understood, but you can add an other condition in your filter like Filter(MYSHAREPOINTLIST, Dropdownbox.Selected.Value = MODULETITLE, StartDateTime > Today())

     

    Is that what you wanted ?

     

    Regards 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    That's exactly what I wanted. Thank you very much!

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

#2
11manish Profile Picture

11manish 191 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 122 Super User 2026 Season 2

Last 30 days Overall leaderboard