Forum Discussion

fluppo's avatar
fluppo
Frequent Visitor
7 years ago

Many to Many Relationship

Dear community

I try to split a statement of accounts to functions ... and got completely stuck.

I have two tables with a many-2-many relationship. I did set up a bridge table to get the relationship generally to work.

Total Expenses =sumx(PL;PL[Amount])

Total Expense by Function =CALCULATE([Total Expenses];Functions)

 

The second measure provides the expenses for the functions involved, but I just don't know how to multiply the values of the two tables in order to have the sum of the expenses by function matching the total expenses.

 

(I would be happy to attach a workbook with the tables, just don't know how.)

 

I would really appreciate if someone could point me in the right direction.

 

Many thanks in advance

F.

4 Replies