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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
ghe7549
Helper III
Helper III

Star Schema Advice

I have a database with arond 20 million rows of data.  I am not the ones who created the database i am the one who is pulling into Power BI.

 

I have 3 fact tables (Assets, PMs and WOs) these 3 fact tables also share dimension tables plus the asset table and pm table join as well.  Can someone provide some insight on how best to put this together within Power BI.

ec_schema_20210318.jpg

4 REPLIES 4
ghe7549
Helper III
Helper III

Any suggestions?

ghe7549
Helper III
Helper III

I was told that the datbase team is using a Star Cluster Schema for the Database.

 

Here are my 3 "fact" tables with assests being the main fact table.  I have also added grouped_pm table.  As you can see all these table have the same dimenision tables but WO and PMs roles up to asset table.  

 

Can I get some advice on how best to use these fact tables in Power BI?

ghe7549_0-1621538457085.pngghe7549_1-1621538462433.pngghe7549_2-1621538468106.png

 

ghe7549_3-1621538477411.png

 

amitchandak
Super User
Super User

@ghe7549 , screenshot is too small to check and suggest.

Remember the rules.

1. No two fact join with each other

2. No two dimensions join with each other

3. Facts and dimensions is 1 step way.

4. Merge dimension in the hierarchy

5. If you have master-detail transaction table. Merge and have one fact at the level of the detail. If needed two; one at header level and one at the detail level, but they will not join in power bi. so make they take columns from each other

 

Join us as experts from around the world come together to shape the future of data and AI!
At the Microsoft Analytics Community Conference, global leaders and influential voices are stepping up to share their knowledge and help you master the latest in Microsoft Fabric, Copilot, and Purview.
️ November 12th-14th, 2024
 Online Event
Register Here

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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