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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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