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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
ElvirBotic
Helper III
Helper III

Data Modeling - Parent Child

I am curious on how I should approach an issue I am facing. I have a data source that collects data at two different granularities. One is a "parent" record that highlights total budget. In the same table I have a column that you can enter if it has a parent budget. So, in one source I have data for "child" records that allows users to enter in if it is related to a "parent" budget. My challenege is do I leave in the parent records and when building measures include filter context to exclude the parent record? or do I create a sepearte table for parent records? and force a physical relationship of 1:*? 

With that how do I overcome ambiguity? Here is what I mean. I have a table that captures all comments and they're written to a different dat source. If I create a seperate table for parent and one for child it would create ambiguity between all three tables and I am unsure of how I can cirumvent that. I don't think it would be good to bloat the model by creating another table to filter to only parent comments and one for child comments. I hope that makes sense. 

1 ACCEPTED SOLUTION
rajendraongole1
Super User
Super User

Hi @ElvirBotic -you need to carefully consider how to model and filter data to avoid complexity while maintaining flexibility in analysis. you avoid the need to manage multiple tables and complex relationships.Flexible Filtering: You can easily filter out parent records in specific measures without complicating the data model.Fewer Relationships: This approach eliminates the need for creating additional relationships between separate tables, reducing the risk of relationship ambiguity.

reference solved threads FYR:

Solved: Parent-Child hiearchy handling with multiple Paren... - Microsoft Fabric Community

Data Modeling - Parent Child - Microsoft Fabric Community

Solved: Multi Level Parent Child Hierarchy - Microsoft Fabric Community

Display Child records if associated to a Parent in... - Microsoft Fabric Community

 

 





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

Proud to be a Super User!





View solution in original post

1 REPLY 1
rajendraongole1
Super User
Super User

Hi @ElvirBotic -you need to carefully consider how to model and filter data to avoid complexity while maintaining flexibility in analysis. you avoid the need to manage multiple tables and complex relationships.Flexible Filtering: You can easily filter out parent records in specific measures without complicating the data model.Fewer Relationships: This approach eliminates the need for creating additional relationships between separate tables, reducing the risk of relationship ambiguity.

reference solved threads FYR:

Solved: Parent-Child hiearchy handling with multiple Paren... - Microsoft Fabric Community

Data Modeling - Parent Child - Microsoft Fabric Community

Solved: Multi Level Parent Child Hierarchy - Microsoft Fabric Community

Display Child records if associated to a Parent in... - Microsoft Fabric Community

 

 





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

Proud to be a Super User!





Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.