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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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 MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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