Forum Discussion

TheChocolateGuy's avatar
TheChocolateGuy
New Member
3 years ago
Solved

Best practice normalising my data model with multiple facts tables?

Hello,

 

I have set up a dashboard with a filter on the front page that allows the user to select a string of text from the dimension table (This will be areas in our factory such as "Production Line 1", "Warehouse", "Engineering", etc...).

It is currently setup so that both fact tables will correctly filter based on what the user selects. Also, each of these fact tables are several thousand lines long (one is nearly at 10,000 rows) and increasing hourly.

 

I believe in the data model it will be better for storage purposes to index my dimension table and replace the string value in each of the facts tables with their respective index value, but due to the way the data is stored I believe I will have to do this as a merge and expand for each of the facts tables in Power Query.

 

Is this still better practice or should I ignore having an integer index and just join on the text value to avoid 2 additional merges?

 

It may also be worth adding that this dashboard is set to refresh every hour.

 

Thank you.

1 Reply