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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
khappersett
Resolver I
Resolver I

Auto-refresh with Static Excel Files

I am trying to setup auto-refresh on my reports, but seem to have problems with the reports including excel files. I created my date tables in Excel and brought those into my PBI reports. These Excel files are static and do NOT need to be refreshed with the rest of my report. I have unchecked this option in the query options...

 

Capture2.PNG

 

I have successfully setup my gateway and have no problem scheduling refreshes on reports without these excel files, but when I try to schedule my refreshes on these reports, I get this error....

 

Capture.PNG

Not sure what to do since I already unchecked the box to not include these in my refreshes. Also don't want to remake my date tables in PBI since I have many reports that would need changing. The area to edit my data source credentials on the browser is also greyed out.

 

Capture3.PNG

16 REPLIES 16

Well it seems the report wants the gateway needs to be set up regardless. So why don't you try that. If it solves the problem the. All good, right?



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

I already have my gateway setup and everything works fine when I don't have the excel files in the report.dss.PNGgatewy.PNG

There is 1 gateway, but multiple configurations.  Each file needs its own configuration.  My guess is that these files are not configured in your gateway.



* Matt is an 8 times Microsoft MVP (Power BI) and author of the Power BI Book Supercharge Power BI.

Hm not sure I know what you mean. I can take literally the exact same PBI file and remove just the excel portions and it works on my gateway just fine, so it is definitely the Excel files causing the problem. Why would I need to configure these parts if I don't want them to refresh?

I still have not found a solution to this problem. I had to take all my excel files out of the reports to get the refreshes through the browser to work. This can't possibly be the only solution as I have other reports that still have excel files that need to be auto-refreshed...

Anonymous
Not applicable

Where are your Excel files being stored?  Is that data source included in your gateway configuration?

@Anonymous

 

They are stored locally on my computer. I do NOT need these files to be refreshed, as they are static. I do not have any gateways setup for the excel files. If I try to "Add Data Source" under manage gateways, I do not see an option for an excel file. If I choose "file", it asks for windows credentials and my login info is not working.

Do I need to setup a Personal Gateway? I am hoping this is not the case because I want the reports to refresh even when my computer is not turned on.

Anonymous
Not applicable

I would set up the personal gateway so that the Power BI Service can load them the first time.  Verify that it works then test without the gateway.

@Anonymous

 

 

It works when I setup the personal gateway, but now the option to switch to the gateway I want to use is greyed out. We have our gateway installed on a virtual machine in IT so the "computer" is always turned on and able to be accessed for the refreshes. I do not want to use a personal gateway setup on my computer.

 

Capture.PNG

 

 

Anonymous
Not applicable

Not sure, but usually that means that your data sources in your PBI file dont match your data sources in the configuration for the On Premise Gateway.  In order to schedule a refresh from the PBI Service, it has to know how to get to your data files.

@Anonymous

 

I'm not sure how to configure these excel files with the on premise gateway. I don't see a way to do this anywhere. 

Anonymous
Not applicable

If you are going to use the on-premise gateway, the files need to be on a share that is accessible to the on-prem gateway.

 

On the gateway, you need to add a datasource point to that share where the files are.  When you build it in PBD desktop, you have to use the EXACT share location that you have configured in the On-Prem gateway.  They both have to point to the same UNC because that is how the Power BI Service knows that it can access the files there.

 

To add the datasource, you need be an an admin in the On-Prem gateway.  Once you are an admin, go into Manage Gateways in the service and add your datasources that point to the files.

@Anonymous

 

Thanks! I believe this is the answer I am looking for. I was hoping there was a way where I would not have to configure the excel files because I am NOT trying to refresh them. I only need to refresh the SQL queries within the same report. It seems as though this is not that case and I have to configure the excel files too even though I don't want them to be refreshed.

Anonymous
Not applicable

AFAIK If they show up as data sources in your PBIX file then the Power BI Service will need to know how to access them.

Greg_Deckler
Super User
Super User

Looks like you need to upgrade your gateway? From what I am seeing, it looks like your gateway isn't online.


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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