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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Apeyy
Regular Visitor

Relationship between two tables not working

Hello,

 

I have 3 tables, table 1 contains the file number and fees, table 2 contains file number, working hours, year and company name. Table 3 contains unique file number to connect these two tables. Below are the tables and relationships.

2ED03AAF-3B8F-4286-9B7F-6318B991B0EC.jpeg

 

However, when I create the matrix and trying to show bth the working hours and fees of the file number under a particular company, the values "fees" are all the same. I also tried to create a cluster column chart to show the fees and working hours of different companies but the fees are same for all companies.

5CEAE7F0-8C49-408F-8322-6C1C552DC5A3.jpeg

How can I get different fees under the file number and company? Is there anything I'm missing for the relationship? Thank you!!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Apeyy ,

 

Just change the relationship from "single" to "both".

Capture.PNG

 

Best Regards,

Jay

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Apeyy ,

 

Just change the relationship from "single" to "both".

Capture.PNG

 

Best Regards,

Jay

amitchandak
Super User
Super User

@Apeyy , because the company is not common between two tables. only one table has that.

That is why is it not working.

 

Also common table only work if that is context

 

You can try like

Sumx(values(Table3[File]), calculate(sum(Table1[Fee])))

 

But I doubt this will make are the difference.

 

Also, prefer to share data in text format.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors