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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
LeoDavies
Frequent Visitor

Star Schema Advice

I am currently making a star schema as pictured below:

LeoDavies_2-1613486835348.png

 

I want to add a level of detail to each of the dimension tables, which will be a one : many from the detail table to the dimension table. I understand I can merge these detail and dimension tables in power query, but this will result in a larger dataset than just using relationships.

 

The new schema below looks like this:

LeoDavies_4-1613486872445.png

 

 

Is this against best practice? It functions as expected but wanted to check before taking the report forward further!

 

Thanks,

 

Leo

1 ACCEPTED SOLUTION
PaulDBrown
Community Champion
Community Champion

@LeoDavies 

With the mods you now have a snowflake schema structure, which generally is ok (depending as always on the depth/size of the dataset). You can keep a star schema structure (which appears to be the favoured structure in guru land) and still filter other dimensions using measures in the filter pane.





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

3 REPLIES 3
PaulDBrown
Community Champion
Community Champion

@LeoDavies 

With the mods you now have a snowflake schema structure, which generally is ok (depending as always on the depth/size of the dataset). You can keep a star schema structure (which appears to be the favoured structure in guru land) and still filter other dimensions using measures in the filter pane.





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.






LeoDavies
Frequent Visitor

@amitchandak I would do that, but I have to pivot the detailed tables - which when merged go from 1000 rows to 200,000+ !

 

Is this type of report flawed, or acceptable under these circumstances?

amitchandak
Super User
Super User

@LeoDavies , As long Details Dim and Dim is 1-M they should/can be merged. For Week you have check why not join date with Fact. and merge week and date

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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