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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.