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

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

Reply
Anonymous
Not applicable

Web connector returning excel file - Multiple API calls on refresh

Hi,

 

We're working to set up an integration from PowerBI (desktop for the time being) against a REST api. The REST API responds with an excel file (xlsx).

PowerBI designer works great in that it's able to see that the response is an excel file and will show the appropriate interface to create a table per sheet etc on set-up.

However, whenever we refresh the data it seems to be doing an API call to the endpoint for every sheet in the excel file for which we acknowledged a table, which obviously creates for a lot of unnecessary calls to our server.

1) This seems unexpected behaviour; are there any plans to change this?
2) How will a refresh on PowerBI server be handled? How many calls? (PowerBI server acknowledges "Datasets" more explicitly)

 

Thanks!

4 REPLIES 4
Nidhi_Sonar_123
Regular Visitor

Hi, 

 

I am looking for a solution to the similar issue where my api responds with an excel file, but I am stuck in reading and processing the response in my power query

Could you please share a sample code how you achieved this.

 

Thanks in advance 

Anonymous
Not applicable

@Anonymous ,

I am afraid that the above behavior is by design currently.

Power BI will request to get schema and data loading for each sheet, which makes multiple API calls on refresh. And if you turn on backgroud data option in Power BI Desktop, you will get additional API calls. You can disable this option to mitigate this issue.
1.PNG




Regards,
Lydia

Anonymous
Not applicable

Are there any plans to change this?

A motivation for us to go with this approach was because of the ease of use of the set-up and the ability to deliver all of the data at once.
As owners of the endpoint we planned on writing instructions for users to connect; having them write M (or copy/paste) is a whole different story.

 

Could you explain the behavior for PowerBI online (once published)? We didn't test yet, but should we also expect it to make multiple calls?

Anonymous
Not applicable

@Anonymous ,

I am afraid that there is no plan to change this. In your scenario, you can use fiddler to check the web call after publishing PBIX file to Power BI Service.

Regards,
Lydia

Helpful resources

Announcements
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