Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Weekly measures returning blanks!

Hi there,    I'm hoping someone might be able to help me!   I'm trying to create weekly measures (using daily data), and they keep returning blank values. I've tried so many different versions of...
  • v-gizhi-msft's avatar
    v-gizhi-msft
    6 years ago

    Hi,

    Please try to use this measure to show Average engagement for this week:

    Average engagement rate for this week =

    AVERAGEX (

        SUMMARIZE (

            DateKey,

            'DateKey'[Date],

            "T", AVERAGEX (

                FILTER (

                    ALLSELECTED ( DateKey ),

                    'DateKey'[Week #] = SELECTEDVALUE ( 'DATA'[WEEK NUM] )

                ),

                [Ave Eng Rate]

            )

        ),

        [T]

    )

    And the result shows:

    Here is my test pbix file:

    pbix 

     

    Best Regards,

    Giotto Zhi