Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

need help on filter measure

Hi all,   I have a data structure which looks like the below.      Now I would like to have a measure that gives me the below result. When I would filter a department, I need to see the to...
  • v-janeyg-msft's avatar
    v-janeyg-msft
    4 years ago

    Anonymous 

     

    I wrote it according to the needs described in your sample......You didn't mention AJB4.

    If you want all to show 500, you just need to truncate part of my original formula.

     

    SUM ( 'WBS cost'[Cost] )
            / CALCULATE (
                SUM ( 'Allocation Key Hours'[Hours] ),
                ALL ( 'Allocation Key Hours' )
            ),

     

    Best Regards,

    Community Support Team _Janey