Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
pavansharma_k
New Member

PowerQuery not refreshing on OneDrive

Hello,

 

My excel workbook has the following solution implemented:

 

The solutions is to loop through multiple excel files on OneDrive into one. The excel has the following sheets:

  • Sheet1(Home Page): This has a table with a Key-Value pair. Key stands for the department and value is the path of the files on SharePoint
  • Sheet2: This sheet has the data from all the files mentioned in the Sheet1.

Img1.png 

 

This is implemented using the power query. I’ve created a custom function in Power query to loop through the files in the table mentioned above and get the data.

The function to pull the data looks like this:

 

Img2png.png

 

This solution works perfectly when I refresh from my excel desktop.

When I place the file on one drive and open the same excel on the browser and hit refresh connection I see the following error:

 

 Img3.png

 

Inputs on troubleshooting this error will be appreciated.

0 REPLIES 0

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors