G
Guest
I have tried to take the SQL generated by two crosstab queries and UNION them
together but I am getting Errors...
TRANSFORM Sum([Test-Apps].Applications) AS SumOfApplications
SELECT [Test-Apps].Type
FROM [Test-Apps]
GROUP BY [Test-Apps].Type
PIVOT [Test-Apps].Eligibility;
I want to Union with...
TRANSFORM Sum([Test-students].Students) AS SumOfStudents
SELECT [Test-students].Type
FROM [Test-students]
GROUP BY [Test-students].Type
PIVOT [Test-students].Eligibility;
How do I accomplish this?
Each returns 1 row, so the result should be 2rows, Each have the same field
names. I was able to do a make table on each, but I need this to run
seamlessly by executing a report that calls the UNION query.
together but I am getting Errors...
TRANSFORM Sum([Test-Apps].Applications) AS SumOfApplications
SELECT [Test-Apps].Type
FROM [Test-Apps]
GROUP BY [Test-Apps].Type
PIVOT [Test-Apps].Eligibility;
I want to Union with...
TRANSFORM Sum([Test-students].Students) AS SumOfStudents
SELECT [Test-students].Type
FROM [Test-students]
GROUP BY [Test-students].Type
PIVOT [Test-students].Eligibility;
How do I accomplish this?
Each returns 1 row, so the result should be 2rows, Each have the same field
names. I was able to do a make table on each, but I need this to run
seamlessly by executing a report that calls the UNION query.