I have a dataset.
Arbitrary sample attached.
I need to split this data into vertical stacked tables grouped by quarters and also by another column called status. 1 type of status and another type of status for consecutive quarters.
Grouping must be done only until the quarters of 1 year down the line.
Like if data is starting with date in any quarter of 2023, grouping is being done only until 2024 end.
Like for data of 2025 it's all in 1 table.