help creating a 3-way pivot

W

webicky

Currently, I have a two way Pivot and would like to add a third layer:
Is that possible?

What I have gives me Score by Grade and Test with the scores at each
grade/test level. I'd like to add the Counts at each grade/test level
(var name: Students Tested) as well.

Here is what I haveL
TRANSFORM Sum([Final table: Gr6-8, Subgr1 - test 7,8,9,11].[Score]) AS
theValue
SELECT [Final table: Gr6-8, Subgr1 - test 7,8,9,11].p_id, [Final
table: Gr6-8, Subgr1 - test 7,8,9,11
FROM [Final table: Gr6-8, Subgr1 - test 7,8,9,11]
GROUP BY [Final table: Gr6-8, Subgr1 - test 7,8,9,11].p_id, [Final
table: Gr6-8, Subgr1 - test 7,8,9,11].[Matching xyz], [Final table:
Gr6-8, Subgr1 - test 7,8,9,11].name, [Final table: Gr6-8, Subgr1 -
test 7,8,9,11].d_name
PIVOT [Grade] & "." & [Test];


Is there a way to do this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top