chorsell_1 Posted October 27, 2014 Share Posted October 27, 2014 I have used Jaspersoft Studio to create a HTML5 Chart. In my database i have a date field. How do you set a filter control so that when someone runs a report they can select a date range so select data? Same process as when you have originally created a report in Ad-hoc and added between filter that you can then select. As I created this report directly in Studio I do not know how to do this. Any help greatly appreciated. Link to comment Share on other sites More sharing options...
asimkin Posted October 27, 2014 Share Posted October 27, 2014 Hi,if I've got your requirements correctly, you should add 2 parameters to the report to filter data as described in the article below:https://community.jaspersoft.com/wiki/using-report-parameters-jaspersoft-studioThen, when you publish the report to a JasperReports Server, input controls will be automatically generated to filter the report data Link to comment Share on other sites More sharing options...
chorsell_1 Posted October 28, 2014 Author Share Posted October 28, 2014 Thank you very much this worked. Although I had to change class to java.sql.TimestampMuch appreciated.Only problem i have now is that i have calculated fields done in the server but they do not show up in Studio. 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