Unpivot with Powerquery and add column

bullit_nl

Active Member
Joined
Jun 27, 2002
Messages
280
Hello,

I have a question about un-pivoting with Powerquery.

On my basis data sheet I made a table of the data. This data I unpivot with PowerQuery.
This generates a new sheet named PowerQuery. On this sheet I now have the Unpivot data.

I want to use the data (unpivot) from the sheet PowerQuery to make a Pivot Table.
For this Pivot Table I need some extra coloumns so I added these columns to the sheet PowerQuery created.
Then I mande my Pivot Table.

Now if I add data to my table on the basis data sheet and refresh the powerQuery sheet the extra columns are gone.

I just started with using PowerQuery so maybe I'm doing somthing the wrong way.
What would be the right way to do this?

Thanks
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
*Note: The menu and option names are probably different since I am translating from Spanish.

You can normally solve extra column problems by checking the 'Keep sorting, filters and design' option in the 'External Data Table Properties' dialog. You can find this dialog by right clicking any cell in the table and choosing 'Table' => 'Query Properties'.

If you manually enter data into the table, I would recommend Matt Allington's Self Referencing Tables approach.

I hope it helps.
 
Upvote 0

Forum statistics

Threads
1,215,065
Messages
6,122,945
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top