Hi Kacper, Thanks for your reply. My 'problem' is that I have my filter expression as a string, for example "new Boolean($F{field1}.startsWith(\"Am\"))". I can pass this as a parameter to the subreport, and fill the filterExpression with this parameter, but it is a String (and not a Boolean). The subreport should be filled using different filters for example: "new Boolean($F{field1}.startsWith(\"Am\"))" "new Boolean($F{field2}.equals(\"To\"))" And these filters are defined in a field of the parent report's dataset. Somehow, I need the filter string to be converted to an expression, and insert it to the JRFillDataset instance handling the datasource. Best regards, Theo