Forum Discussion
Anonymous
4 years agoNot applicable
Calculation sumX multiplication
Hello; i'm performing my calculation with the sumX function, in a simplified way, my code has the following form: measure=sumx(A)*sumx(B)*sumx(C) i'm getting the results as ( A1 + A2 + A3 ...)*(B1...
- 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.
tamerj1
4 years agoCommunity Champion
Anonymous
Measure1 =
SUMX ( Table1, Table1[A] * Table1[B] * CALCULATE ( SUM ( Table2[C] ) ) )Anonymous
4 years agoNot applicable
same value as the previous one too ðŸ˜