Gallery not filtering properly

brendalpzm

Board Regular
Joined
Oct 3, 2022
Messages
59
Office Version
  1. 365
  2. 2021
  3. 2019
  4. 2016
Platform
  1. Windows
I am creating a week view calendar with a vertical gallery,

This gallery is linked to a SharePoint list where I have the date slots until july 20, 2024.

I applied a filter to the gallery to show only the 7 days according to the month showing.

1713282600417.png


The issue is that when I change to the next week, it only shows a few items and the next next week it doesn't show anything, and so on. I notice a pattern that this current week according to today() date and previous ones they do show but the rest don't.
1713282634141.png


The formula I used in the verticall gallery is
Power Query:
(Filter(Slots_ZDP_Pychologistt, DateValue(DateSchedule) <= DateAdd(_FirstDayofWeek+6,ThisItem.Value-1,TimeUnit.Days) &&
DateValue(DateSchedule) >= DateAdd(_FirstDayofWeek,ThisItem.Value-1,TimeUnit.Days)))
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.

Forum statistics

Threads
1,223,880
Messages
6,175,157
Members
452,615
Latest member
bogeys2birdies

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top