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
Luukv93
Frequent Visitor

Connection for excel file with on-premise gateway

Hello,

 

I have installed the data gateway and I want to add an excel file from the q disc.

 

Now I tried connecting to the file and got the following error code:  -2147467259

Any idea what failed or what I did wrong?

 

 

 

 

tempsnip.pngtempsnip.png

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Luukv93,

Based on the above screenshot, you input wrong suffix(.xlxs) for the Excel file. The file path shoule be Drive:\XXXXX\Resultaten_2018.xlsx.

For more details about adding excel data source within gateway, please review the following similar thread.
https://community.powerbi.com/t5/Integrations-with-Files-and/Scheduled-refresh-for-excel-file-with-o...

Regards,
Lydia

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

View solution in original post

5 REPLIES 5
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Luukv93,

Based on the above screenshot, you input wrong suffix(.xlxs) for the Excel file. The file path shoule be Drive:\XXXXX\Resultaten_2018.xlsx.

For more details about adding excel data source within gateway, please review the following similar thread.
https://community.powerbi.com/t5/Integrations-with-Files-and/Scheduled-refresh-for-excel-file-with-o...

Regards,
Lydia

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

Hi @v-yuezhe-msft, is a data source required for each excel file connected to my reports?

Anonymous
Not applicable

Yes you need a connection for each Excel file

Anonymous
Not applicable

Connections are impossible although on-premises gateway says it is ready for connections.

 

Why are there no answers to this question?

 

Anonymous
Not applicable

Who should connect a gateway manager or the gateway serviceaccount?

 

connection in Power BI desktop work fine.

 

there are no connections possible no local xlsx files, no database (Postgres), an nog online data from a service-provicer.

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.