ts145nera Posted March 1, 2007 Share Posted March 1, 2007 Hi, I've a problem with iReport.I have made a report with this query: SELECT to_char(date,'HH') as ora, element as campoFROM TABLEWHERE Field1 = $P{parm1} AND Field2 = $P{parm2}GROUP BY to_char(date,'HH')UNIONSELECT hour as ora, 0 as campofrom HOURSWHERE hour not in (SELECT to_char(date,'HH') as ora, element FROM TABLE WHERE Field1 = $P{parm1} AND Field2 = $P{parm2} GROUP BY to_char(date,'HH')) With query result I have made a chart, but when I run the report the chart is repeated 24 times, one for each hour.WHY??? Link to comment Share on other sites More sharing options...
jmurray Posted March 5, 2007 Share Posted March 5, 2007 You have put the chart into the detail section. Put it in a Footer or Summary section instead 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