Using data on a Pivot Table in Power Query

zapppsr

Board Regular
Joined
Aug 19, 2010
Messages
189
Hi guys!

I'm generating some data in Excel, via Pivot Table.

In some scenarios, with less complicated data, I used to create a table with the same columns generated in the pivot table, copy and paste the data from the pivot table to the table, in order to use it in the data model on Power Pivot. This approach is fine, but involves manual copy and paste.

In other scenarios, I did a query in the Excel Workbook where the pivot table was, querying the sheet containing the pivot table, NOT the table (because there wasn't any), cleaned the garbage and got the data I want.

Now, I'm about to use data generated in 10 pivot tables in a workbook, which I have to merge in one single categorized data set.

That makes me wonder and it doesn't hurt to ask if there is a better way to use the data generated in the pivot table such as adding the pivot table to data model or to a table automatically.

You may wonder where the data from the pivot table comes, and it comes from a cube directly from the Analysis Service connection, and it is generated through a series of complex filtering, that's why I didn't connected to the cube in Power Pivot in the first place.

So, I ask if there is any way to performe this data extraction and adding to data model better that creating 10 queries in 10 sheets containing 10 pivot tables.

Best regards,
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,224,163
Messages
6,176,814
Members
452,744
Latest member
Alleo

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