Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 16420

running total based on week numbers

$
0
0
Year-WeekYear - Monthrunning count of users
21w522021-Dec10
22w012022-Jan20
22w022022-Jan30
22w032022-Jan40
22w042022-Jan50
22w052022-Jan60
22w052022-Feb60
22w062022-Feb65
22w072022-Feb70
22w082022-Feb75
22w092022-Feb80
22w092022-Mar80
22w102022-Mar85

In the above table data, 22w05 and 22w09 is showing for two months because the date range for 22w05 is "January 31, 2022 February 6, 2022" & 2209 is "February 28, 2022 March 6, 2022".That particular week count should divide with 5 and. Split the count based on days in the each month.

Below is the example output.

Year-WeekYear - Monthrunning count of users
21w522021-Dec10
22w012022-Jan20
22w022022-Jan30
22w032022-Jan40
22w042022-Jan50
22w052022-Jan12
22w052022-Feb48
22w062022-Feb65
22w072022-Feb70
22w082022-Feb75
22w092022-Feb16
22w092022-Mar64
22w102022-Mar85

Viewing all articles
Browse latest Browse all 16420

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>