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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
brian0782
Helper II
Helper II

Incorrect total in bi-directional many-to-many relationship

I have the below model which is many to many and bi-directional:

brian0782_3-1640173961693.png

 

I have this calculated measure: Claim Amount Paid = CALCULATE(SUM('Claim Amounts'[Claims Paid]))

 

If I put UMR from the Binding Authority table into a matrix then each UMR is calculated correctly but the grand total is incorrect.

 

The total is actually the grand total from the Claims Amount table: 

brian0782_0-1640174357784.png

 

 

 

What I require is the total to be based on the data that exists in Binding Authority table

 

I've tried changing the cross filter direction but that doesn't seem to work.

 

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@brian0782 ,

Try Like

sumx(Valeus(UMR[Binding Authority] ) , CALCULATE(SUM('Claim Amounts'[Claims Paid])))

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@brian0782 ,

Try Like

sumx(Valeus(UMR[Binding Authority] ) , CALCULATE(SUM('Claim Amounts'[Claims Paid])))

This is working well. Thanks 🙂

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

Check out the May 2024 Power BI update to learn about new features.