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 / Static Table or Collec...
Power Apps
Answered

Static Table or Collection for Speed

(0) ShareShare
ReportReport
Posted on by 26

Hello,

 

We have an app that has many different galleries that act as menus and are basically static menu data. Currently we populate these menus using ClearCollect. 

 

Is this the most efficient way to do this or should we import static tables via excel to build the menus? Perhaps it doesn't make any difference at all.

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @mwolfe86 
    Static data loads faster initially since it is already stored on the device.  You would have to wait a small bit of time at the start of the app to load data from another source (e.g. SharePoint) into a Collection.

     

    But once you've got menu information inside a Collection its equally fast as static data.  I would not worry over it too much 🙂

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • Verified answer
    eka24 Profile Picture
    20,925 on at

    I think the difference between ClearCollect and Static would be the loading of the App if the coLlection is OnStart of the App. Also the loading of the Screen if the collection is OnVisible, it may delay it a bit depending on the data. So i would go for Static data in terms of speed.

    However note that the after the collection is loaded, the speed may be the same

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

  • mwolfe86 Profile Picture
    26 on at

    Thank you for the responses. I am trying to speed up the appload performance.

     

    Many of these collections reference media images in the app, is there a way to reference that media image in the static table that would be compiled in Excel?

     

    As an example, the Logo field is a reference to media within the app:

    ClearCollect(collCountries,
    {Country: "Global", Logo: world},
    {Country: "Australia", Logo: australia},
    {Country: "Belgium", Logo: belgium},
    {Country: "Brazil", Logo: brazil},
    {Country: "China", Logo: china},
    {Country: "Germany", Logo: germany},
    {Country: "Hong Kong", Logo: hongkong},
    {Country: "India", Logo: india},
    {Country: "Indonesia", Logo: indonesia},
    {Country: "USA", Logo: usa},
    {Country: "Vietnam", Logo: vietnam}
    )
     
  • Verified answer
    mdevaney Profile Picture
    29,991 Moderator on at

    @mwolfe86 
    No, you cannot make a direct reference to an image from Excel like you have shown below.

     

    You CAN make a reference to a URL if it is stored somewhere, then use it in the Image property of an image.

    "https://onedrive.com/folder.image.jpg"

     

    What I would really recommend here is just to make a Collection inside your app to accomplish this, not a static data import.

     

    Best of luck building your app!

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • mwolfe86 Profile Picture
    26 on at

    Thank you all for the quick feedback. Seems I may be able to address some via tables and others by collections. 

     

    Sure would be nice if PowerApps gave you a way to find where all your collections are in use(similar to that of variables), would be an easy way to clean up messes.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,074

#2
Valantis Profile Picture

Valantis 639

#3
11manish Profile Picture

11manish 606

Last 30 days Overall leaderboard