Еженедельные значения на конец отчетной даты

Скачать пример в формате JSON sample.json

Пример данных (100 записей)

dateamount
2021-07-09 00:00:0014149.8
2021-07-02 00:00:0014038.6
2021-06-25 00:00:0014047.7
2021-06-18 00:00:0014136.9
2021-06-11 00:00:0014135.3
2021-06-04 00:00:0014038.3
2021-05-28 00:00:0013992.4
2021-05-21 00:00:0014070.5
2021-05-14 00:00:0014080.7
2021-05-07 00:00:0014064.0
2021-04-30 00:00:0014136.1
2021-04-23 00:00:0013987.8
2021-04-16 00:00:0014012.4
2021-04-09 00:00:0013900.3
2021-04-02 00:00:0013785.1
2021-03-26 00:00:0013774.4
2021-03-19 00:00:0013853.9
2021-03-12 00:00:0013853.6
2021-03-05 00:00:0013827.5
2021-02-26 00:00:0013727.0
2021-02-19 00:00:0013814.7
2021-02-12 00:00:0013781.7
2021-02-05 00:00:0013685.7
2021-01-29 00:00:0013590.2
2021-01-22 00:00:0013644.4
2021-01-15 00:00:0013694.8
2020-12-31 00:00:0013826.3
2020-12-25 00:00:0013741.1
2020-12-18 00:00:0013588.9
2020-12-11 00:00:0013469.8
2020-12-04 00:00:0013381.0
2020-11-27 00:00:0013346.1
2020-11-20 00:00:0013461.0
2020-11-13 00:00:0013477.4
2020-11-06 00:00:0013409.0
2020-10-30 00:00:0013334.5
2020-10-23 00:00:0013422.4
2020-10-16 00:00:0013478.2
2020-10-09 00:00:0013406.4
2020-10-02 00:00:0013301.7
2020-09-25 00:00:0013267.0
2020-09-18 00:00:0013335.1
2020-09-11 00:00:0013283.6
2020-09-04 00:00:0013190.2
2020-08-28 00:00:0013159.1
2020-08-21 00:00:0013220.5
2020-08-14 00:00:0013221.1
2020-08-07 00:00:0013109.5
2020-07-31 00:00:0012996.3
2020-07-24 00:00:0013025.7
2020-07-17 00:00:0013082.3
2020-07-10 00:00:0012980.4
2020-07-03 00:00:0012862.5
2020-06-26 00:00:0012752.9
2020-06-19 00:00:0012781.6
2020-06-11 00:00:0012720.4
2020-06-05 00:00:0012558.8
2020-05-29 00:00:0012378.9
2020-05-22 00:00:0012393.0
2020-05-15 00:00:0012338.8
2020-05-08 00:00:0012198.9
2020-04-30 00:00:0012111.8
2020-04-24 00:00:0011940.4
2020-04-17 00:00:0011895.7
2020-04-10 00:00:0011817.6
2020-04-03 00:00:0011567.2
2020-03-27 00:00:0011483.0
2020-03-20 00:00:0011282.1
2020-03-13 00:00:0011118.0
2020-03-06 00:00:0010986.0
2020-02-28 00:00:0010814.2
2020-02-21 00:00:0010860.0
2020-02-14 00:00:0010854.4
2020-02-07 00:00:0010718.5
2020-01-31 00:00:0010609.1
2020-01-24 00:00:0010668.8
2020-01-17 00:00:0010778.0
2020-01-10 00:00:0010800.7
2019-12-27 00:00:0011066.0
2019-12-20 00:00:0010840.6
2019-12-13 00:00:0010771.5
2019-12-06 00:00:0010617.1
2019-11-29 00:00:0010538.0
2019-11-22 00:00:0010621.2
2019-11-15 00:00:0010672.9
2019-11-08 00:00:0010576.5
2019-11-01 00:00:0010547.2
2019-10-25 00:00:0010567.0
2019-10-18 00:00:0010685.9
2019-10-11 00:00:0010640.4
2019-10-04 00:00:0010583.9
2019-09-27 00:00:0010562.4
2019-09-20 00:00:0010625.4
2019-09-13 00:00:0010661.7
2019-09-06 00:00:0010559.9
2019-08-30 00:00:0010511.0
2019-08-23 00:00:0010578.7
2019-08-16 00:00:0010635.0
2019-08-09 00:00:0010531.1
2019-08-02 00:00:0010422.9