Share via


Creating Excel 2010 Reports Based on a SQL Server 2012 Tabular BI Semantic Model (RTM Update)

Version: 1.5

Description

In this Hands On Lab you will learn how to create a report in Excel 2010 based on a tabular BI Semantic Model. You will then publish the workbook to SharePoint Server and then explore the report rendered by Excel Services in the Web browser.

Overview

In this lab, you will create a report in Excel 2010 based on a tabular BI Semantic Model. You will then publish the workbook to SharePoint Server and then explore the report rendered by Excel Services in the Web browser.

Objectives

The objectives of this exercise are to:

  • Create an Excel Report based on a tabular BI Semantic Model
  • Work with PivotTables
  • Work with the Excel CUBE functions
  • Work with slicers, sparklines and charts
  • Publish an Excel Workbook to SharePoint Server
  • Interact with the published workbook in the Web browser

System Requirements

You must have installed the following items to complete this lab:

  • Microsoft Office 2010:
    • Excel
  • Microsoft SQL Server 2012:
    • Database Engine
    • Analysis Services (Tabular mode)
  • Microsoft SharePoint 2010 Enterprise Edition:
    • Excel Services
  • Adventure Works for SQL Server 2012
    • AdventureWorksDW2012

Setup

The setup and configuration for this lab involves running a Setup script included with the training kit. To run all setup tasks for this lab:

Task 1 – Installing TailspinToys and AdventureWorksDW2012 Databases

Note:
This process may require administrative privileges.

  1. Open a Windows Explorer window and browse to the lab’s folder.
  2. Right click on it, and click on Properties.
  3. In the Security tab, click on Edit
  4. In the opened window, click on Add
  5. Add Everyone role to the folder’s permissions and click Ok
  6. Grant Full Access control to it by checking the Full Access Checkbox and click Ok
  7. Click Ok
  8. Browse to the lab’s Source\Setup folder.
  9. Double-click the Setup.cmd file in this folder to launch the setup script and run all setup tasks for this lab.
  10. If the User Account Control dialog is shown, confirm the action to proceed.
  11. If your instance of SQL Server is other than localhost you will need to modify the connection string in the create_SalesAnalysis.xmla file located under Source\Setup\scripts\Tasks\sql folder of this Lab (line 13529).

    XMLA

    </Annotations>
    <ConnectionString>Provider=SQLNCLI11;Data Source=localhost;Initial Catalog=AdventureWorksDW2012;Integrated Security=SSPI;Persist Security Info=false</ConnectionString>FakePre-bf209c7f6fae4290b1afc422c6806491-552db7127d6e4051b0315217a4397329FakePre-89ee4aed996a403fb09f1eb78615d463-1bc6f9d3e8b24867ba9cd7bde8375657

Task 2 – Creating a Site Collection

  1. To open Central Administration, click the Start button, and then select All Programs | Microsoft SharePoint 2010 Products | SharePoint 2010 Central Administration.
  2. Login using Administrator credentials, if required.
  3. Click Application Management.
  4. Click Create Site Collections.
  5. Configure the new site collection based on the following table.

    Property

    Value

    Title

    AdventureWorksBI

    URL

    /sites/AdventureWorksBI

    Template

    Enterprise | Business Intelligence Center

    Primary Site Collection Administrator

    <Administrator username>

Task 3 – Activating PowerPivot Feature

  1. In the Top-Level Site Successfully Created page, click the URL for the newly created Site Collection.
  2. In the new Site Collection, click Site Actions, and select Site Settings.
  3. Click Site Collection Features in the Site Collection Administration section.
  4. Click Activate for the PowerPivot Feature Integration for Site Collections feature.

  1. Click AdventureWorksBI above the Quick Launch.
  2. Click Site Actions, and select More Options.
  3. In the search box at the right upper corner, type “PowerPivot” and press Enter.
  4. Select the PowerPivot Gallery item, and click More Options.
  5. Type PowerPivot Gallery in the Name field.
  6. Check that the Yes radio button in the Display this list on the Quick Launch option is selected.
  7. Click Create.
  8. Close the Internet Explorer Window.

Task 5 – Creating the Sales Analysis Database

  1. Double-click create_SalesAnalysis.xmla file located under the Source\Setup\scripts\Tasks\sql folder of this Lab.
  2. When SQL Server Management Studio opens connect to the SQL Server instance, with Analysis Services as the server type, running in VERTIPAQ mode.
  3. Click the Query menu, and then Execute.

Cleanup

  1. There is no need to cleanup if you intend to continue the sequence of labs in this training kit.

Task 1 – Dropping the TailspinToys and AdventureWorksDW2012 SQL Server Databases.

  1. Execute the Cleanup.cmd script located under the Setup folder in the Source folder of this lab.

Task 2 – Deleting the AdventureWorksBI Site Collection

  1. To open Central Administration, click the Start button, and then select All Programs | Microsoft SharePoint 2010 Products | SharePoint 2010 Central Administration.
  2. Login using Administrator credentials, if required.
  3. Click Application Management.
  4. Click Delete a Site Collection.
  5. Click No Selection and select Change Site Collection.
  6. Click the AdventureWorksBI Site Collection, and click OK.
  7. Click Delete.
  8. Click OK to confirm the deletion of the Site Collection.

Task 3 – Dropping Sales Analysis Database

  1. Double-click drop_SalesAnalysis.xmla file located under the Source\Setup\scripts\Tasks\sql folder of this Lab.
  2. When SQL Server Management Studio opens connect to the SQL Server instance running in VERTIPAQ mode.
  3. Click the Query menu, and then Execute.

Feedback

Your feedback is welcome! Please, post it on our UserVoice forums.

Exercises

This Hands-On Lab comprises the following exercise:

  1. Creating the Country Sales Report
  2. Publishing the Country Sales Report

Estimated time to complete this lab: 30 minutes