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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
wiskundenerd
Regular Visitor

Obtain lineage for nested semantic models

I have several semantic models that are based on other semantic models. Is it possible to programmatically obtain a lineage? My goal is to get an overview of all reports and semantic models that are based on a given semantic model. This way, I can easily see what reports and semantic models are impacted by changes in a certain semantic model.

 

So far I have used the Get Reports API to obtain the semantic models on which the reports are based, but this is not enough in my case.

 

Thank you!

 

 

wiskundenerd_0-1737380881977.png

 

1 ACCEPTED SOLUTION
Jai-Rathinavel
Super User
Super User

@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




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @wiskundenerd ,

Any update on this? Did the above suggestions help with your scenario? if that is the case, you can consider Kudo or Accept the helpful suggestions to help others who faced similar requirements.

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

Hi @wiskundenerd,

Perhaps you can try to submit an idea for this requirement.

Microsoft Fabric Ideas

Regards,

Xiaoxin Sheng

Jai-Rathinavel
Super User
Super User

@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




Did I answer your question? Mark my post as a solution!

Proud to be a Super User!





Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors