Microsoft SharePoint Foundation 2010 and Microsoft SharePoint 2010’s lists and libraries provide the very useful option of reporting from the list data within Microsoft Excel 2007 PivotTables. If you want to store information that you would like to analyse and present in a graphical way and/ or to have the ability to refresh the data while it changes; using Microsoft Excel 2007 PivotTables should be your preferred option.
In this article, I will provide you with a simple guide how to use PivotTables and SharePoint 2010. I will use a list with sample quotes. I will create a report which presents ‘quote amount’ based on quote status and ‘bill to US state’.
First, let’s navigate to the list storing the data.

To use Excel PivotTable you will need to change the view to Datasheet. In SharePoint 2010 you can change a view by clicking on List Tools -> List and then Datasheet View.

Please note that while you are in Datasheet View the following options are active:
• New Row
• Show Task Pane
• Show Totals
• Refresh Data
In previous versions of SharePoint, these options were available from the actions menu. In 2010, they are more accessible. If you click Show Task Pane, a familiar side menu will appear on right hand side.

From that menu choose Create Excel PivotTable Report. Microsoft Excel will be launched and you will be prompted to enable data connection.

Once you enable the connection, Excel PivotTable options are displayed in Excel

Now we can quickly build the report.
In this example, we would like to know what are the total amounts quoted by ‘US state’, showing also the ‘quote status’.
I can quickly build such a report by dragging the proper fields to the appropriate report areas.

As a result, I have a table with a summary of quote values grouped by ‘bill to US state’ and by ‘quote total amount’. Now I would also like to present this in a chart. To achieve this we can click on the PivotChart button located on the Excel ribbon.

Le’s choose a column based chart and click OK. We can then format the chart.

We can exclude values using Categories and Series filters. I will exclude blanks value and Active, Closed, Drafts as I am interested only in quotes that were Won with US billing address. I will also Add Data Labels to have exact quotes totals.

From our chart we can clearly see that majority of my Won quotes are for NM (New Mexico). Once designed, the report can be saved to a local drive or published to Excel Services, with the latter being the preferred option. This report provides an option to refresh data, so if there is any change it is just one click for you to update the chart.

Using SharePoint lists for storing data can be very effective way to share information. It empowers business users to analyse data and graphically report from that data. This can be a time and money saver as creating similar reports via SQL reporting services would require significantly more time. It is also worth mentioning that data in SharePoint list can originate in business applications like CRM or any ERP or back end system, and these can be easily integrated into SharePoint.
Good luck!
Tomas
omanowski














































