Jump to content
We've recently updated our Privacy Statement, available here ×

How to produce a report of unpredicted number of charts


lucky7456969

Recommended Posts

Say I can make sub-reports and datasets of a certain number

by pre-creating them. But what if I can't predict how many number of charts are needed in advance

Say the user will input a range of dates, for example, from january 2011 to feburary 2013

or june 2012 to November 2013, there can be a product breakdown for each month

So how can I make such reports?

Thanks

Jack

 

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

1) Create a chart in a sub-report taking year/month as input parameter

2) Put the sub-report in the detail band of the main report

3) Write a SQL in the main report that returns one row for each month/year. For example a group by on year,month in your data or be creative where to get the dates :)

4) Use the year and month fields as input to the sub-report

You will now get one chart for each row (year/month) in the detail band.

Link to comment
Share on other sites

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...