Hello - I'm trying to transpose multiple columns into two columns in access (second column being the title) access data currently looks like this
Period01 Period02 Period03
120 200 500
110 300 600
200 400 700
I want it to look like this:
January 120
January 110
January 200
February 200
February 300
February 400
ETC
I created this query but I'm getting an error message o incorrect spelling/punctuation
SELECT [Period01] as Month, [January] as value
FROM Summary_ALL
WHERE [Period01] IS NOT NULL
UNION ALL
SELECT [Period02] as Month, [February] as value
FROM Summary_ALL
WHERE [Period02] IS NOT NULL
UNION ALL
SELECT [Period03] as Month, [March] as value
FROM Summary_ALL
WHERE [Period03] IS NOT NULL
UNION ALL
SELECT [Period04] as Month, [April] as value
FROM Summary_ALL
WHERE [Period04] IS NOT NULL
Any insight is appreciated!
Period01 Period02 Period03
120 200 500
110 300 600
200 400 700
I want it to look like this:
January 120
January 110
January 200
February 200
February 300
February 400
ETC
I created this query but I'm getting an error message o incorrect spelling/punctuation
SELECT [Period01] as Month, [January] as value
FROM Summary_ALL
WHERE [Period01] IS NOT NULL
UNION ALL
SELECT [Period02] as Month, [February] as value
FROM Summary_ALL
WHERE [Period02] IS NOT NULL
UNION ALL
SELECT [Period03] as Month, [March] as value
FROM Summary_ALL
WHERE [Period03] IS NOT NULL
UNION ALL
SELECT [Period04] as Month, [April] as value
FROM Summary_ALL
WHERE [Period04] IS NOT NULL
Any insight is appreciated!