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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
admin_xlsior
Post Prodigy
Post Prodigy

Help on data modeling

Hi guys,

 

Need a little help on data modeling. If we have one table that act as a filter to all the rest of tables, what would be the relationship look like ?

 

Something like these tables :

admin_xlsior_0-1605938561648.png

 

As you can see, the top table is Company table, is actually act as filter table that separated all data in all other tables with its "companyid" key. I would also want to know how other table interconnected each other.

 

I think for some background story, those typical tables are usual case for Sales management whereby there is Customer master, Vendor master, and Product master then we have SalesTable as well. For Customer and Vendor we also have its own Group table. 

 

Thanks,

3 REPLIES 3
daxer-almighty
Solution Sage
Solution Sage

The first question to ask is this: Which entities does Company really relate to? Is it the Company the customer belongs to? Or is it the Company that the product belongs to? Or is it the Company that the vendor has some relationship with? Without this business knowledge, it's not possible to tell you how to link these tables.

Hi both,

 

Thank you, I think I have clearer picture on the relation supposed to. By the diagram @Fowmy , so its mean we only need to relate company to the tables that has the most prioritized like Customer group/Item group because the rest will then following what already filter within those Customer group / Item group. 

 

@daxer-almighty  this Companyid in this case is the Company that operates this system, since this system support mulitple companies. 

 

Thanks,

 

 

Fowmy
Super User
Super User

@admin_xlsior 

Not sure how this company is related to both sales and purchases, could be a business unit concept. Check this sketch please:

Fowmy_0-1605940347506.png

________________________

If my answer was helpful, please consider Accept it as the solution to help the other members find it

Click on the Thumbs-Up icon if you like this reply 🙂

YouTube  LinkedIn

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors