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
peterg0417
Helper III
Helper III

Power BI REST API - Datasets, Dataflows, and Data sources

I'm working on a Power BI Usage dashboard, and 1 feature that we'd like to include is to see what data sources a report uses. To get that I needed to get "data source" data from the API.

 

This worked for semantic models (fka data sets). I can join the data set and data source data, and see whether it's using SQL Server, SharePoint, or a Dataflow (important!)

 

This also worked for Dataflows. I can see if a Dataflow uses SharePoint, SQL, another Dataflow, etc.

 

The problem arises when I try to link my dataset -> Dataflow data, on dataset.datasourceID = Dataflow.dataflowID. I get 0 matches. I can see that a dataset uses a dataflow, but the sourceID column doesn't seem to contain the ID of which dataflow is the source.

 

The reason for trying to connect the 2 is so I can map this out (as an example):

 

PBI Report ---> PBI Semantic Model/Dataset ---> Dataflow ---> SQL

 

But because I can't seem to link Dataset ---> Dataflow, at least not with the columns provided.

 

Does anyone have experience with this? Is there a bridge table that I need to query in the API?

 

Thanks,

3 REPLIES 3
lbendlin
Super User
Super User

Have you considered using Purview or Collibra?

Not sure I follow. Would I be able to grab usage, and PBI tenant data automatically using Collibra or Purview like I'm currently doing through ADF?

Usage and Usage are different things...

 

For actual usage you use the tenant audit logs.

 

For inventory and DLP you use Purview or Collibra

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.