Dave wrote:
you need to associate your QUERY attributes with the relevant LOOKUP
When you are in the ATTRIBUTE definition in the QUERY, it will only allow you to pick lookups that return the same data-type as your attribute. So it sounds like you do not have a dynamic lookup that returns a string data-type (only that returns numeric). You should probably change your query so that the returned attribute is the numeric value (or add another attribute and use that as the filter) then you should be able to pick your dynamic lookup.
--
You will be getting "confused" because for a filter field then you want to be using the numeric value, but you want to be
displaying the text value ; you will probably end up with two attributes in your query then, one to support the filter field and one to support the displayed "list" field.