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

One chart in each group


mquinteiro
Go to solution Solved by riodavid,

Recommended Posts

Hi, I'm using Jasper Report Studio, and I'm cat achieve make chars with the info of a group.

I have a data view similar to this one, lets call it sales

 

ProductSaleDateQtty
A2018/01/057
A2018/01/056
B2018/01/051
B2018/01/054
A2018/01/102
A2018/02/057
A2018/02/056
B2018/02/051
B2018/02/054
A2018/02/102

I whant to do a report with groups by month. In each month I want a chart with the sales of each product (Y) by day of the month (X) and series by product

So I did a report with the query

select product.SaleDate, sum(Qtty) from sales 

In the report I whant to have a Group band called MonthGRP

And in that group I want the chart.

In the detail I want all the sales of that month.

The problem is that I only get total chart (not grouped by month) in each Month.

I've tryed to put the reset field to MonthGRP but then I only get the first month all months.

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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