Charts

D Willett
SilverLounger
Posts: 1728
Joined: 25 Jan 2010, 08:34
Location: Stoke on Trent - Staffordshire - England

Charts

Post by D Willett »

Hi. I've used the chart wizard to create a chart based on 6 members of staff and resulting data. The chart is only returning results for one member which I am assuming is alphabetical. How do I create a chart which returns all results for all members of staff?

Cheers
You do not have the required permissions to view the files attached to this post.
Cheers ...

Dave.

User avatar
HansV
Administrator
Posts: 78440
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Charts

Post by HansV »

What is the Row Source of the chart control?
Best wishes,
Hans

D Willett
SilverLounger
Posts: 1728
Joined: 25 Jan 2010, 08:34
Location: Stoke on Trent - Staffordshire - England

Re: Charts

Post by D Willett »

The row source of the chart control is:
SELECT [EstimatorCode],Sum([Notification to On Site]) AS [SumOfNotification to On Site] FROM [qryK2K-Summary] GROUP BY [EstimatorCode];
which is in the report footer.

The record source of the report is:qryK2K-Summary
SELECT qryK2K.EstimatorCode, Avg(qryK2K.[Notification-OnSite]) AS [Notification to On Site], Avg(qryK2K.[OnSite-Handover]) AS [On Site to Handover], Avg(qryK2K.[OnSite-InProgress]) AS [On Site to In Progress], Avg(qryK2K.[InProgress-Complete]) AS [In Progress to Complete], Avg(qryK2K.[Complete-Handover]) AS [Complete to Handover], Avg(qryK2K.[Notification-Invoice]) AS [Notification to Invoice]
FROM qryK2K
GROUP BY qryK2K.EstimatorCode;
Cheers ...

Dave.

User avatar
HansV
Administrator
Posts: 78440
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Charts

Post by HansV »

What happens if you set the Row Source to qryK2K-Summary ?
Best wishes,
Hans

D Willett
SilverLounger
Posts: 1728
Joined: 25 Jan 2010, 08:34
Location: Stoke on Trent - Staffordshire - England

Re: Charts

Post by D Willett »

I still get one member of staff details but there are more bars of data.
Cheers ...

Dave.

User avatar
HansV
Administrator
Posts: 78440
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: Charts

Post by HansV »

Try changing the chart type.
Best wishes,
Hans

D Willett
SilverLounger
Posts: 1728
Joined: 25 Jan 2010, 08:34
Location: Stoke on Trent - Staffordshire - England

Re: Charts

Post by D Willett »

I think its because of the Link Master and Child properties. Leaving them blank returns my records !!
Cheers Hans
Cheers ...

Dave.