cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
KReyes
Level: Powered On

Calendar View

How can I filter a second gallery to show the events on the selected day? I have a calendar view gallery set up and I would like to pick a day and show the events for that date in a separate gallery.

3 REPLIES 3
Community Support Team
Community Support Team

Re: Calendar View

Hi @KReyes,

 

Would you please share a screenshot of how you set up the Calendar View Gallery?

 

Mostly we could get the selected result by using Gallery.Selected.FieldName,

 

Assuming you have an Event table a date column within it, then under the items property of the second gallery, the formula should be:

Filter(EventTable, Date = Gallery1.Selected.DateColumn)

Function reference:

Filter function

Gallery usage

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
KReyes
Level: Powered On

Re: Calendar View

screenshot.png

I tried using the suggested formula and it seems that it does not recognize Date? I also tried Filter(Schedule,'2017QAAuditDate' = CalendarView.Selected.Value) and it doesnt show any error, but it does not return any value. I have a table named Schedule with a column named 2017QAAuditDate. I also tried with a weekly calendar view and it does not work either. Any help is greatly appreciated.

ss2.png

Community Support Team
Community Support Team

Re: Calendar View

Hi @KReyes,

 

Take a try with the formula below:

Filter(EventTable, DateTimeValue(2017QAAuditDate) = DateTimeValue(Text(Gallery1.Selected.DateColumn)))

Function reference:

DateTimeValue()

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Platform 24

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

Top Solution Authors
Top Kudoed Authors
Users online (4,994)