Forum Discussion
Anonymous
7 years agoNot applicable
Total Row Count in Matrix Visual with Visual level filter
Dear Community, I have a scenario where i have department with multiple codes. Each department has 3 sub departments with each sub departments having codes on different months. I am using matrix vis...
- 7 years ago
Anonymous hey add following two measures and then use Code Count in your matrix
Total Count = COUNT( Child[Code] ) Code Count = IF ( ISINSCOPE( Child[Depart]), [Total Count], CALCULATE( [Total Count], ALL(Child[Depart]) ) ) * DIVIDE( [Total Count],[Total Count])
parry2k
7 years agoSuper User
Anonymous hey add following two measures and then use Code Count in your matrix
Total Count = COUNT( Child[Code] )
Code Count =
IF (
ISINSCOPE( Child[Depart]),
[Total Count],
CALCULATE(
[Total Count],
ALL(Child[Depart])
)
) * DIVIDE( [Total Count],[Total Count])Cmcmahan
7 years agoResident Rockstar
Oh man, ISINSCOPE is amazing. It would have solved so many problems I've had with matrices. Thank you for pointing it out!