pentaloc Posted July 5, 2012 Share Posted July 5, 2012 Hi, I want to create a bar chart to compare two different years. There is only one sql query and one year parameter ($P{year}) because I think only one Dataset can be used for a chart. (If not I would use two datasets with two different year parameter…) Here is my category series for the current year:Series expression: $P{year}Category exp: $F{year}.compareTo($P{year})?$F{month}:"nothing"Value expression: ${sales} It works fine and I get all the right bars but there is one bar with the label “nothing” and the value of a other year. I don’t want this additional bar :P How can I solve this? Need more info?^^Post Edited by pentaloc at 07/06/2012 06:59 Link to comment Share on other sites More sharing options...
pentaloc Posted July 6, 2012 Author Share Posted July 6, 2012 - solved - 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