Forum Discussion
Calculation sumX multiplication
- 4 years ago
Hi Anonymous
Here is a sample file with the solution https://www.dropbox.com/t/obELBigMGJIPqhHdActually I have tried the same solutions and they seem to work. The thing is it won't allow me to create the hierarchy slicer with pop-up a message saying that the relationship should be One - Many. I don't know how did you create it but arbitrarily shaped slicers usually causes trouble. Using them would require the use of KEEPFILTERS. Unfortunately I failed to simulated your case but you can refer to (2) When to use KEEPFILTERS over iterators - YouTube
Following two workable solutions but using normal slicers.
Hi Anonymous
are they in the same table or different tables?
different tables
- tamerj14 years agoCommunity Champion
Anonymous
Do they have 1:1 relationships? I mean how do you know which row to multply with which row? As you mentioned (A1*B1*C1) + (A2*B2*C2) + (A3*B3*C3) + ... or do you mean (A1*B1*C1) + (A1*B1*C2) + (A1*B1*C3) + ... ?- Anonymous4 years agoNot applicable
i'm using a many to many relationship (power bi is not accepting to put it as 1:1); and using a hierarchy slicer, i'm chosing which value C corresponds to the 1st values (A1 & B1) ...
- tamerj14 years agoCommunity Champion
Anonymous
Still not 100% clear but you may tryMeasure1 = SUMX ( Table1, SUMX ( Table2, Table1[A] * Table1[B] * Table2[C] ) )