Excel 2013 includes features for analyzing data using the traditional direct connection method, plus since version 2010 the addition of the PowerPivot and PowerQuery features provide new advanced interactive connection methods as well. The key to using any tool to utilize the Comsense Data Warehouse is simply knowing your SQL Server instance name. With that in hand many tools can be used to work with your data.
Configure Active Directory Group for ComsenseDWUsers
The Comsense Data Warehouse has been configured to combine the security and ease of use of Windows Authentication with the intelligence of your Comsense Opening Suite configuration. When deployed, the Comsense Data Warehouse was configured to use an Active Directory security group usually named ComsenseDWUsers. Once configured your organization simply needs to add and remove Windows Active Directory accounts to and from this security group in order to provide access to the data warehouse database.
By combining your Windows Authentication login with your Comsense Opening Suite login, the data warehouse delivers data for only divisions you are authorized for in the Opening Suite.
As a member of the ComsenseDWUsers security group you can use Excel and any other data analysis tools to work with your data.
Making Connections using the Traditional Direct Method
- Open a new Excel worksheet.
- Select the worksheet and cell where you want the retrieved data table to return.
- On the Data ribbon click From Other Sources > From SQL Server
- On the Data Connection Wizard dialog, enter your SQL Server Instance Name.
- If you are unsure of your server name, view the Help > About Comsense Advantage window in Comsense Opening Suite. Your SQL Server name is listed as SQL Server Instance.
- Leave the Log on Credentials set to Windows Authentication. Click Next.
- On the Select Database and Table step, choose ComsenseDataWarehouse.
- Select the table, or tables you wish to retrieve. To retrieve multiple tables, check the option to Enable selection of multiple tables. Click Next.
- Click Finish to save the connection information and retrieve the data.
- You will be prompted with options for what you want to do with the retrieved data. Choose the option that suits your scenario.
Using PowerPivot to Retrieve Data from the Comsense Data Warehouse
- Office 2013 Professional Plus or Excel 2013 standalone editions are required for PowerPivot.
- Open a new Excel worksheet.
- To enable the PowerPoint add-in if not already done, click File > Options > Add-Ins > on the bottom dropdown select COM Add-ins > enable Microsoft Office PowerPivot for Excel 2013.
- On the PowerPivot ribbon click Manage.
- In the Get External Data ribbon group click From Database > From SQL Server
- On the Table Import Wizard you can type your server name if known, or click the drop down to have it find available SQL Servers on your network.
- Leave Use Windows Authentication selected.
- For Database Name choose ComsenseDataWarehouse.
- Click Next.
- You can now choose to either select from existing tables and views or write a query. We’ll choose Select an existing table for this example. Click Next.
- Select the tables you wish to include in the data model. Click Next.
- A summary page will indicate progress. Click Close to complete.
- Each table will be returned to the PowerPivot window in its own tab.
- Use the Diagram view to define relationships between tables to enable pivot tables to relate information properly.
- To push the data from the PowerPivot model over to Excel, click the PivotTable dropdown and choose an option that suits your scenario. Options include PivotTable, PivotChart, and combinations.
- The example below was created using the Chart and Table (Horizontal) option.
- PowerPivot is a very powerful and far-reaching feature in Excel 2013. To begin learning more visit the PowerPivot page on Office.com at https://support.office.com/en-US/Article/everything-else-you-can-do-in-Power-Pivot-d7b119ed-1b3b-4f23-b634-445ab141b59b.
Comsense Data Warehouse Data Diagrams
Visit our online help to view some illustrations of the data relationships in the Comsense Data Warehouse.
SQL Server 2008 Native Client
In some cases the Microsoft SQL Server 2008 Native Client must be installed to provide data connectivity from Excel and other tools to the server. Note that even on 64-bit installations of Windows the x86 version of the SQL Native client is required for use with 32-bit versions of Excel, which is currently most common.