When we develop sample excel spreadsheets we use sample data on our development machines. For these spreadsheets to be useful to you, the data connection needs to be changed to point to your database. The steps below outline how to adjust this connection.
- Open the sample file in Excel.
- Click the PowerPivot Ribbon and click Manage (See Notes below for info on PowerPivot availability and activation).
- In the Data Model editor, click existing connections.
- On the Existing Connections dialog, click edit.
- On the Edit Connection dialog, use the Server Name drop down to select your Microsoft SQL Server Instance. If you do not know your server name, find this in Comsense Advantage by clicking Help > About Comsense Advantage listed as SQL Server Instance.
- When you change the Server Name the Database name will clear out. From the Database Name drop down select ComsenseDataWarehouse.
- Click Save.
- Click Close on the Existing Connections dialog.
- Click the drop down under Refresh and click Refresh All.
- The Data Refresh dialog will appear and show you progress. Click close when complete.
- Close the PowerPivot for Excel editor to return to Excel, using either File > Close or click X.
- Save the Excel spreadsheet.
- To refresh the data in the spreadsheet in the future, simply click Refresh All on the Data Ribbon in Excel.
Notes:
- Only certain editions of Excel include the PowerPivot feature see this article on PowerPivotPro for more info.
- To enable the Excel PowerPivot feature see Microsoft's instructions here.
- If you receive an error attempting to refresh connect or refresh the data, see the article Installing SQL Client Libraries for help.
Comments
Please sign in to leave a comment.