Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

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...
  • parry2k's avatar
    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])