cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
nicolast29
Helper IV
Helper IV

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

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

hi

thanks to your screenshot

i found the error

a space in one of the case

have a nice day

nicolast29
Helper IV
Helper IV

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

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors