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

Join the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

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.

FabCon and SQLCon Highlights Carousel

FabCon &SQLCon Highlights

Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.