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 / Do Data Sources in Pow...
Power Apps
Answered

Do Data Sources in PowerApps auto refresh when fetching into a collection?

(0) ShareShare
ReportReport
Posted on by

Good day,

I'm working in PowerApps with my data source coming from SharePoint

The data is getting quite large, and for that I created a Collection to store the data for use in the application.

I do call a ClearCollect at certain intervals on the app when needing to fetch new data from the source

My question, do i need to do a "Refresh(datasource)" before the clear collect or will it automatically fetch the latest data?

Reason being, Refreshing data source consumes time and I would prefer to do without it

Unfortunately I use a sum which is critical for my app and HAVE to do it in a collection, too bad sum is not yet delegable in SharePoint

Thanks in advance

Luka

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

    @Anonymous 
    REFRESH is not required before collecting the data: the latest information will be stored in the collection.

     

    An example of when to use refresh is: your gallery is connected directly to a datasource and you want it to show the latest data.

     

    ---
    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."

  • Community Power Platform Member Profile Picture
    on at

    Thanks @mdevaney 

    You've just helped me improve the app efficiency by 30% by removing the Refresh(datasource) 😃

  • mdevaney Profile Picture
    29,989 Moderator on at

    @Anonymous 

    No problem at all: check my revised reponse above for an example where you would need to use REFRESH.

     

    ---
    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."

  • Community Power Platform Member Profile Picture
    on at
    Actually, i noticed that galleries are automatically refreshing and always fetching the latest data, which made me switch my gallery from collection to a live data source, and use delegation for filtering (startswith, =, etc)

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 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard