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 / Datasources and Collec...
Power Apps
Answered

Datasources and Collections basic question

(0) ShareShare
ReportReport
Posted on by 678

With more complex power apps consuming multiple data sources and where relationships exist between the data sources it almost seems inevitable to me that you'll need to use collections (and probably multiple collections). This just creates extra complexity in the app to allow for the necessary UI. I realize I'm making a general statement.

1) But if I'm correct, that immediately solves the problem of delegation as you can let the data sources flow in all the data and then perform the filters on the collections (which if I understand correctly don't have delegation concerns). 

2) But that seems to me that if you then need to change a value in a variable that you are looking at on the screen and that value is being shown through a collection then it means most likely you have to update the data source in the original table and possibly the collection as well - am I right? 

3) I suppose I can force a refresh of the source data tables but I'm wondering about the performance of that. Thoughts.

I realize that's a high level question but does anyone have any experience with these more complex scenarios.


Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @sasrsc 

    Basically, for maximal efficiency the datasource should be able to handle millions of records with maximum delegatable functions and operators. Only SQL and CDS meet those requirements. This minimizes the need for collections.

  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    1) Using Collections doesn't solve the problem of delegation because you still have to get the values into the collection from the online data source.  Get that data can take substantial time if its a large data source.

    2) Yes, using a local collection means changing things in both places.   It also makes it difficult if the data needs to be shared between multiple users because each person will be making changes to their local collections.  Updates will only really be shared when people load the data the first time.  As mentioned in #1 that can take a substantial amount of time so you wouldn't do it for every change.

    3) See #1 and #2.  Refreshing the data source in this case will be minimized to improve performance.

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 283

#3
Mohsin Ali Profile Picture

Mohsin Ali 221

Last 30 days Overall leaderboard