Forum Discussion

nmckbcs's avatar
nmckbcs
Icon for Helper I rankHelper I
7 years ago
Solved

Simple Average/SUMMARIZE dax function

Hello, I am using a AVERAGEX(SUMMMARIZE formulat to get an avg for a net promoter type calculation by month. I am also showing the percentage of each response and bucketing those in happy, mad, or ...
  • v-yulgu-msft's avatar
    7 years ago

    Hi nmckbcs,

     

    Please refer to below measure:

    AVG_Category_Breakdown2 =
    SUMX ( VALUES ( 'download to use'[Month] ), [Category_Breakdown] )
        / CALCULATE (
            DISTINCTCOUNT ( 'download to use'[Month] ),
            ALL ( 'download to use' )
        )

     

    Best regards,

    Yuliana Gu