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
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
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.