I'm trying to update the Data from my powerapps so i can have the latest entries in the Sharepoint. To be more specific i want a button that let's me update the same way that option let's me update the data in the gallery.

I'm trying to update the Data from my powerapps so i can have the latest entries in the Sharepoint. To be more specific i want a button that let's me update the same way that option let's me update the data in the gallery.
I found the soultion, if you put this in a button it will refresht the Data Source:
Refresh([@’YourDataSource’])