SQL: Calculate 7 Day Moving Average

SQL: Calculate 7 Day Moving Average

Kenneth Truong

4 года назад

10,737 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Santiago Dávila
Santiago Dávila - 10.10.2023 05:31

Very clear, thanks

Ответить
Bernie TGN
Bernie TGN - 26.03.2021 15:25

Nice video, thanks. Do you know if it is possible to do the same but creating a new calculated column in the database (not a query)? I am trying it but I get the following error: "You cannot use the window function 'avg' in this context".

Ответить
Anna Chan
Anna Chan - 21.03.2021 06:26

skip the first minute - waste of time google sheeting

Ответить
Aquil Malik
Aquil Malik - 09.11.2020 01:12

Thanks a lot for the amazing video, you really made it look easy. How to remove the average data prior 7 days ? since this is 7 days of moving average data, i want the field to show the data from the 7th day and 0or Null value from day 1-6. thanks for your help!

Ответить
NightKingMarhoom
NightKingMarhoom - 28.09.2020 03:40

u made it look so easy.... thank u so much

Ответить
Adamowicz Jacek
Adamowicz Jacek - 01.05.2020 17:51

Nice video
I have a question
How to show only period/days for max/the best moving average?

Ответить
Karthik Panyala
Karthik Panyala - 25.10.2019 01:22

To the point. great video!

Ответить