Jump to content
Changes to the Jaspersoft community edition download ×

page duplication


Recommended Posts


I've a problem with iReport.

I have made a report with this query:


SELECT to_char(date,'HH') as ora, element as campo


WHERE Field1 = $P{parm1}

AND Field2 = $P{parm2}

GROUP BY to_char(date,'HH')


SELECT hour as ora, 0 as campo

from HOURS

WHERE hour not in (SELECT to_char(date,'HH') as

ora, element


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.


Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...