cancel
Showing results for 
Search instead for 
Did you mean: 
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



Power BI Features || Datamarts: https://youtu.be/8tskWsJTEpg || Field Parameters : https://youtu.be/lqF3Wa1FllE?t=70
Time Intelligence Decoded : https://youtu.be/aU2aKbnHuWs&t=145s || 50+Power Query List Functions : Learn Power Query List
Did I answer your question? Mark my post as a solution! Appreciate your Kudos !! Proud to be a Super User! !!
Dashboard of My Blogs !! Connect on Linkedin !! Subscribe to my youtube Channel !!
Want To Learn Power BI | Beginners !! Advance Concepts !! Power BI For Tableau User !!

@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
Power BI Show Episode 10 Recap

The Power BI Community Show

Watch the playback when Amit Chandak, a Power BI Super User, demos how to use Field Parameters to make reports more dynamic.

Power BI Dev Camp Session 26

New Date - Check it Out!

Mark your calendars and join us on Thursday, October 6 at 11a PDT for a great session with Ted Pattison!

Health and Life Sciences Power BI User Group

Health and Life Sciences Power BI User Group

Power BI specialists at Microsoft have created a community user group where customers in the provider, payor, pharma, health solutions, and life science industries can collaborate.

Ignite 2022

What's Next at Microsoft Ignite 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Top Solution Authors