visualize data in chart for variable periods on user selection
I have a table with weekly data with weekly timestamp for more than a year. I want to show the data in a line chart but based on user selection for the duration like either last 1 month , 2 months or 4 months stored in a variable. how can it be done in ? INPUT :