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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
muneern
Frequent Visitor

Multiple (duplicate) concurrent API calls

Hi All,

I have a query that uses a function to call the JIRA Api.  This query (JIRA Issues) is then referenced by other queries:

 

Query Hierarchy.png
The problem is that when the data for my report is being refreshed, Power BI is making the same request to the API multiple times:


Fiddler Output.png

 

 

What seems to be happening is that instead of fetching the result once for the parent query and using the result set for the subsequent queries, it is fetching the data multiple times.  This is obviously causing unnecessary strain on the JIRA server. 

Any suggestions on how to fix this?

 

Thanks,

Muneer

 

6 REPLIES 6
Anonymous
Not applicable

I was facing same issue of Power query making multiple connection to the sourcce instead of fetching data from the parent table\query1 and came accros this post. The solution provided by microsoft was to use DATA FLOW in power bi service, once data flow is created for query1 that becomes your source in power bi desktop, any sub/reference/duplicate queries will go to the data flow and fetch the data instead of going to the source.

https://docs.microsoft.com/en-us/power-bi/guidance/power-query-referenced-queries

aduval
New Member

@muneern Did you get a resolution to this issue? I am having the same probem. 

Hi,

 

Unfortunately I did not find a resolution to this issue.  When/If I do, I'll update this thread.

Anonymous
Not applicable

You may find some value in employing Table.Buffer.

 

See this link for more info

https://community.powerbi.com/t5/Desktop/How-to-Improve-Query-Reference-performance-for-large-tables...

v-jianhe-msft
Resolver II
Resolver II

Hi,

 

How is your query like to call the API? Also, you could try wiht storing the data that you've already retrieved either in a "non-refreshable"-query in the query-editor.  You could refer to  How to disable an api call? 

 

Best Regards,

Henry 

 

Thank you for the response -- but the more I think about this, the more I think that this is a bug. 

When Power BI refereshes data queries which have underlying references to other queries, they should wait until the referenced query has processed rather than cause duplicate processing.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.