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 / Reset Calender Gallery
Power Apps
Answered

Reset Calender Gallery

(0) ShareShare
ReportReport
Posted on by

We have three date filters in our app: a Start Date filter, an End Date filter, and a Date Selection filter using a MonthDayGallery. Users can either select a date range to see relevant items or select a single date from the calendar gallery to see the items specific to that date. The challenge we face is that the MonthDayGallery selection cannot be reset, so users are always limited to the items listed for the selected date. To address this issue, we want to provide users with the option to remove the selection in the calendar gallery, which would enable them to view all items without any date restrictions. Any suggestions how to reset the CalenderGallery

Categories:
  • Verified answer
    v-zhoqian-msft Profile Picture
    Microsoft Employee on at

    Hi @VinothMathaiyan ,

     

    For example, you can set the OnChange property of DatePicker to Set(startDate, DatePicker. SelectedDate)

    Then set Items property of gallery to If(IsBlank(startDate), DataSource, Filter(DataSourcet,DateField>startDate))

    Finally, set the OnSelect property of a button to Set(startDate, Blank())

     

    In this way, by clicking a button, the variable "startDate" will become blank, and the gallery will display all items.

     

     

     

    Best Regards,

    Habsburg Qian

    If this post helps, then please consider Accept it as the solution to help the other members find it.

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 352 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 323

#3
Mohsin Ali Profile Picture

Mohsin Ali 226

Last 30 days Overall leaderboard