Hello guys.
I am having trouble to create an IF CLAUSE. Basically I have a Dataset which contains financial values of investiment funds, and this dataset is public data, updated every day. (For the example I used 2020 data).
Due to data, I have separed the dates by months using "DateTimeMonth". The issue is that I need to EXCLUDE or SEGREGATTE Investiment Funds that dont have any sort of financial movimentation for 12 months or, for example 3 months.
Example: CNPJ = National Register of Legal entity.
This one "00.822.055/0001-87" only had movement on the months of 4.;6.; > 9. So, it could be excluded.

The problem is that I'm unable to think of a if clause that represents that logic to automate the analysis. Do you guys have any ideas?
Maybe creating a formula that exclude the investiment fund if it does not have movementations for more that 6 months for example..
I can only put 5 archives here in the post, sorry about that. Each archive represents a month
Thank you!