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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
jonathan-levy
New Member

Getting data from VSTS using PowerBI and oData

Hi

 

I'm trying to create a burndown chart using Power BI with data from the WorkItemSnapshot. 2 questions regarding this URL: 

 

https://{url}.analytics.visualstudio.com/{project}/_odata/v1.0/WorkItemSnapshot?$apply=filter(WorkItemType eq 'Task')/filter(DateValue ge Iteration/StartDate and (Iteration/EndDate eq null or DateValue le Iteration/EndDate))/groupby((DateValue, IterationSK, SumOfRemainingWork), aggregate(RemainingWork with sum as SumOfRemainingWork, OriginalEstimate with sum as SumOfOriginalEstimate))&$orderby=DateValue

 

1 - Why do all the columns from WorkItemSnapshot show in Power BI whereas via the browser it only shows the 4 columns in the groupby section

 

2 - How can I get SumOfOriginalEstimate and SumOfRemainingWork to show in Power BI? 

 

Thanks

2 REPLIES 2
v-huizhn-msft
Microsoft Employee
Microsoft Employee

Hi @jonathan-levy,

After research, it seems that you need to query parameters to the URL of query part in OData.Feed function. In Power BI desktop, we connect the data using Power Query, you can post this case to Query Forum to get dedicated support. And I list some similar thread and articles, hope they are useful.

Prefilter data for Power BI with OData URLs
OData filter pass-through
Project Online - Parameter in Excel OData Connection
OData.Feed should push predicates on navigation properties to URL

Best Regards,
Angelia

Hi

 

I'm trying to create a burndown chart using Power BI with data from the WorkItemSnapshot. 2 questions regarding this URL: 

 

https://{url}.analytics.visualstudio.com/{project}/_odata/v1.0/WorkItemSnapshot?$apply=filter(WorkItemType eq 'Task')/filter(DateValue ge Iteration/StartDate and (Iteration/EndDate eq null or DateValue le Iteration/EndDate))/groupby((DateValue, IterationSK, SumOfRemainingWork), aggregate(RemainingWork with sum as SumOfRemainingWork, OriginalEstimate with sum as SumOfOriginalEstimate))&$orderby=DateValue

 

1 - Why do all the columns from WorkItemSnapshot show in Power BI whereas via the browser it only shows the 4 columns in the groupby section

 

2 - How can I get SumOfOriginalEstimate and SumOfRemainingWork to show in Power BI? 

 

Thanks

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

FabCon and SQLCon Highlights Carousel

FabCon & SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.