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 / ForAll(Sequence speed up?
Power Apps
Unanswered

ForAll(Sequence speed up?

(0) ShareShare
ReportReport
Posted on by 1,937 Moderator

Good day all.

 

Currently using a formula below for Collecting a new collection that contains Title,Zone,Week,Score.

Formula ends up having 52 weeks of each Title. Therefor it has to use Sum() formula to get a score for each title * 52 weeks.

 

I'm wondering if that's best practice possible to decrease wait time and efficiency?

52 weeks takes a good 1 minute to finish the process and sometimes crashes the app..

 

Any help will be appreciated.

 

 

ForAll(
 AreaTitles.AllItems, // gallery of all possible titles
 ForAll(
 Sequence(52),
 Collect(
 NewCharts,
 {
 Title: AreaTitle.Text, // gallery Title
 Zone: ZoneTitle.Text, // gallery zone
 Week: Value, // Value from Sequence
 Score: Round(
 Sum(
 LookUp(
 'Summary',
 Area = AreaTitle.Text && Week = Value,
 Score
 )
 ) / 7,
 1
 )
 }
 )
 )
);

 

 

 

Categories:

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 312

#3
Mohsin Ali Profile Picture

Mohsin Ali 252

Last 30 days Overall leaderboard