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
TonicQuake
Regular Visitor

Calculations with table relationships.

Morning All, 

 

I've added in a few tables and created the relationships between them, Image Below. 

PowerBI Tables.PNG

I'm trying to create a calculation that SUM's Commission from the Policy Commission table, based on Filters from the Team and Introducer tables. 

This is what I've done currently but it doesnt return any values I have also tried wrapping the Team filter in the FILTER expression but getting the same result zero values.

 

CALCULATE(
            SUM('PolicyCommission'[Commission])
                ,'Team'[Teams] IN {"T-A", "T-B", "T-C"}
                ,'Introducer'[Introducers]="Company A"
        )

 

Any help would be greatly appreciated. 

 

Thank. 

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

The data model looks mostly ok, apart from the bidirectional 1:1 relationships. Are you sure you cannot combine the three involved tables into one?

View solution in original post

2 REPLIES 2
lbendlin
Super User
Super User

The data model looks mostly ok, apart from the bidirectional 1:1 relationships. Are you sure you cannot combine the three involved tables into one?

Thank you for replying. 

 

I've combined the three tables into one and it is now working.

Helpful resources

Announcements
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!

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.