WHERE $X{IN,PES.PES_NOME,Nome} The above command returned the following error: net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRRuntimeException: Invalid type java.lang.String for parameter Name used in an IN clause; the value must be an array or a collection ... Emphasizing that the database is Sql Server, then the query syntax must be accepted in this SGDB. Working with OR would work, but I put a simple example. I have reports in another generator with more than 20 parameters, to modify all the reports and using OR, it gets complicated, in addition to worsening the performance, since the number of parameters at least will double!