jkeri Posted April 18, 2018 Share Posted April 18, 2018 I have an Excel worksheet that has a field called 'LOCATION' . My Jasper report will read the Excel worksheet and report the contents. The report will have a paramater, P_LOCATION that the user enters a value and only those 'LOCATIONS will be reported. My question is: Since there isnt any SQL query, how can I report only the locations i need? Link to comment Share on other sites More sharing options...
szaharia Posted April 18, 2018 Share Posted April 18, 2018 You could use a filter expression in your dataset, like the following:<filterExpression><![CDATA[$F{LOCATION}.equals($P{P_LOCATION})]]></filterExpression> Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now