Forum Discussion
Lineage View - Datasets and Dataflows
- 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,
Hi. Yes, that's the expected result microsoft has proposed. It will show only the sources of the components. When you check view in the dataflow it can't show in which dataset it's used because that's not the objetive, that's not a data source. The dataflow is the data source for the dataset. That's why you can only see it from one direction.
Hope that make sense