List Control and Data Series - Using Argument Arrays in SQL Queries
You can now use an IN clause with an argument array in the SQL query for a Data Series or List Control.
SELECT customerId FROM customers where country IN (:array_whatCountry)
Notice that when using an IN clause with arguments, the argument name must start with array_. Also notice that the argument reference in the SQL statement is in parentheses.