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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now

Reply
mbsptr
Frequent Visitor

Optimizing Data Model

I am currently rebuilding a data model which is performing poorly and looking for the best approach. As per example below, my current model consists of several fact tables (many more in reality) which are all related by order number.

 

Currently I have one 'filter' table (and also a few dimensions in the actual model) which filters all fact tables in the model. The filter table is essentially a copy of the orders table with the required columns for filtering, given they are all related by order #.

 

Some resources suggest combing all related facts into a single table but this seems messy given the number of fact tables I have, and they are all completely different. some orders for example can have 100+ calls per order.

 

My idea is to ditch the filter table and split it into dimensions, including a junk dimension for all the flags, and have them filtering each fact table individually to create a proper star schema.

 

The main issue with this is that I will no longer be able to filter the entire report on order number only. Does this mean I am going to need an 'Order Number' dimension? It would essentially be a single column.

 

 

model.png

 

 

Thank you,

 

Mike

 

1 REPLY 1
DOLEARY85
Resident Rockstar
Resident Rockstar

Hi,

 

Personally i would try to combine the fact tables at the source or failing that in power query to get a better perfoming model as this will then all be combined prior to any processing within the report.

 

With your solution i probably would create Order Number dimension for the best performance when filtering the entire report.

 

If I answered your question, please mark my post as solution, Appreciate your Kudos 👍

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.