Forum Discussion
Obtain lineage for nested semantic models
- 1 year ago
wiskundenerd I believe it is possible to programatically get the lineage from a Semantic Model. You can start by exploring the below API calls on your child or lowest semantic model (ID) in your model hierarchy and go upwards to the other semantic model. Try the below APIs
https://learn.microsoft.com/en-us/rest/api/fabric/core/items/list-item-connections
GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}/connectionshttps://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasources-in-group
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/datasourcesThanks,
Jai
wiskundenerd I believe it is possible to programatically get the lineage from a Semantic Model. You can start by exploring the below API calls on your child or lowest semantic model (ID) in your model hierarchy and go upwards to the other semantic model. Try the below APIs
https://learn.microsoft.com/en-us/rest/api/fabric/core/items/list-item-connections
GET https://api.fabric.microsoft.com/v1/workspaces/{workspaceId}/items/{itemId}/connections
https://learn.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasources-in-group
GET https://api.powerbi.com/v1.0/myorg/groups/{groupId}/datasets/{datasetId}/datasources
Thanks,
Jai