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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
NenadV
Helper III
Helper III

Creating API calls using data returned from OData query

So I am creating report based on Azure DevOps data. Some data is accessible using OData feed, and for some data I had to use API calls. The problem is that I am using data returned from OData feed for creating URI for api calls. For example, I want to import data about team capacities. To do that, I have to make api call to this address 

https://dev.azure.com/{organization}/{project}/{team}/_apis/work/teamsettings/iterations/{iterationI...

but all this paramaters in {} I have to pull using Odata feed.

All this works fine in Power Bi Desktop, but when I publish my report to Service and try to refresh report I get error message

{"error":{"code":"ModelRefresh_ShortMessage_ProcessingError","pbi.error":{"code":"ModelRefresh_ShortMessage_ProcessingError","parameters":{},"details":[{"code":"Message","detail":{"type":1,"value":"[Unable to combine data] Section1/TableName/AutoRemovedColumns1 references other queries or steps, so it may not directly access a data source. Please rebuild this data combination."}}],"exceptionCulprit":1}}} Table: TableName

I read a lot of articles about this topic, but none of them was helpful.

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @NenadV 

Your error seems that you combine a query in another query, but one of the query can't be acessed succefully.

After publishing reports to Power bi service, do you add on-premise data source under gateway and configure credential for the odata source under Dataset->Setting->edit credential?

 

Best Regards

Maggie

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors