Skip to main content

I would like to get the running average of the past 7 days. As an example,

the value 20 (highlighted in yellow in the first image) is calculated by doing the average of the previous 7 days (highlighted in yellow in the second image).

the value 18.57  is calculated by doing the average of the previous 7 days.

Thank you

How can I get the running average of the past 7 days pastedImage_1.png

I tried this in Tableau, but my calculations on My avg. of the last 7 days are not correct. You can see that they do not match (highlighted in yellow in the below image)

pastedImage_6.png

Also, I would like to replicate this solution for the standard deviation.

Thank you in advance for all your help,

4 answers
  1. Apr 3, 2019, 12:44 PM

    like this

     

    like this Jim If this posts assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the question.

     

    pastedImage_0.png

     

    Jim

     

    If this posts assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the question. This will help other users find the same answer/resolution.  Thank you.

0/9000