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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.