PC Review


Reply
Thread Tools Rate Thread

append crosstabs

 
 
dtoney
Guest
Posts: n/a
 
      22nd May 2010
can you append the results of several crosstab queries into 1 table?

I'm calc different categories & customers and need to capture "hours" for
each area for several different categories:

Estimates
received - on time? avg days to certify
rejected
certified

Scheduling
received - on time? avg days to certify
rejected
certified

If I could append the results of these several categories into one table, I
could export into Excel, produce my graphs, and go on about my business....

any ideas?
 
Reply With Quote
 
 
 
 
KARL DEWEY
Guest
Posts: n/a
 
      22nd May 2010
I expect it can be done in one crosstab and one append query.

Post the SQL of your crosstabs.

--
Build a little, test a little.


"dtoney" wrote:

> can you append the results of several crosstab queries into 1 table?
>
> I'm calc different categories & customers and need to capture "hours" for
> each area for several different categories:
>
> Estimates
> received - on time? avg days to certify
> rejected
> certified
>
> Scheduling
> received - on time? avg days to certify
> rejected
> certified
>
> If I could append the results of these several categories into one table, I
> could export into Excel, produce my graphs, and go on about my business....
>
> any ideas?

 
Reply With Quote
 
dtoney
Guest
Posts: n/a
 
      27th May 2010
Need to take the weekly count of Under4Days and divide by Total Count by Week
for a %toTotal.

qryEstOperStats_Timely_Est_Diff_under4days_Count

TRANSFORM
Val(Nz(Count(qryEstOperStats_Timely_Est_Diff_under4days.WORK_REQ_NO),0)) AS
CountOfWORK_REQ_NO
SELECT qryEstOperStats_Timely_Est_Diff_under4days.AREA,
Val(Nz(Count(qryEstOperStats_Timely_Est_Diff_under4days.WORK_REQ_NO),0)) AS
[Total Of WORK_REQ_NO]
FROM qryEstOperStats_Timely_Est_Diff_under4days
GROUP BY qryEstOperStats_Timely_Est_Diff_under4days.AREA
PIVOT Format([Week],"YYYY/MM/DD");

qryEstOperStats_Timely_Est_Diff_Count

TRANSFORM
Round(Val(Nz(Count(qryEstOperStats_Timely_Est_Diff.WORK_REQ_NO),0)),0) AS
CountOfWORK_REQ_NO
SELECT qryEstOperStats_Timely_Est_Diff.AREA,
Round(Val(Nz(Count(qryEstOperStats_Timely_Est_Diff.WORK_REQ_NO),0)),0) AS
[Total Of WORK_REQ_NO]
FROM qryEstOperStats_Timely_Est_Diff
GROUP BY qryEstOperStats_Timely_Est_Diff.AREA
PIVOT Format([Week],"YYYY/MM/DD");

The reason I changed the date format to show YYYY first is so the crosstab
results will be in the correct order.


"KARL DEWEY" wrote:

> I expect it can be done in one crosstab and one append query.
>
> Post the SQL of your crosstabs.
>
> --
> Build a little, test a little.
>
>
> "dtoney" wrote:
>
> > can you append the results of several crosstab queries into 1 table?
> >
> > I'm calc different categories & customers and need to capture "hours" for
> > each area for several different categories:
> >
> > Estimates
> > received - on time? avg days to certify
> > rejected
> > certified
> >
> > Scheduling
> > received - on time? avg days to certify
> > rejected
> > certified
> >
> > If I could append the results of these several categories into one table, I
> > could export into Excel, produce my graphs, and go on about my business....
> >
> > any ideas?

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crosstabs with between.. MorganJ Microsoft Access 4 17th Mar 2010 01:34 PM
crosstabs Omar Microsoft Excel Misc 1 29th Jan 2007 12:31 PM
2 crosstabs =?Utf-8?B?Z2VlYmVl?= Microsoft Access Queries 1 11th Jul 2006 02:45 AM
crosstabs Wim Microsoft Access Getting Started 2 24th Oct 2005 01:17 PM
CrossTabs =?Utf-8?B?dGVlbGVl?= Microsoft Access External Data 0 2nd Dec 2004 08:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:52 PM.