Forum Discussion
Power query Sharepoint delayed update
Hi Anthony,
Do you use root URL of your Sharepoint site? If so, it shall work, for SPO it looks like
= SharePoint.Files("https://contoso.sharepoint.com/teams/myteam", [ApiVersion = 15])
(that's for Teams site, but doesn't matter)
and as next step you shall filter on library you need.
I really hope you can help.
I created a link to a sharepoint folder (Power Query) in an Excel file and everything works perfect the first time.
I then upload a new file to the folder on sharepoint, but when I then use Get Data-Sharepoint folder (from the same Excel file - let's say its a month later and I need the new file imported into Power Query) , the folder list shows the original files and does not include the new uploaded file. If I change a file name for example, it does not update either.
- SergeiBaklanJul 16, 2020Diamond Contributor
If you don't see new files only in preview window as on your screenshot, that's most probably cache. Click on Transform data and Refresh. Or Load and Refresh. And/or clear cache in Query options
- Carlos_MarinoAug 29, 2021Copper ContributorThank you so much. Solved!
- pmcgrawOct 04, 2022Copper Contributor
Carlos_Marino How did you resolve??
- Chris BothaJul 16, 2020Copper Contributor
I cannot thank you more than enough!!!
You just saved my life. I have been asking everywhere for the last two weeks and no one either replied or had an answer.
Thank you so so much.
- SergeiBaklanJul 17, 2020Diamond Contributor
Chris Botha , glad to help