The Refresh function is used to refresh or update data from the data source, ensuring that the app displays the most current data. Refresh has no return value.
Syntax:
Refresh( DataSource )
- DataSource – Required. The name of data source that you want to refresh (e.g., a SharePoint list, Excel file, SQL table).
There are several important considerations to keep in mind when you are using Refresh.
We have covered one example of using the Refresh function, but there are many scenarios where it can be useful
Scenario when to use Refresh:
- When you make any changes to the data such as Add, update or delete, you might want to refresh the data source to ensure the latest data is loaded.
- Â If data in your source is updated externally (outside of Power Apps), calling the Refresh function will retrieve those updates.
- Add a Refresh button on the Screen so that users can manually refresh the data source when they want to see the most current data.
![]()





