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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
halomo97
Advocate I
Advocate I

Best way to model data where multiple dimentions are dependent on each other

I'm trying to work out the best way to model our data in Power BI. I've read a lot around star/snowflake/galaxy schemas, and they look like great ways to model data however I'm struggling to fit the principals to the data I have. The structure is that there are investors who invest in fund-of-funds, these then invest in venture funds who in tern invest in companies (I haven’t even started looking at adding in the company data to the model!). The tricky part is that one investor can invest in many fund of funds, one fund of fund can invest in many venture funds who in tern invest in many companies, same goes when you go back up that structure. When selecting say a venture fund, the user would expect to see the fund of funds that invest in it and the investors that invest in those fund of funds, same goes for selecting anything else, they want to see the related entities and realted records recorded in fact tables.

 

I’ve created two bridging tables, investor_investment and commitments so there are one to many relationships between the tables. I’m then thinking I’ll need to set it up to filter working both ways between these tables the bridging tables and dimentions. Fact tables are then linked to the bridging tables and in some cases the fund of funds or companies.

 

Is this a good way of setting this up or am I missing something? I’ve read that filtering tables in both directions should be avoided if possible but I can’t see a way round it. This structure doesn’t look like any I’ve seen recommended which is why I'm questioning if I've missed something. I've added in a diagram below to help. Any help would be appreciated thanks!datamodel.JPG

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

You can filter other dimension tables to show only the subset of a selection using a simple measure as a filter for each slicer in the filter pane:

Filter Slicers = COUNTROWS (RELATEDTABLE(Fact table))

add the measure to each slicer and set the value to greater or equal to 1





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






View solution in original post

2 REPLIES 2
PaulDBrown
Community Champion
Community Champion

You can filter other dimension tables to show only the subset of a selection using a simple measure as a filter for each slicer in the filter pane:

Filter Slicers = COUNTROWS (RELATEDTABLE(Fact table))

add the measure to each slicer and set the value to greater or equal to 1





Did I answer your question? Mark my post as a solution!
In doing so, you are also helping me. Thank you!

Proud to be a Super User!
Paul on Linkedin.






Thank you ever so much!! I can really clean up my model doing that, hadn't thought of using a measure to filter

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Solution Authors