lucky7456969 Posted November 24, 2013 Share Posted November 24, 2013 Say I can make sub-reports and datasets of a certain numberby pre-creating them. But what if I can't predict how many number of charts are needed in advanceSay the user will input a range of dates, for example, from january 2011 to feburary 2013or june 2012 to November 2013, there can be a product breakdown for each monthSo how can I make such reports?ThanksJack Link to comment Share on other sites More sharing options...
nicolaifriis Posted November 26, 2013 Share Posted November 26, 2013 1) Create a chart in a sub-report taking year/month as input parameter2) Put the sub-report in the detail band of the main report3) 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-reportYou will now get one chart for each row (year/month) in the detail band. 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