I'd like to create a filter like "keep companies with positive earnings for the last 5 years". This would be a lot easier if there's something like .(last five years) or .(five years ago).
I would greatly appreciate some guidance as to how to create such a filter. Thanks in advance.