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 / Question - Only show i...
Power Apps
Answered

Question - Only show items in gallery of todays date

(0) ShareShare
ReportReport
Posted on by

Hi, 

 

I have an app which is for internal audits/pre start up checks. I have one sheet that is a pre start up check and a gallery on the left sidebar for the list of completed ones. However, i only want to show the items with todays date. 

 

PowerNovice_0-1699956646547.png

 

 

Thank you,

Matt

Categories:
I have the same question (0)
  • Verified answer
    QuentinDURIEZ Profile Picture
    577 Moderator on at

    Hi, 

    If you're using the field CreatedOn (or any other system filled field), you can filter by using this formula as an example : 

    Filter([DATASOURCE] , [DATE] >= Today() And [DATE] < DateAdd(Today() , 1) )

     

    Using Today() will return to today date, instead of Now() which will return today date AND time.

     

    Then, we compare the date field where date >= 2023-11-14 AND date < 2023-11-15 (for today), so you will have all items created beteewen 00h01 and 23h59 today 

     

    Regards

  • PowerNovice Profile Picture
    on at

    Hi, 

     

    Im sorry, this code will be within the default property for the gallery? 

     

    Im sorry, im still pretty new to PowerApps.

  • QuentinDURIEZ Profile Picture
    577 Moderator on at

    This code will be in the property "Items" of your gallery, this is the property PowerApps use to query the data shown in your gallery

    Here is some documentation for the "Filter" formula if you need : https://learn.microsoft.com/en-us/power-platform/power-fx/reference/function-filter-lookup 

    And a another documentation about what a gallery is and its properties : https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/controls/control-gallery

     

    Regards,

  • PowerNovice Profile Picture
    on at

    @QuentinDURIEZ Thank you! 

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 474

#1
Valantis Profile Picture

Valantis 474

#3
WarrenBelz Profile Picture

WarrenBelz 375 Most Valuable Professional

Last 30 days Overall leaderboard