I have a Sharepoint list customized PowerApp, where if I am opening any item in view/edit mode - it will show me the data of the previously opened item. But when I refresh the browser, the data is correct.
I tried adding :- Refresh (DataSource) in the onsuccess property of the form,
[ turn "Off" the experimental data cache under Settings ] - this is not available now.

Ismail SayyadRank #467 · 5.3K reputationPosted Nov 8, 2022, 7:26 AM EST
Check out the following article for the solution
Automatic Refresh in Powerapps
Umesh BaradkarRank #1,171 · 1.5K reputationPosted Mar 25, 2024, 11:48 AM EDT
If you are navigating to an edit form and using a variable to store the item, and then using that variable in the form item property, it's better to avoid using a temporary variable. Instead, you can directly use a lookup function like this:
Lookup(Splist,ID=varSelected.Id)to fetch the item.