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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare now

Reply
LoryMenCR
Helper I
Helper I

many-to-many

Dear All,

I have the following model:

 

Immagine 2024-08-23 145302.jpg

 

I need to associate a Date Column in Table "Date" to a column in Table "Movimenti".

I tried to relate the two tables with key PROGRESSIVO but it is a many to many.

 

Do you think I can do something in this case?
THANK YOU

 

1 ACCEPTED SOLUTION
v-junyant-msft
Community Support
Community Support

Hi @LoryMenCR ,

I would not recommend that you create any more relationships between these two tables, as both of your tables already have a relationship with another table:

vjunyantmsft_0-1724636856724.png

If say you want to continue to create a relationship between the table Date and the table Movimenti (whether it is many-to-many or many-to-one or one-to-one), it will form a closure relationship, which is highly discouraged in Power BI Desktop because multiple active relationships create conflicts and multiple relationships may lead to unclear dependencies between tables.
https://learn.microsoft.com/en-us/analysis-services/tabular-models/relationships-ssas-tabular?view=a... 

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-junyant-msft
Community Support
Community Support

Hi @LoryMenCR ,

I would not recommend that you create any more relationships between these two tables, as both of your tables already have a relationship with another table:

vjunyantmsft_0-1724636856724.png

If say you want to continue to create a relationship between the table Date and the table Movimenti (whether it is many-to-many or many-to-one or one-to-one), it will form a closure relationship, which is highly discouraged in Power BI Desktop because multiple active relationships create conflicts and multiple relationships may lead to unclear dependencies between tables.
https://learn.microsoft.com/en-us/analysis-services/tabular-models/relationships-ssas-tabular?view=a... 

Best Regards,
Dino Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

raji_n
Resolver I
Resolver I

@LoryMenCR pls elaborate, I am not understanding your requirement, many to many is fine, if your data is having duplicates, Power BI will pick up many to many but you can also try to use a bridge table

Dear @raji_n I don't know if the two tables have the same granularity 😞

Helpful resources

Announcements
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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