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