Query on Collection variable

Query on Collection variable

Hi,
I have a table "Sales" with 3 field:

Date
Name
Quantity

I execute a fetch on Sales filtering on date and the matching records are contained in the collection variable "data1".

Later I want to execute several queries on data1 using criteria on Name and Quantity.

How can I do this?

Tks