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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ReneeKoelewyn
Frequent Visitor

Relationships vs Matrix data

Hi everyone,

 

I am still quite new to using Power BI and I’m facing an issue with comparing data between two categories across multiple datasets. I’ve been using two sheets to compare these categories for over two years. While I managed to resolve one comparison, I’m having trouble with the second. The data for the second comparison isn’t pulling through correctly.

I also tried creating a new relationship for the second comparison, but I’m encountering issues and it won’t allow me to proceed. 

 

This is the relationship (many to many) that works

ReneeKoelewyn_0-1727243358581.png

The above is used to compare the data in the Matrix below

ReneeKoelewyn_1-1727243454846.png

 

Now the problem is to compare another category and display it in the same way for the following:

ReneeKoelewyn_2-1727243808508.png

I get the following error and it is not allowing me to select any other relationship. 

ReneeKoelewyn_3-1727243886689.png

The first columns (for 2023) data pulls through correctly, but not the second (for 2024)

ReneeKoelewyn_4-1727244117953.png

 

I am not even sure if I should create relationships for each category to create a Matrix for comparison. 

 

Any advice or suggestions would be greatly appreciated!

 

1 ACCEPTED SOLUTION
Uzi2019
Super User
Super User

Hi @ReneeKoelewyn 

 

You should always avoid creating many to many relationship. this can be done by using bridge table.

check the video for better understanding

https://www.youtube.com/watch?v=LRzpJTliW8Q

https://www.youtube.com/watch?v=1L66tcLaRQ0

https://www.youtube.com/watch?v=aPLaun-tTgQ

 

and their should be only single active relationship between 2 tables.

You dont need to create relationship for each comparison. it wont solve your purpose.

 

I hope I answered your question!

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

View solution in original post

1 REPLY 1
Uzi2019
Super User
Super User

Hi @ReneeKoelewyn 

 

You should always avoid creating many to many relationship. this can be done by using bridge table.

check the video for better understanding

https://www.youtube.com/watch?v=LRzpJTliW8Q

https://www.youtube.com/watch?v=1L66tcLaRQ0

https://www.youtube.com/watch?v=aPLaun-tTgQ

 

and their should be only single active relationship between 2 tables.

You dont need to create relationship for each comparison. it wont solve your purpose.

 

I hope I answered your question!

 

 

 

Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.