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 / 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 Microsoft Employee

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,991 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
    Microsoft Employee on at

    Thanks @mdevaney 

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

  • mdevaney Profile Picture
    29,991 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
    Microsoft Employee 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

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 860

#2
Valantis Profile Picture

Valantis 548

#3
Haque Profile Picture

Haque 417

Last 30 days Overall leaderboard