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 Where D...
Power Apps
Answered

Filter Gallery Where Date Greater Than or Equal To

(0) ShareShare
ReportReport
Posted on by 99

I'm struggling with something that I thought would be relatively simple. 

 

  • I have a SharePoint list of Approved Campaigns.
  • This list contains two date columns CampaignStartDate and CampaignEndDate
  • These columns are both Date/Time columns and are set to only store Date
  • I'm trying to create a gallery that filters the Approved Campaigns based on the start date being greater than or equal to 4/1/2021.
  • In my screen's OnVisible property, I'm creating a collection like so:
ClearCollect(ColApprovedCampaigns, 'Approved Campaigns')​

 

  • I have confirmed that the collection is created successfully and that the CampaignStartDate and CampaignEndDate columns are present in the collection.
  • In the gallery filter, I'm trying to filter the collection like so:
Filter(ColApprovedCampaigns, CampaignStartDate>=4/1/2021)
  • It doesn't give me any errors, but it also does not filter my gallery, it just displays all of the records.

 

I've tried a number of things to resolve this, but can't figure it out. Hoping someone can shed some light! Any help is greatly appreciated!

Categories:
  • Verified answer
    zmansuri Profile Picture
    6,048 Super User 2024 Season 1 on at

    Filter(ColApprovedCampaigns, CampaignStartDate>=DateValue("4/1/2021"))

  • KvB1 Profile Picture
    1,596 on at
    4/1/2021

     

    This would read as a numerical operation, eg it will return 0,002ish

  • tsparkman Profile Picture
    99 on at

    @zmansuri -- thank you SO MUCH! I knew this was simple, but it wasn't to me 😀 This worked perfectly!

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard