Hi
I'm trying to make a presentation with a Line chart.
I have a BO called Invoices with two attributes Date and Amount.
Date is a date attribute. Amount is a number attribute.
I would like the x Axis to have Jan, Feb, Mar, Apr,...etc to ... Dec.
And the Y axis to have a SUM of the total Invoices.Amount for each month ie what was the total value of invoices for each month.
Then I would like to have each line be a Year with a different colour eg 2009 is a blue line and 2010 is a green line. So they can compare total invoice amounts in Jan for this year versus last year.
I have a query getting all invoices and a display result being a custom presentation.
In the Presentation Chart in the X Axis I have:
MONTH (Invoices.Date)
and in the Y Axis I have:
SUM Invoices.Amount WHERE (MONTH (Invoices.Date) = MONTH (Invoices.Date))
This isn't working, it is incorrectly:
- doing a cumulative total for invoices for each month
- not showing each year separately (I think I need a group but I'm not sure)
Can anyone provide some tips? I have looked at the report samples bsv but they aren't doing sums and groupings like I am.
Thanks
Rod.