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 / Gallery Filter for ite...
Power Apps
Answered

Gallery Filter for items created today

(0) ShareShare
ReportReport
Posted on by 5,836 Moderator

In my app I am working directly with the data source, no interim collection is necessary.   In my gallery I only want to display the items that were created by the current user and created today.

 

I have tried this solution:  https://powerusers.microsoft.com/t5/Building-Power-Apps/Filter-gallery-to-show-results-created-today/m-p/89589#M33895 but find that it's not working and it's not delegable.

 

This is my Gallery filter:

 

Filter('Conference Rooms', 'Created By'.Email = User().Email && IsToday(Created))

 

If I just use the Created By part of the filter it works fine but when I add the IsToday, then nothing is displayed.

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @JR-BejeweledOne 

    Shouldn't it be IsToday('Created On')?

  • JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    'Created On' isn't an option.    This is the default Created field that was there when the list was created.

     

    created.jpg

  • Verified answer
    JR-BejeweledOne Profile Picture
    5,836 Moderator on at

    I finally solved this.  What I had to do was to create 2 variables in the Visible property of my start screen.

     

    UpdateContext({ cvStartDateTime: $"{Today()} 12:00:00 AM", cvEndDateTime: $"{Today()} 11:59:59 PM" })

     

    Then I filter my gallery like this:

     

    Filter('Conference Rooms', (Created > DateTimeValue(cvStartDateTime) && Created < DateTimeValue(cvEndDateTime)) && 'Created By'.Email = User().Email)

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

#2
11manish Profile Picture

11manish 201 Super User 2026 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 128 Super User 2026 Season 2

Last 30 days Overall leaderboard