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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
CharlesRondo
Frequent Visitor

Relationship Many to Many error

I have two tables with the same format, I created them by applaying a filter from an original table, so they are exactly the same but with different values. The colums are: Country, year, segment, vehicle and value.

So, I created relationships to these tables, but I can't make them active telling me the relations are ambiguous

Plus, I made a simple measure  with the tables:

 

2018 % = sum('2018'[Production Volume])/ sum('2018 LP'[Production Volume])-1 

 

Works, but only at different levels.

 

the levels are: Country then Segment, then vehicle. Only works at Segment level.

 

Capture.PNGdelta.PNG

 

  Thanks for reading.

 

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@CharlesRondo,

You would need to turn off bidirectional cross filtering on your tables, otherwise you are unable to make the above relationship active. For detailed reason, please check my reply in the similar thread below.

https://community.powerbi.com/t5/Desktop/Data-model-loop-cant-point-2-transaction-dates-to-DateTable...

In addition, the measure you create doesn't work as expected. Please share sample data of your tables following guide in the thread  below and post expected result here for us to analyze.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490...

Regards,
Lydia

Community Support Team _ Lydia Zhang
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

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@CharlesRondo,

You would need to turn off bidirectional cross filtering on your tables, otherwise you are unable to make the above relationship active. For detailed reason, please check my reply in the similar thread below.

https://community.powerbi.com/t5/Desktop/Data-model-loop-cant-point-2-transaction-dates-to-DateTable...

In addition, the measure you create doesn't work as expected. Please share sample data of your tables following guide in the thread  below and post expected result here for us to analyze.

https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490...

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.