I've got a table with three Columns
dDate, Sales, Region
1/1/11, 50, 1
2/1/11, 40, 1
3/1/11, 35, 1
1/1/11, 55, 2
2/1/11, 45, 2
3/1/11, 30, 2
1/1/11, 20, 3
2/1/11, 25, 3
3/1/11, 30, 3
I can generate a grouped report based on Region in tabular format by dragging the [Region] into the header portion of the report. I'd like to do the same with a chart. When I insert a chart into the report it uses all the data and doesn't filter it by [region]. In the detail portion of the chart, I've tried to programmatically set the rowsource of the chart using the "on format" event, but got an error.
What should I be looking at to do this?