Hi all,
How can I get years to appear as separate lines in a line graph in a pivot chart?
I have a date in records that is the date the record was opened. I have multiple forms displayed as pivot charts in separate subreport controls on a report.
One of the pivot charts currently charts the files that are opened over the last 90 days for a user selected facility (each main file has a field that represents the facility).
What I would like is to have months displayed on the x-axis, but instead of having the x-axis span multiple years, I'd like records from different years to appear as different lines in the graph.
So, for my 'last 90 days' chart, what I'd really like one line for the last 90 days, one for the same period last year, and one for the same period the year before that (assuming three years worth of records). That would mean that the graph would only display at most 4 months in the x-axis.
For the 'all time' chart, 12 months would be displayed (Jan-Dec)but no duplicate months (since records from different years would have their own lines).
Is that possible? Do I need to pull out the years separate from the months in the date field? Would a crosstab query make this possible?
Thanks for any feedback,
T
How can I get years to appear as separate lines in a line graph in a pivot chart?
I have a date in records that is the date the record was opened. I have multiple forms displayed as pivot charts in separate subreport controls on a report.
One of the pivot charts currently charts the files that are opened over the last 90 days for a user selected facility (each main file has a field that represents the facility).
What I would like is to have months displayed on the x-axis, but instead of having the x-axis span multiple years, I'd like records from different years to appear as different lines in the graph.
So, for my 'last 90 days' chart, what I'd really like one line for the last 90 days, one for the same period last year, and one for the same period the year before that (assuming three years worth of records). That would mean that the graph would only display at most 4 months in the x-axis.
For the 'all time' chart, 12 months would be displayed (Jan-Dec)but no duplicate months (since records from different years would have their own lines).
Is that possible? Do I need to pull out the years separate from the months in the date field? Would a crosstab query make this possible?
Thanks for any feedback,
T