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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
asriniva33
Frequent Visitor

Data Model of team services - Power BI Model

Hi,

 

1) Can some one let me know if the work item history data ( to track the work item state changes by person, date etc.) is available in the Power BI model for Team Services.  Since the link: (  https://www.visualstudio.com/en-us/docs/report/powerbi/vso-pbi-whats-available-vs )  only specifies about the current state of work items.

 

2) Also could some one confirm if the Power BI- Team Services model is a dimensional model or a OLAP cube? If any where can i find the structure of the respective datamodel 

 

1 ACCEPTED SOLUTION

@asriniva33,

1> Yes, you're correct that you need to firstly use the REST API to get the work item historical data with Visual Studio Team Services REAT API. See: https://www.visualstudio.com/en-us/docs/integrate/api/wit/updates 

2> No. They are different REST APIs. Power BI REST API is used to get dataset, dashbord and report data from PBI, while to get the work item history data you need to work with the Visual Studio Team Services REAT API. 

View solution in original post

3 REPLIES 3
Vicky_Song
Impactful Individual
Impactful Individual

@asriniva33,

1)> No, the work item history data is unavailable in the Power BI model for Team Service because there is no specific field stores the work item history data in the Team Service cube. To get the work item history, you need to work item API to get all revisions (the API is for TFS but works for VSTS as well) and then import the data into PBI.

 

2> If you click the "Visual Studio Team Services" dataset in Power BI Service, you will check the details on what is included in the data model, however, you're not able to check the relationships.

 

@Vicky_Song

Thanks for the information. 

 

1) You meant that we need REST API to get the neccessary data into an excel file then connect that file to PowerBI for our reporting.

Is my understanding correct?

2)Also is it possible to directly use REST API with Power BI to  extract data from Power BI.

@asriniva33,

1> Yes, you're correct that you need to firstly use the REST API to get the work item historical data with Visual Studio Team Services REAT API. See: https://www.visualstudio.com/en-us/docs/integrate/api/wit/updates 

2> No. They are different REST APIs. Power BI REST API is used to get dataset, dashbord and report data from PBI, while to get the work item history data you need to work with the Visual Studio Team Services REAT API. 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.