Forum Discussion
pk32
4 years agoNew Member
Different Drill down/drill up Subtotal Calculation in Matrix
I need Product to caluclate Avg of the months when they have values in them. As so, Handheld should read .186 when I drill up instead it sums up everything to .93(Aka sum). But I need my YearMonth to...
- Anonymous4 years ago
Hi pk32 ,
You could use ISINSCOPE() or ISFILTERED() function.
create a new measure like below:
measure = IF ( ISINSCOPE ( [hierarchy] ), [value], SUMX ( ALLEXCEPT ( 'table', [hierarchy] ), [value] ) )It will return sum of row values at subtotal.
Best Regards,
Jay
Anonymous
4 years agoNot applicable
Hi pk32 ,
You could use ISINSCOPE() or ISFILTERED() function.
create a new measure like below:
measure =
IF (
ISINSCOPE ( [hierarchy] ),
[value],
SUMX ( ALLEXCEPT ( 'table', [hierarchy] ), [value] )
)
It will return sum of row values at subtotal.
Best Regards,
Jay