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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
siramthar
Regular Visitor

Dinamically call a specific row of data over Odata connection to Azure DevOps

I'm fetching data from Azure Devops using an OData connection (+ a previous extraction using API calls to Azure Devops running on PowerShell, that creates a plain file that gets uploaded into a Sharefile folder).

 

This is good for aggregated data reports, but what about when we want to check for example, an specific test plan id in Azure Devops? I have tried to use this initial connection to get a list of the test plans available, so that when one of them is selected, the rest of the information is then fetched real time, but to no avail. Is this even possible?

 

This brings over the list of test plans id:

= OData.Feed("https://analytics.dev.azure.com/SomeOrganization/_odata/v3.0-preview/WorkItems?" & "&$filter=WorkItemType eq 'Test Plan'" & "&$select=WorkItemId", null, [Implementation="2.0"])

 

I can also bring some information from a specific hard coded test plan:

= OData.Feed("https://analytics.dev.azure.com/SomeOrganization/_odata/v3.0-preview/WorkItems?"
&"&$filter=WorkItemId eq 28300"
&"&$select=WorkItemId,WorkItemType,Title,State,Claro_ALM_TipoServicioPruebas,Claro_ALM_OrdenTrabajoId,Claro_ALM_TareaSolicitudPruebasId"&"&$expand=Claro_ALM_Asignado($select=UserName),Area($select=AreaName)", null, [Implementation="2.0"])

 

But when I want to use a parameter like:

 

testPlanIDSeleccionado = Number.ToText(FiltroTestPlan),
Origen = OData.Feed("https://analytics.dev.azure.com/SomeOrganization/_odata/v3.0-preview/WorkItems?"
&"&$filter=WorkItemId eq "&testPlanIDSeleccionado
&"&$select=WorkItemId,WorkItemType,Title,State,Claro_ALM_TipoServicioPruebas,Claro_ALM_OrdenTrabajoId,Claro_ALM_TareaSolicitudPruebasId"&"&$expand=Claro_ALM_Asignado($select=UserName),Area($select=AreaName)", null, [Implementation="2.0"])

 

I get the following error

Formula.Firewall: Query references other queries, so it may not directly access a data source

 

Is there a way to solve this? Thanks in advance!

EDIT: Solved this by disabling data privacy levels on the file, as seen here https://blog.crossjoin.co.uk/2017/07/04/data-privacy-settings-in-power-bipower-query-part-4-disablin...

 

 

 

 

1 REPLY 1
v-yingjl
Community Support
Community Support

Hi @siramthar ,

Glad to hear the issue is solved and thanks for your sharing the woraround so that other community members could easily find the answer when they get same issues.


Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.