Data recycling allows you to keep data from a selected period in your structure and delete the rest.
Recycling Data from a Structure
When creating or editing a structure, go to step 4 – Standardization and look for "Data Recycling

Activate the functionality, in the "Field" option select which time dimension the data recycling will fetch

Then select the periodicity you want to keep the data, in this example the framework will keep the last 3 months of data based on the Data Refresh Date

Click next and save the structure
Observation:
If you are editing a structure, the changes will take effect when you run the next data load