cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Meneghino
Level 10

Collection vs. context variable for storing table data

We can store table data both as collections or as context variables.

 

Does anyone have any idea when to use a collection or a context variable to store a table? (Except for the fact that the context variable is defined only for one screen, and collection is global)  Any difference in performance?

 

PS I credit this post by @Brank for making me realise you can store records and tables in context variables.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support Team
Community Support Team

Re: Collection vs. context variable for storing table data

Well @Meneghino,

 

i have nothing new other than the online document:

Understand Variables in PowerApps

For using collection with table, I think that depends on what you would like to deal with it.

Collection would hold the table in local, which I think should be better performance than query directly.

Not sure about the context variable.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Highlighted
Community Support Team
Community Support Team

Re: Collection vs. context variable for storing table data

Well @Meneghino,

 

i have nothing new other than the online document:

Understand Variables in PowerApps

For using collection with table, I think that depends on what you would like to deal with it.

Collection would hold the table in local, which I think should be better performance than query directly.

Not sure about the context variable.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 425 members 5,963 guests
Please welcome our newest community members: