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
gbarr12345
Post Prodigy
Post Prodigy

Relationship issue

Hi there,

 

I have data in excel that I've imported into Power BI.

 

The only issue is that both of the data is transactional data and I need them to connect.

 

The only relationship I can only do is a Many to Many which I know isn't reliable.

 

gbarr12345_0-1724205022999.png

 

 

Can anybody help me in fixing the relationships please if possible?

 

I have attached the sample PBIX and sample data I created which mirrors the data I was provided (with different headings and numbers of course). Please see below:

 

PBIX - https://drive.google.com/file/d/10yZDO4Q7RqrIw02WPlZ0fglhcrtiMpCi/view?usp=drive_link

 

Excel - https://docs.google.com/spreadsheets/d/1ot6UL-7Hmbz0YHxxDhxSMaOMYyAKj3lb/edit?usp=drive_link&ouid=11...

1 ACCEPTED SOLUTION
Ritaf1983
Super User
Super User

Hi @gbarr12345 

o answer your question, it's necessary to understand the logic behind what you're trying to do, as it’s not clear at this moment.

On a technical level, the tables appear to have the same structure, so it’s unclear why you’re not performing a union (combining them vertically with a classified column if they represent different actions). The many-to-many relationships that have been created are due to the lack of a unique key for each table. Technically, you could address this by creating a bridge table, but that’s only part of the solution, as it’s not clear what you’re trying to achieve logically.

More information about many-to-many and bridges tables is here :

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

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

View solution in original post

3 REPLIES 3
Ritaf1983
Super User
Super User

Hi @gbarr12345 

o answer your question, it's necessary to understand the logic behind what you're trying to do, as it’s not clear at this moment.

On a technical level, the tables appear to have the same structure, so it’s unclear why you’re not performing a union (combining them vertically with a classified column if they represent different actions). The many-to-many relationships that have been created are due to the lack of a unique key for each table. Technically, you could address this by creating a bridge table, but that’s only part of the solution, as it’s not clear what you’re trying to achieve logically.

More information about many-to-many and bridges tables is here :

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

If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

Thanks very much for your help Rita! Much appreciated!

Happy to help☺️

Regards,
Rita Fainshtein | Microsoft MVP
https://www.linkedin.com/in/rita-fainshtein/
Blog : https://www.madeiradata.com/profile/ritaf/profile

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.