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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! 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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors