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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
afedianine
Advocate II
Advocate II

Relationship Issues

Hi! I have an issue with something that appears logical and shouldn't happen:

 

I have 3 tables - Purchase orders with amounts per vendor, invoices paid with amounts per vendor. the issue is , first table keeps vendors as vendor ID as unique key, invoices paid keeps vendors as different alpha vendor key. So I created joiner table, with vendor ID as unique key, relating to first table, vendor Alpha key relating to second table and vendor name as third column in joiner table. but when i create a matrix, with vendor name from joiner table, and invoice amount from first table and invoice amount from third table, I get same amount everywhere, it appears to be grand total. What am I missing? Thank you for any help!

3 REPLIES 3
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @afedianine

 

Rather than create a joiner table, which sounds like a solution more for a many-to-many relationship, perhaps join your invoices table to your Purchase order table.  If your Purchase order table keeps a unique Vendor ID column then this is probably a better structure.

 

Or in your existing on, make sure one of the relationships is set to Both (not recommended unless you understand the problem you are trying to solve)

 

Does that help?

 

 


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

 

c.pngA.png

 

B.png

D.png


To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

Eric_Zhang
Microsoft Employee
Microsoft Employee

@afedianine

Is it possible to upload a sample pbix? It would be more helpful to understand and find out the reason.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.

Top Solution Authors