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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
MojoGene
Post Patron
Post Patron

Confused about refreshing Excel file on local drive

I have an Excel workbook that is periodically (manually) updated by users in our organization. There is one sheet in the workbook that has been converted to table (Ctl-T). It is stored on a network drive.

 

I created a PBIX file, imported the Excel workbook table into the data model, prepared a report based on the data and published the file to the PBI service online.

 

I have an enterprise gateway installed and it is working fine with many other datasets that connect to a SQL server on the same network. The enterprise gateway also connects to and properly updates Excel files that are stored on my local c: drive.

 

The Data Source Settings show that I have a "Successful" connection from the PBI service to the network Excel file. 

 

When the network Excel workbook is refreshed the PBI service shows that there was a successful update, but the data are NOT being updated.

 

Not sure what I am missing here. Thanks.

 

 

1 ACCEPTED SOLUTION

Lydia

 

thank you for your reply. The problem was something that should have been obvious to me. In order for the Excel to update (there are some calculated columns in the worksheet that calculate the number of days remaining to an event) the file needs to be opened first. I was under the mistaken impression that refreshing the PBI dataset would accomplish this.

 

I was able to solve the problem with a scheduled task in Windows that is set to run just prior to the scheduled PBI refresh. It opens, saves and closes the Excel file. 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

@MojoGene,

Do you set schedule refresh for the dataset, what does the network path look like? And when you manually refresh the dataset using “Refresh Now” in Power BI Service, does the dataset update? 

In addition, we will appreciate that if you can share us the Excel file. I will test it in my environment.

Regards,
Lydia Zhang

Lydia

 

thank you for your reply. The problem was something that should have been obvious to me. In order for the Excel to update (there are some calculated columns in the worksheet that calculate the number of days remaining to an event) the file needs to be opened first. I was under the mistaken impression that refreshing the PBI dataset would accomplish this.

 

I was able to solve the problem with a scheduled task in Windows that is set to run just prior to the scheduled PBI refresh. It opens, saves and closes the Excel file. 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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 Kudoed Authors