Quantcast
Viewing all articles
Browse latest Browse all 3719

Schema design question.

Good day everyone,

 

I'm building a basic star schema for retail sales from POS, I have a doubt about the promotions handling.  I sampled the source data and for about 10 million row sales there are only about 300 rows that has a promotion id. 

 

Initially I added promotionid field on the sales fact table and a promotion dimension table. Now after previewing the data I think if would be a better  approach to create a another fact table for promotions only and also joined with the rest of the dimension tables.

 

Thanks in advance.


Viewing all articles
Browse latest Browse all 3719

Trending Articles