Forum Discussion

AlexanderRbt's avatar
AlexanderRbt
Helper I
6 years ago
Solved

Creating average grouped by multiple grouping variables

Hi all,   I would like to create a measure that represents the average of two (or potentially more) categories.   My data looks like this   User  Cat_A       Value 1       East         30 1...
  • SteveCampbell's avatar
    SteveCampbell
    6 years ago

    Try:

    Average of response average per CAT= 
    CALCULATE(AVERAGE('answers_valid'[value]),
    ALLEXCEPT('my_data','my_data'[Cat_A],'my_data'[Cat_B]))

     

    Appreciate your Kudos
    Connect with me!

    Stay up to date on  
    Read my blogs on