belafkih.hayat Posted October 27, 2017 Share Posted October 27, 2017 Hello,I need display the top N values as bars charts, i tried to set the limit key word in sql request as :select values from items order by values desc limit 0, $P{LIMIT_ROW}[/code]but the parameter LIMIT_ROW is not rocognized !Is there a way to specify the number of bars without sql request.Thanks in advance for any Help.H.B Link to comment Share on other sites More sharing options...
reportdev Posted October 27, 2017 Share Posted October 27, 2017 instead of $P{LIMIT_ROW}, use $P!{LIMIT_ROW} Link to comment Share on other sites More sharing options...
belafkih.hayat Posted October 30, 2017 Author Share Posted October 30, 2017 thank you reportdev, but $P!{LIMIT_ROW}[/code]not workingi used $P{LIMIT_ROW}, it worked perfectly even if i see that the expression is not accepted in the assistant of chart, but it working when i run it in java code.Hayat 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