Extracting static data from powerpivot without pivot tables

masplin

Active Member
Joined
May 10, 2010
Messages
413
I started with an excel table as follows

User ID Static1 Static2

I linked to powerpivot and created a bunch of calculated measures so powerpivot window looks like

UserID Static Static2 Calc1 Calc2 etc

I want to output the powerpivot back into excel with the same headings just as rows of data. As far as I know pivot tables cannot output values like names just a count of names or similar. So far the only way I can do it is to copy the whole of the powerpivot window into excel and then format it, but all numbers come out as text.

Is there an intelligent way to output the powerpivot raw data?
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
If you are trying to get a PowerPivot table into Excel, then you can simply query it. The easiest way to set that up is to first create any pivot table based on you PowerPivot data. Then double-click the measures area to drill-through. This creates a table with a connection to your PowerPivot model. Then edit the command text by going to: Data > Connections > Properties > Definition tab > Command Text. Change it to something like
Code:
EVALUATE Table1
and then refresh it.
 
Upvote 0
Not sure I'm using that correctly as just want the contents of the table not perform any function on it.

Tried
Code:
summarize(gyms,gyms[gymID],gyms[gym name])
As my table is called gyms. This says "An MDX statement was expected". do I need to have something that is summed?

thanks

Mike
 
Upvote 0
If you are trying to get a PowerPivot table into Excel, then you can simply query it. The easiest way to set that up is to first create any pivot table based on you PowerPivot data. Then double-click the measures area to drill-through. This creates a table with a connection to your PowerPivot model. Then edit the command text by going to: Data > Connections > Properties > Definition tab > Command Text. Change it to something like
Code:
EVALUATE Table1
and then refresh it.

I have a similar need, but I'm afraid I don't understand some parts of your instructions here. Please excuse my inexperience with PowerPivot (and, really, with Excel in general), but could you be more precise and detailed so that I can follow your directions? For example, you say to "double-click in the measures area to drill-through", but I can't figure out what the "measures area" is (told you I was inexperienced!).

Thank you very much for any assistance you can provide.
 
Upvote 0
The area in the pivot table where the values are, as opposed to the row labels and column labels.
It might be easier to use DAX Studio to execute DAX queries against your PowerPivot model..
 
Upvote 0

Forum statistics

Threads
1,224,091
Messages
6,176,299
Members
452,720
Latest member
Quazlat

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