PowerPivot: is it possible to use a pivot table as a data source?

Plexus

New Member
Joined
Jul 20, 2016
Messages
34
Hi,

I do not believe it is possible, but has anyone a workaround to use a PowerPivot pivot table as a data source in the same Workbook? I did read it can be done using PowerQuery, but I get the same error.

The error I get is:

[FONT=&quot]"The selected range is invalid. Select a valid range. (A table cannot overlap a range that contains a PivotTable report, query results, protected cells, or another table.)"

Thanks,

Plex.[/FONT]
 
I'm pretty sure you can't do this directly. Do you not have the source data? Unpivoting the table is another option (either via Power Query or regular Excel).
 
Upvote 0

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
I'm pretty sure you can't do this directly. Do you not have the source data? Unpivoting the table is another option (either via Power Query or regular Excel).

Thanks for the help sheetspread. I have decided against this option. I am actually trying to workaround due to lack of DAX skills. I have therefore gone for the simple option of exporting and re-importing the data.

I am also working on the DAX solution, but it is hard work. I am attempting to apply a complicated calculation on different levels of granularity. I will probably end up back here once again asking for help once I have got the DAX as far as I can.

Thanks again for your support, its most appreciated.
 
Upvote 0
There are two ways you can use a pivot table as a data source for Power Pivot.

  1. Use the worksheet or Excel tab as the source for Power Query. PQ will read the entire sheet/tab including the pivot table. You can then proceed to transform the data anyway you like. Be aware that the size of the pivot table could change due to changes in the source of the pivot table.
  2. Convert your pivot table to cube functions using OLAP. Then the pivot table can be treated as any other range / table and can be loaded to data model.
Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,223,574
Messages
6,173,141
Members
452,501
Latest member
musallam

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