Is it possible some how to optimize this code:
Collect(
Days,
AddColumns(
Sequence1,
"Date1",
Date(varYear, varMonth, Sequence1[@Value]),
"Employees",
Filter(
colHolidays,
DateValue('First Day') <= Date(Year(DatePick_1.SelectedDate), Month(DatePick_1.SelectedDate), Sequence1[@Value])
&& DateValue('Last Day')>= Date(Year(DatePick_1.SelectedDate), Month(DatePick_1.SelectedDate), Sequence1[@Value])
)
)
)
I use this for holiday app. The problem is that my loading speed for the calendar is around 0.8-1.5s. Is it possible to make it better?