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
Dicko
Helper II
Helper II

Setting datasource authentication for local Excel file

Since I've added an Excel file as a datasource my automatic data refresh is disabled. I previously only had an ODBC connection (which works fine), but now it won't refresh anymore.
I also cannot choose a Gateway connection anymore.

 

The Excel file is on the same machine on which Power BI Desktop is installed.

 

When checking app.powerbi.com > Workspaces > [workspace] > Datasets:

2022-10-04_12h35_08.png

When I click Edit credentials for entry s2t_users.xlsx:

2022-10-04_12h35_43.png

 

What I see in Power BI Desktop when trying to add a file as datasource:

2022-10-04_12h08_27.png

What am I supposed to enter as username and password in this window?
Any help is greatly appreciated. Thanks.

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Dicko , Windows User Name with Domain name of the system where on premise gateway is installed 

 

Power BI Install On-Premise Gateway and configure it on service: https://youtu.be/lObMRofpbQ8

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
negi007
Community Champion
Community Champion

@Dicko instead of using the link to import excel from local path, you can use web link. this way you will get data refreshed automatically as per schedule time in the powerbi services. You can keep your file in the one drive or sharepoint folder.

 

for one drive:

Connect To OneDrive Excel File From Power BI Desktop (c-sharpcorner.com)

 

for sharepoint

How to simply connect Power BI to Excel file stored on SharePoint – Trainings, consultancy, tutorial...

 

for authentication you can use below method, if you have have organization account to connect to powerbi services

 

negi007_0-1664881667499.png

 

 




Did I answer your question? Mark my post as a solution!
Appreciate your Kudos



Proud to be a Super User!


Follow me on linkedin

amitchandak
Super User
Super User

@Dicko , Windows User Name with Domain name of the system where on premise gateway is installed 

 

Power BI Install On-Premise Gateway and configure it on service: https://youtu.be/lObMRofpbQ8

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.