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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

Reply
nicolast29
Helper V
Helper V

Why does it detect a many to many

Hi

I have a table DIM_Salaries from wich a delete duplicate (verify under Excel)

I link it to a fact table FTS_Heures, but it doesnt want a one to many ...... 

nicolast29_0-1691573781994.png

 

here my file

https://1drv.ms/u/s!AoqtZHsX4BzvhL4Cmhkus3rE_JjUIg?e=c8J7nc

 

 

1 ACCEPTED SOLUTION
eliasayyy
Memorable Member
Memorable Member

hello based on what you sent , it seems you have duplicates therefore , a many to many relationship , but it seems you have a duplicate in your dim salary table 

annonymous1999_0-1691574765143.png


so maybe just remove duplicates or create a new table 

Values = VALUES(dim_salaries[id])


here is your duplicate 

annonymous1999_0-1691574895216.png

 

View solution in original post

4 REPLIES 4
nicolast29
Helper V
Helper V

hi

thanks to your screenshot

i found the error

a space in one of the case

have a nice day

nicolast29
Helper V
Helper V

Hi thanks

But in the Power Query transformation i have remove duplicate 

That is why i don't understand

nicolast29_0-1691575002941.png

 

Thats weird did you select all columns and pressed remove duplicates? Maybe you have the same id but it has different dimensions in the column 

eliasayyy
Memorable Member
Memorable Member

hello based on what you sent , it seems you have duplicates therefore , a many to many relationship , but it seems you have a duplicate in your dim salary table 

annonymous1999_0-1691574765143.png


so maybe just remove duplicates or create a new table 

Values = VALUES(dim_salaries[id])


here is your duplicate 

annonymous1999_0-1691574895216.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors