I have a situation where I have sales for at a daily level starting from Jan 2020 to date at an SKU level. I want to show in the chart the months and the sales against it. The only condition is that it should always be the next 30 days sales.
Jan ( 1st as nothing is selected)- Jan 30th : 2000
Feb(1st as nothing is selected)- Feb 29th :4000
and so on. As soon a user selects a day the bracket of 30 days should shift
The user selects 15 as a day:
Jan ( 15th)- Feb 15thth : 7000
Feb(15th)- Mar 16th :5000
In the below example I have selected 19th March but I get April (as the bracket is from 19th Mar - 19th Apr) also a month in the month which I don't want. I want the whole sum of 436932 in Mar bracket
If Ruben's post got you what you needed, please be sure to close the thread by using the Accept as Solution button on his post. This gives him credit for the help and lets other Members know it worked.
The only additional thing I have to try to help is the following Design Blog post:
To help users find verified answers, please do not forget to use the "Accept as Solution" button on any post(s) that helped you resolve your problem or question. I now work a compressed schedule, Tuesday, Wednesday and Thursday, so those will be the days I will reply to any follow-up posts.
I normally use it like that. The difference is that in my case I always create a variable 'vRolling' and I use an input box to select the number of days, month, years that I want to select backwards or forwards.
Example considering the number of 'vRollingMonth' backwards "selected in an input box" from month(today)