Forum Discussion

EnochS's avatar
EnochS
Advocate II
9 years ago
Solved

Rolling Average by 5 Weeks (Weekly Report)

Hello,   I have spent 2 days trying to follow what some of the other posts on similar datasets have suggested as a solution but i'm having a hard time grasping how to do replicate it for my dataset...
  • EnochS's avatar
    EnochS
    9 years ago

    Credit tov-ljerr-msft


    Here is what I  tried to do:

     

    5week avg = calculate( 

    Average(
    Jobs_Invoices_Merged[Job Value]),
    DATESINPERIOD ( 'Date'[Date], LASTDATE ( 'Date'[Date] ), -35, DAY ) )

     

    Updated Exported Data: Actual Data Updated.xlsx