Skip to main content
|

PowerPivotPro's FAQ Site

Go Search
  
PowerPivotPro's FAQ Site > The Great PowerPivot FAQ > Where is the data stored that PowerPivot for Excel collects and uses?  

The Great PowerPivot FAQ: Where is the data stored that PowerPivot for Excel collects and uses?

Title

Where is the data stored that PowerPivot for Excel collects and uses? 

Answer

PowerPivot for Excel internally builds a SQL Server Analysis Services (SSAS) DB as you define and create a PowerPivot application (PowerPivot Model). The data is highly compressed (see related posts on this FAQ site regarding data compression) and resides within the .xlsx file itself in the SSAS DB format....Don't Believe Me?
 
Create a sample PowerPivot application in Excel 2010 and save the resulting file to your local file system. Next, rename the .xlsx file extension to .zip and save the file. Now open the resulting .zip file and navigate to the xl\customData directory. The .data file is where the PowerPivot data and thus the SSAS DB model resides...Still Don't Believe Me?
 
Stop an accessible SSAS 2008 R2 instance. Modify it's msmdsrv.ini file (located in the msas10_50 config directory) and place a value of 1 inside of the <IMBIMode> tags. Restart the SSAS 2008R2 instance, which should now be running in IMBI Mode.
 
Create and save a copy of the .data file inside of your .zip file to the local file system. Rename the .data extension to .abf (Analysis Services Backup file extension) and restore the new .abf file to the SSAS 2008R2 instance running in IMBI Mode.
 
You can now explore the PowerPivot application's SSAS DB and even browse (pivot) on it's data in Management Studio.
 
It is for these very reasons that you can use the available SSAS APIs to query PowerPivot Models because at the end of the day that is what the UI is creating.

Client/Server

Client 

Topic

C - Open/Save 

Purpose

Information 

Answered?

Yes 

Contributor

Derek Comingore 

Título

Onde estão armazenados os dados que o PowerPivot for Excel coleta e utiliza? 

Resposta

O PowerPivot for Excel constrói internamente uma base de dados do SQL Server Analysis Services (SSAS) quando você define e cria uma aplicação PowerPivot (PowerPivot Model). Os dados são altamente comprimidos (veja os tópicos deste FAQ sobre a compressão do PowerPivot) e residem dentro do próprio arquivo .xlsx no formato de uma base SSAS..... Não acredita em mim?
 
Crie uma aplicação PowerPivot no Excel 2010 e salve o arquivo resultante no seu sistema de arquivos local. Na sequência renomeie seu arquivo .xlsx para .zip e salve o arquivo. Agora abra o arquivo .zip resultante e entre no diretório xl\customData. O arquivo .data é os dados do PowerPivot e o modelo do banco SSAS residem.... Ainda não acredita em mim?
 
Pare uma instância do SSAS 2008 R2. Modifique o arquivo msmdsrv.ini (localizado no diretório de configuração msas10_50) e coloque o valor 1 dentro da tag <IMBIMode>. Reinicie a instância do SSAS 2008 R2, a qual deverá estar rodando em modo IMBI (IMBI Mode).
 
Crie uma cópia do arquivo .data de dentro do seu arquivo .zip no seu sistema de arquivos. Renomeie a extensão de .data para .abf (arquivo de backup do Analysis Services) e faça um restore do novo arquivo .abf na instância do SSAS 2008R2 que está rodando em modo IMBI.
 
Você pode agora explorar a base de dados SSAS do seu PowerPivot e até mesmo navegar (pivot) nos dados através do Management Studio.
 
É exatamente por estas razões que você pode usar as APIs disponíveis do SSAS para consultar os modelos do PowerPivot, porque no final das contas é isso o que a UI (user interface) está criando.

Frage

Wo werden die PowerPivot Daten in Excel gespeichert? 

Antwort

 

preRTM

 
Attachments
Created at 1/11/2010 9:05 PM  by Derek Comingore 
Last modified at 4/23/2010 12:53 PM  by Jochen Juelke