cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PANDAmonium
Resolver III
Resolver III

Check which reports are using a dataflow

Is there a way to check which reports are using a dataflow? I planned on deleting a couple old dataflows, but wanted to verify that there aren't any reports currently using them. Thanks!

1 ACCEPTED SOLUTION
ibarrau
Super User
Super User

Hi. I think you have two alternatives. The first one is going one by one to the workspaces and activate the linage view. That way you can check the flow of data from sources to reports.

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-data-lineage

The second and more complex option would be building a script with the Power Bi Rest API that should first get all the datasets in the tenant and then for each one of those check its sources.

Hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

5 REPLIES 5
ibarrau
Super User
Super User

Hi. I think you have two alternatives. The first one is going one by one to the workspaces and activate the linage view. That way you can check the flow of data from sources to reports.

https://docs.microsoft.com/en-us/power-bi/collaborate-share/service-data-lineage

The second and more complex option would be building a script with the Power Bi Rest API that should first get all the datasets in the tenant and then for each one of those check its sources.

Hope that helps,


If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Happy to help!

LaDataWeb Blog

View solution in original post

Hi! Following your suggestion, I am developing a process to detect orphaned dataflows in my environment, using API REST in PowerAutomate.  

I have a Dataset conected to a couple of Dataflows plus a list on Sharepoint.

When I check the sources of this Dataset ID, with:


GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/datasources

 

I receive a response that contains only two datasources 

NatachaPN_0-1621167146149.png

I have test with others examples, and are the same. The responses has datasourceId that I cannot find as ID of my dataflows. I wonder if I should run other API using the datasourceId in a loop.

Could you suggest me some improvement?

@NatachaPN I'm struggling with the same thing right now.  I'm finding the dataset ids without any problem using the datasources endpoint, but those appear to be unique to the dataset.  Did you ever find a way to use information to correlate the dataset to a particular dataflow?  

NatachaPN
Frequent Visitor

unfortunately, not yet

Thanks! Yeah, I was hoping there would be a lineage option where it shows upsteam instead of just downstream before going the Rest API route. There's also a third option which is to export the json, delete it, and wait for complaints or refresh errors to come in... that'll be our plan b, lol.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

November Power BI Update 768x460.png

Check it Out!

Click here to read more about the November 2021 Updates!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Kudoed Authors