Transform

zezo2021

Member
Local time
Today, 20:36
Joined
Mar 25, 2021
Messages
415
Hello friends

I need to transform the attached table to new table

You will see explain in Excel
Source Table
Transform Table

How can I do that using query

Thank you in advance for your help
 

Attachments

Very similar thread going on right now about this:

 
demo of what you need.
 

Attachments

In Access that would be a UNION query.
SELECT Project, Function, Category, Key, [2020-2040] AS Value, "2020-2040" AS SrceDate FROM table
UNION SELECT Project, Function, Category, Key, [1Q20], "1Q20" FROM table
UNION SELECT Project, Function, Category, Key, [2Q20], "2Q20" FROM table;

If you want to do in Excel Power Query that would be an UNPIVOT https://support.microsoft.com/en-us...during a refresh operation are also unpivoted..
 

Users who are viewing this thread

Back
Top Bottom