You can create new SSRS reports, Excel reports, or PPS Dashboard reports based on PowerPivot workbooks that are published in a SharePoint PowerPivot Gallery. PowerPivot data access on a server is supported through SharePoint 2010 with SQL Server 2008 R2.
You can use either Report Designer in BIDS or Report Builder to access the PowerPivot data. The Reporting server could be in native mode or in SharePoint integrated mode. Not like the Excel reports which include embedded data, SSRS reports always access PowerPivot data as an external data source.
In order to support PowerPivot connections from Report Designer, you must have the SQL Server 2008 R2 OLE DB Provider for Analysis Services installed. Windows authentication is also required to integrate between the SSRS server and the PowerPivot server. More information could be found at http://msdn.microsoft.com/en-us/library/ee210631.aspx.
Steps for SSRS Reports:
- Create a new Report Server Project in Visual Studio 2008 or BIDS
- Add new data source in Share Data Source
- Using the Microsoft SQL Server Analysis Services Type with Connection String pointed to the SharePoint location for the PowerPivot spreadsheet, for example: Data Source="http://SharepointServerName/PowerPivot Gallery/PowerPivotDemo.xlsx"
- Click on the Credentials tab to set the Authentication to be Windows and click on OK button.
- Add a new report and select the Share data source just created, then click on Next.
- Click on the Query Builder button
- The Query Designer will be opened with a Sandbox cube
- You now should be able to work on your MDX query to get your result as needed.
You could also create new Excel reports to access the PowerPivot workbooks that you have permissions with.
Steps for Excel Reports:
- Open Excel, go to Data tab and select From Data Connection Wizard on Other Sources menu
- On the Data Connection Wizard window, select the Other/Advanced option and click on Next button
- Select the Microsoft OLE DB provider for Analysis Services 10.0 and click on Next
- Enter the data source in the Data Source textbox as : http://SharepointServerName/PowerPivot Gallery/PowerPivotDemo.xlsx and click OK
- The Select Database and Table window will then be opened with Sandbox Cube been selected to be used. Click on the Next to save the data connection file and finish the wizard. Here’s what the connection string may look like:
Provider=MSOLAP.4;Persist Security Info=True;Initial Catalog=PowerPivotDemo Sandbox 6042a0d5-355c-47ed-b24c-d458bfecd529;Data Source=http://SharePointServerName/PowerPivot Gallery/PowerPivotDemo.xlsx;MDX Compatibility=1;Safety Options=2;MDX Missing Member Mode=Error;Data Source Version=5/9/2011 5:27:11 PM
- You now should be able to use the Data from the PowerPivot data source to create your excel report
Performance Point Server Reports
Performance Point Server on SharePoint 2010 also supports PowerPivot data source.
Steps for PPS Reports:
- Open PPS Designer and connect to the SharePoint site
- Create a new Analysis Service data source
- Using the following connation string: Provider = molap; datasource = http://SharePointServerName/PowerPivot Gallery/PowerPivotDemo.xlsx
- In the Cube drop down box, select the sandbox cube
Since Excel Pivot Tables that go against PowerPivot data do not support the write back, offline cubes, and drill through, there are some known issues when using the PowerPivot data source in PPS reports such as:
- Show Details error
- Error running data source query. DrillThrough is not supported because the server is running in VertiPaq mode.