Filter partners by products sold in Marketing target list

Hello,

I am trying to send a marketing campaign to all customers that have purchased certain product(s) during the past 6 months. Is there a way to create a filter in Target List to select these customers?

If not can I add a custom filter through code, so the user can select it and possibly select the product(s) to filter on?

Any other options?

I think this is a pretty standard practice and expected this would be simple but it appears it is not.