Forum Discussion
Anonymous
5 years agoNot applicable
Lineage View - Datasets and Dataflows
I have a datasets (dataset1) in a workspace (workspace1) connected (import mode) to a dataflow (dataflow1) in another workspace (workspace2) When I view the lineage of the dataset1, I can see th...
- 5 years ago
I think you can build a script with the Power Bi Rest API. You can first take all the datasets:
https://docs.microsoft.com/en-us/rest/api/power-bi/admin/datasets_getdatasetsasadmin
Once you have those in a table or dataframe you can run for each one of them the request for data sources:
https://docs.microsoft.com/en-us/rest/api/power-bi/admin/datasets_getdatasourcesasadmin
After you organize your json response for each row you might be able to check the connectionString or connectionDetails looking for dataflows in order to see which datasets are using dataflows.
Hope that helps,
Anonymous
5 years agoNot applicable
Thanks ibarrau makes sense. Is there any othe way to find out where a dataflow is used?
Just want to know the impact before we delete a dataflow