<dataSourceExpression><![CDATA[$P{REPORT_DATA_SOURCE}]]></dataSourceExpression>
<subreportExpression><![CDATA["src/table/jasper/Blank_A4_1.jasper"]]></subreportExpression>
main report code:
<band height="100"> <subreport> <reportElement x="-20" y="0" width="480" height="100" uuid="65fbc18f-3989-4701-ba4a-da8222d0a54d"> <property name="com.jaspersoft.studio.unit.x" value="pixel"/> <property name="com.jaspersoft.studio.unit.y" value="pixel"/> </reportElement> <subreportParameter name="P_ruleName"> <subreportParameterExpression><![CDATA[$V{Variable_rule}]]></subreportParameterExpression> </subreportParameter> <dataSourceExpression><![CDATA[$P{REPORT_DATA_SOURCE}]]></dataSourceExpression> <subreportExpression><![CDATA["src/table/jasper/Blank_A4_1.jasper"]]></subreportExpression> </subreport> </band>