cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
CharlesRondo Frequent Visitor
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

Accepted Solutions
Highlighted
Moderator v-yuezhe-msft
Moderator

Re: Relationship Many to Many error

@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.
1 REPLY 1
Highlighted
Moderator v-yuezhe-msft
Moderator

Re: Relationship Many to Many error

@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
Community Kudopalooza

Win Power BI Swag with Community Kudopalooza!

Each week, complete activities and be qualified in the drawing for cool Power BI Swag.

Summit North America

Power Platform Summit North America

Register by September 5 to save $200

Virtual Launch Event

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 300 members 2,828 guests
Please welcome our newest community members: