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
Anonymous
Not applicable

Relationship many-to-many issue. Is technically a many-to-one

Hi all,

So I'm perplexed and wondering if the good folk in the community can assist! I've attached some photos, with (hopefully not a too bad) explanation of what I'm attempting to do, and my output.

 

So, I'm wondering why after 'removing duplicates' in power query, it's keeping the badly formatted names with the good one 
(ie: It's keeping Joe McDonald, Joe Mcdonald, and Joe McDonald [with a space after McDonald]) which is exactly what I want, but then relating my fact tables, it's producing many to many?

 

Fact tables (5 of them) have manually entered names, some badly written.

 

Dimension table = append all 5 tables, keep only request name and team, remove duplicates.

 

In my pbix, I try and relate the fact tables to the dimension and receive many-to-many warning. It theoretically is many-to-one as they are not identical.

 

Below pictures attempting to explain. Thank you in advance! 🙂

 

JMilner_1-1693921766175.png

JMilner_2-1693921773358.png

JMilner_3-1693921790338.png

JMilner_4-1693921796880.png

 

 

3 REPLIES 3
mussaenda
Super User
Super User

Hi @Anonymous , 

 

Do you have null values on you filed that you are using for the relationship? if yes, that is what causing the many to many detection

Anonymous
Not applicable

Only one, because I'm looking to report on those that haven't filled in their name too.

I did to filter out blanks in power query, as there was a blank and a null value in power query, so I just left null and filtered out blank. Do you think that's what causing it? Or would a singular null value cause this too?

Hi @Anonymous ,

 

Yes. Assign anything to your null and do  the relationship again

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!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

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.