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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.

Reply
Anonymous
Not applicable

Relationship problem comparing data with a bridge/structure

Hi, I haven't quite found my exact issue in an existing forum post; if there's something already out there on this topic I'd be happy to take a look.

My problem is related to relationship, as you can see in the sample bellow, just "DATA_1" has the "Company" information and when i try to compare thoses values i got undesired output from my matrix visual;


"DATA_1" 

CarCompanyValue
AX2


"DATA_2"

CarValue
A1

 

Bridge/Structure:

Car
A
B

 

The Result of Matrix (Incorrect):

 

Denis_Araujo_1-1648244692837.png

And i would like to have that result:

 

Denis_Araujo_0-1648244595231.png



Relationship:

Denis_Araujo_2-1648244750594.png


OBS: Merging "DATA_1" with "DATA_2" can solve but is not an option in my real project.

Folder With .pbix file: https://drive.google.com/drive/folders/1EaALoubhWaydbhOvYCdMY2gO_sxjBAZ6?usp=sharing

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable


I find a solution with DAX, the measure bellow ensures that the values dosent repeat with N:N relationship in the rows of my matrix:

Measure_Value_DATA_2 = IF(not ISFILTERED(DATA_1[Company]),SUM(DATA_2[Value]))

 

Denis_Araujo_0-1648487296184.png

 

 

 



View solution in original post

7 REPLIES 7
Anonymous
Not applicable


I find a solution with DAX, the measure bellow ensures that the values dosent repeat with N:N relationship in the rows of my matrix:

Measure_Value_DATA_2 = IF(not ISFILTERED(DATA_1[Company]),SUM(DATA_2[Value]))

 

Denis_Araujo_0-1648487296184.png

 

 

 



tamerj1
Super User
Super User

Hi @Anonymous 

what are Value_A and Value_B? Can you clarify further the expected Result?

Anonymous
Not applicable

Values in that example can be price.

 

This is the result that i expect:

 

Denis_Araujo_0-1648268194167.png

 

@Anonymous

The column must exist the table even if it was blank. Even if the column exists you still need to have have a common filter table which can be easily created in Powerbi

Anonymous
Not applicable

What you are trying to say with a common filter, is that just visual filter "company"?

I just test right know the same sample with all of them with the same collumns and the problem persist:

Denis_Araujo_0-1648295972178.png

 

@Anonymous 

I mean local table that contains all unique cars and other one that contains all unique companies. Build the relationships with the two company columns and the two car columns using the these tables thes use them in the visual

Anonymous
Not applicable

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.