Forum Discussion

yenyengo7's avatar
yenyengo7
Frequent Visitor
4 years ago
Solved

Using the ALL function when there is grouping or subgroup

I have created a measure with below DAX Total Volume LY = CALCULATE(Sum([Volume_LY]),ALL([Product]))... it works okay. Product Volume_LY Total Volume LY Product 1 5 23 Product 2 4 ...
  • thiagocamillo's avatar
    4 years ago

    Try,

     

    Total Volume LY = 

       CALCULATE(

                 Sum([Volume_LY]), 

                    ALL([Product],

                    ALL([Category]

    )