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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.