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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Will2023
New Member

Table Relationship

Hello, I'm new to PowerBI and have some problem with table relationship. The table relationship concept in PowerBI seems different  with the one in common DBMS.

Suppose I have these simple tables:

Branch

branchid

branchname

 

Customer

branchid

cutomerid

customername

 

SalesPerson

branchid

salespersonid

salespersonname

 

Transaction

salespersonid

customerid

transactionid

transactiondate

qtysold

 

Branch table has relation with Customer and SalesPerson table on branchid column,.

Customer table has relation with Transaction table on customerid column

SalesPerson table has relation with Transaction table on salespersonid column

 

I can only make relationship from Transaction table to either Customer or SalesPerson, because ambiguity.

When I filter branch using slicer, only one of Customer or Salesperson got filtered according to which relationship is active.

 

Is there any workaround to this situation? Thanks.

1 REPLY 1
DataInsights
Super User
Super User

@Will2023,

 

This is a good example of how the snowflake schema differs from the star schema. In a common DBMS, a snowflake schema is used. But in data analytics, a star schema is a better choice. The approach I would take is to add branchname to tables Customer and SalesPerson (and remove branchid from these two tables). You can then remove the Branch table. The tables Customer and SalesPerson have a 1:* relationship with Transaction, enabling you to filter using any of the fields in Customer and SalesPerson (including branchname).





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.