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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
THOMAS_GOOSSENS
New Member

= Excel.CurrentWorkbook(){[Name="Table1"]}[Content]

Dear Community,

I’ve created an Excel template (.xlsx) that includes several Power Query queries linked to tables within the same file.

However, when I share the template—either internally or externally—users receive an error message when they try to refresh the queries. The error refers to a SharePoint folder where the original template was saved, to which they don’t have access.

Despite this, clicking "OK" allows the refresh to proceed successfully.

Is there a way to eliminate this initial error message entirely?

Thank you in advance for your help!

THOMAS_GOOSSENS_0-1750848556248.png

THOMAS_GOOSSENS_1-1750849012686.png

 

 

3 REPLIES 3
v-sgandrathi
Community Support
Community Support

Hi @THOMAS_GOOSSENS,

 

You're absolutely right that a hidden SharePoint reference is likely embedded within the template. To fully resolve the issue:

  1. Open Power Query Editor and review each query’s Advanced Editor to ensure there are no lingering steps or references pointing to external sources like SharePoint.
  2. Go to Data > Connections and remove any old or unused connections that may still point to the SharePoint location.
  3. After cleaning up both queries and connections, save the file as a new template (.xltx) and share that version instead.

These steps should eliminate the SharePoint error message for all users and ensure a smooth experience when refreshing queries.

 

I hope this helped! Feel free to ask any further questions. If this resolved your issue, please mark it as "Accept as Solution" and give us Kudos to assist others.

 

Thank you.

 

Hi @THOMAS_GOOSSENS,

 

We wanted to check if you had a chance to review our last reply. Let us know if it helped or if you need more guidance, we're always happy to help further.

If the solution worked for you, please click Accept as Solution and feel free to leave a Kudos for visibility.

Looking forward to hearing from you!

ronrsnfld
Super User
Super User

Possibly there's a reference to the sharepoint path within the template that needs to be removed.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.