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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
Omar_Sek
Frequent Visitor

Modelisation issues

I would like to model the purchasing process of a company, I would also like to respect the star schema.
In the company, every employee is a buyer and this buyer belongs to a buyer group, for example:
buyer buyer group
buyer 1 group 1
buyer 1 group 2
buyer 2 group 2
the problem is that the same buyer can belong to several groups, so I can't put buyer group in the same dimension table that contains the information of each buyer.
so as a solution, do i create another dimension table that contains only one column that is the buyer group and that will be related to the fact table directly

I have the same case for the bank account used to make the purchase by the customer.

Translated with www.DeepL.com/Translator (free version)

2 REPLIES 2
amitchandak
Super User
Super User

@Omar_Sek , The best would be

amitchandak_0-1653355980572.png

 

We should avoid many to many in star

@amitchandak in this case , it will be a many to many relationship , i can' avoid that .How should u handle it ? Thanks

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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