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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Unable to add new Excel file as Data Source to on-premises Gateway

Hi all

 

First time trying to add data sources to a newly installed on-premises gateway in Power BI online. I've successfully connected to our SQL server but cannot connect to our local network folder and an Excel file saved there. When adding as a new data source I get the attached message. The file path matches the source in the report when viewing in Power BI desktop.

 

Any ideas?

 

Data Source Error.JPG

 
 
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thanks @TomMartens and @v-lili6-msft 

 

I needed to change the file path in the desktop version of the report to the "full" path. Now working.

View solution in original post

3 REPLIES 3
v-lili6-msft
Community Support
Community Support

hi @Anonymous 

Username and password are required when adding Excel data source within gateway. 

Please refer to this similar post:

https://community.powerbi.com/t5/Power-Query/Unable-to-connect-Datasource-On-premises-datagateway-is-not/m-p/532594

 

Regards,

Lin

Community Support Team _ Lin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
TomMartens
Super User
Super User

Hey,

 

I'm wondering if the service account that operates the on-premises gateway has access to folder/file where the excel file is located.

 

From my personal experience I would recommend to store the file either inside a Sharepoint online library or a OneDrive for business folder, then there is no need to configure a an on-premises gateway datasource.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany
Anonymous
Not applicable

Thanks @TomMartens and @v-lili6-msft 

 

I needed to change the file path in the desktop version of the report to the "full" path. Now working.

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors