Basically what we are trying to accomplish is as follows:
There is a date filter on a dashboard, there is a bar chart which we want to stay 13 month but those 13 months need to be dynamic such as follow.
Ex: if user selects 1st Jan 2023 to 31st Jan 2023 in date selector, the visual should always display Jan 2023 to Jan 2022
Ex: if user selects 1st Feb 2022 to July 2022 then visual should display Feb 2022 to Feb 2021
Ex: if user selects last month then same way last in this case last month is April so April 2023 till April 2022
Ex: if user select current month then same way May 2023 to May 2022
It should always be 13months display but with calculated 13 months