web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Loading Speed of data ...
Power Apps
Unanswered

Loading Speed of data on Power Apps

(0) ShareShare
ReportReport
Posted on by

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?

Categories:
I have the same question (0)
  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    Hi @Anonymous ,

    There is probably some optimisation is there, but 0.8 to 1.5 seconds is quick by Power Apps standards. I am also unsure what you are doing with Sequence1 as you are then filtering a collection and the syntax seems a bit reversed.

  • Community Power Platform Member Profile Picture
    on at

    I add days of the month with sequence collection:

     

    ClearCollect(Sequence1, Sequence(Day(DateAdd(DateAdd(DatePick.SelectedDate,1,TimeUnit.Months),-Day(DatePick.SelectedDate),TimeUnit.Days)))),

  • WarrenBelz Profile Picture
    153,051 Most Valuable Professional on at

    @Anonymous ,

    I would need to build a model to try to test all of that and doubt that I would get it running any quicker with the various variations I might come up with.

  • Community Power Platform Member Profile Picture
    on at

    Okay, thanks for your effort. If you come up with any Idea what I could try, let me know.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 711 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 319 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard