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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.