Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / productivity / SharePoint

Install Power View for multi-dimensional model

5.00/5 (2 votes)
11 Apr 2013CPOL12 min read 31.6K  
This document evaluates the latest functionality provided by Microsoft SQL Server 2012 With Power View for Multidimensional Models and not just Tabular Models.

Introduction

This document evaluates the latest functionality provided by Microsoft SQL Server 2012 With Power View for Multidimensional Models, this SQL Server 2012 CTP release allows connections between Power View and Multidimensional Models (cubes) and not just Tabular Models. Contains step by step instructions with screenshots for installing and creating a Microsoft Business Intelligence infrastructure based on Power View an new tool for Data Visualization. Additionally this document gives a Service Level Agreement applicable to other companies.

System Requirements

Before installing this new SQL Server release, there are some requirements that we must be fulfilled.

Hardware

Hardware requirements for installing required software was very demanding for the VM running on a desktop environment used for this evaluation. You can see more detailed information on these matters at following references:

Internet Connection

Having network adapter with access to Internet is recommended. Also we must turn Windows Firewall off in the server. Finally, for testing purposes is a good idea to turn Internet Explorer Enhanced Security Configuration off.

Software

These are the required software component required to install Power View for Multidimensional Model:

Installation overview

  1. Assign a fixed IP on a LAN Segment for a Domain Controller.
  2. Add a Domain Controller Role to the Server
  3. Promote Windows 2012 Server to Domain Controller
  4. Create Domain Accounts for SQL and SharePoint Services.
  5. Install a new and complete instance of SQL Server 2012 CTP.
  6. Install prerequisites for SharePoint 2013, Restart and complete the Installation.
  7. Install SQL Server Power Pivot for SharePoint.
  8. Run the Tool PowerPivot Configuration Tool to integrate both SQL Server and SharePoint.
  9. Enable SharePoint Enterprise Features and services.
  10. Configure PerformancePoint Service Application.
  11. Configure SSRS Integration and PowerView.
  12. Add Report Server Content Types to a Library

Detailed Installation procedure

1 Assign a fixed IP on a LAN Segment for a Domain Controller

For example, assign a static IP to the server (e.g., 192.168.1.11) with subnet mask: 255.255.255.0 and default Gateway: 192.168.1.1 and other setting as shown below:

Image 1

2 Add “Domain Controller” Role

Before installing anything, we need to add “Active Directory Domain Services” role by using Add Roles and Features Wizard as depicted in following screenshots (If we run from Windows Server 2008 we can run the command “dcpromo”):

Run “Server Manager” for Windows Server 2012 and setup this feature:

Image 2

For Installation Type select Role-Based option:

Image 3

In “Select destination server” screen, check “Select a server from the server pool” option:

Image 4

To install Active Directory select Active Directory Domain Services. In “Add Roles and Features Wizard” dialog, select Add Features:

Image 5

Then, select Active Directory Domain Services and click “Next >”.

Image 6

By default the Group Policy Management is selected, click “Next >”:

Image 7

The next screen only show basic information and click next.

Image 8

We need just confirm to continue with the configuration Wizard:

Image 9

The installation of the wizard begins:

Image 10

3 Promoting Windows 2012 Server to Domain Controller

After going to Server Manager and selecting the left upper option in a warning signal, select promote the server to a domain controller:

Image 11

When the Active Directory Domain Services Configuration Wizard appears, select option “Add a new forest” and specify the root domain name e.g. “bigdata.com “:

Image 12

Promoting In “Domain Controller” screen, for “Forest Functional Level ” and “Domain Functional Level” options select “Windows Server 2012″. For “Specify the Domain Controller capabilities” check Domain Name System (DNS Server:

Image 13

In the next DNS options warning dialog, just select OK:

Image 14

Verify that the NetBios name is taken from Root Domain Name:

Image 15

Leave paths in default values:

Image 16

Review the options

Image 17

Run the prerequisites Check:

Image 18

4 Create Domain Accounts for SQL and SharePoint Services.

Run Server manager-> Tools-> Active Directory User and Computers

Image 19

Add the following Accounts:

  • SQLS (SQL Server database engine Account)
  • SSAS (SQL Server Analysis Services Account)
  • SSRS (SQL Server Reporting Services Account)

Image 20

It's best practice to create an account for each SQL and SharePoint service. And this service accounts should be added to the Administrators group as local administrators on the server and as Domain Administrators.

Image 21

5 Install a new and complete instance of SQL Server 2012 CTP.

Select the first installation option of SQL Server 2012 CTP installer. A new SQL Server stand-alone installation or add features to an existing installation:

Image 22

Deslect Include SQL Server product update because at the moment of installation this is the last version created.

Image 23

A rule check start to run, a Warning is show because is not recommended to run a instance of SQL Server on a Domain Controller:

Image 24

Specify the product Key ( I left in a Evaluation version)

Image 25

Select SQL Server Feature Installation :

Image 26

Select Default Instance and the name of Instance ID to MSQSQLSERVER

Image 27

Press “next >” in screen showing “Disk Space Requirement”:

Image 28

Select the appropiate accounts created for this purpose a in previous step “Create Domain Accounts for SQL and Sharepoint Services”:

Image 29

Set the Autentication Mode to Mixed and provide a srtong password . Also specify an SQL Server administrator (I select Add Current User):

Image 30

This point is very important, we should select Multidimensional and Data Mining Mode:

Image 31

Select the Reporting Services SharePoint integrated mode to Install only.

Image 32

Click “Next >” in “Error Reporting” screen:

Image 33

Click “Next >” in “Installation Configuration Rules” screen when It’s completed:

Image 34

Click “Install” in Ready to Install screen:

Image 35

Image 36

6 Install prerequisites for SharePoint 2013, Restart and complete the Installation.

Before installing all prerequisites for SharePoint 2013, is important that you are connected to Internet to download them.

Image 37

This is the summary of software prerequisite installer for SharePoint 2013

Image 38

After we run the Setup of SharePoint 2013 we left the File Location to default:

Image 39

We must check “Run SharePoint Configuration Wizard now”.

Image 40

The SharePoint Products Configuration Wizard begin, with a Warning because IIS, SharePoint Timer Services, and SharePoint Administration Services will restart:

Image 41

Then select Create a new server Farm:

Image 42

Specify the Configuration Database settings, and Specify the Database Access Account. This account must be a Domain Account for install correctly.

Image 43

Then specify the port number and configure security settings.

Image 44

Just only a summary of the steps that have been taken:

Image 45

When the installation is complete we get a screen with Configuration Successful. To to see if the installation was successful we can run the tool “SharePoint 2013 Central Administration”. This will open the administration Site of SharePoint (previous to provide the credentials).

7 Install SQL Server Power Pivot for SharePoint.

Run the Setup from SQL Server SQL 2012 CTP and in the step of Setup Role select “SQL Server PowerPivot for SharePoint” and not “Add SQL Server Database Relational engine Services to this installation”

Image 46

In “feature selection” screen, we don’t select anything and by default all the required options are selected.

Image 47

Click “Next >” when Installation Rules screen completes:

Image 48

Select The instance Configuration and enter POWERPIVOT for the Instance ID

Image 49

After this screen we get a Summary of Disk Usage screen the same screen in Install a new and complete instance of SQL Server 2012 CTP” for Disk Space Requirement .

Select the appropriate accounts created for this purpose a in previous step “Create Domain Accounts for SQL and SharePoint Services”:

Image 50

Set the Authentication Mode to Mixed and provide a strong password . Also specify an SQL Server administrator (I select Add Current User):

Image 51

Add a user to have administrative permissions for SQL Server Analysis Services:

Image 52

The rest of the steps are very similar to previous installation and are just almost intutitive.

8 Run the Tool PowerPivot Configuration Tool to integrate both SQL Server and Sharepoint.

Once we’ve installed SQL Server Power Pivot for SharePoint we have two Tools to integrate and configure: (1)Sharepoint and (2)SQL Server. The one in SharePoint 2010 is called “PowerPivot Configuration Tool”. As we are integrating with SharePoint 2013, we are going to use PowerPivot for SharePoint 2013 Configuration Tool .

Image 53

In the PowerPivot Configuration Tool we select “Configure or Repair PoverPivot for SharePoint:

Image 54

A validation Process begin with 24 steps to complete. Then we get the PowerPivot Configuration Tool with all the steps and parameters to configure.

Set the SQL Server to create the Database, and specify the PowerPivot Server for excel Services to its default setting.

Image 55

In the Create Default Web Application we must provide a URL to run, http://SERVER2012DC, which is the name of the server, has been used. Don’t forget to include a contact e-mail in the “Create a Site Collection” step.

To check if the installation was successful, we should run the tool “SharePoint 2013 Central Administration”. This will open SharePoint's administration Web Site running in a different port than default TCP/80.

Besides the administration site, another SharePoint's web site known as a “collection site” should also be present. This collection site hosts a PowerPivot Gallery (a new template for BI sites) installed by default at http://SERVER2012DC

Image 56

9 Enable SharePoint Enterprise Features and services.

Initially, we must enable features needed to correctly create Reports in PowerView. On the main page of SharePoint Administration Site, we have “System Settings” section under which we should select “Manage Services on server” option as showed next.

Image 57

We need to enable: Business Data Connectivity Services and Performance Point Services

Image 58

Next, in the page “Site Settings” and under “Site Collection Administration”, we select “Site collection features”

Image 59

At this screen, we activate these features:

  • PerformancePoint Services Site Collection Features
  • Power View Integration Feature
  • PowerPivot Feature Integration for Site Collections
  • SharePoint Server Enterprise Site Collection features

Image 60

Go back to “Site Settings” screen, select “enable some features”, then select “Manage Site Features” and activate:

  • BICenter Data Connections Feature
  • PerformancePont Services Site Features
  • SharePoint Server Enterprise Site features

Image 61

Image 62

10 Configure PerformancePoint Service Application

On the main page of Administration Site and under Application Management -> Manage Service applications.

Image 63

From there, we select the “New” menu in the ribbon menu and select “PerformancePoint Service Application”:

Image 64

We must provide a Name for this application and also specify the Database Server a Name for the Database. Then we use Windows authentication as credentials.

Image 65

We set create a new Application Pool in IIS and provide a name for it.

Image 66

After we finish creating the integration we get:

Image 67

11 Configure SSRS Integration and PowerView

To enable the integration with SQL Server Reporting Services and PowerView we need to run some commands from SharePoint 2013 Management Shell and Run as Administrator.

Image 68

Run the following PowerShell command to install Sharepoint integrated to SSRS:

  • Install-SPRSService
  • Install-SPRSServiceProxy
  • get-spserviceinstance -all |where {$_.TypeName -like “SQL Server Reporting*”} | Start-SPServiceInstance

Image 69

We return to Admin Site and select under Application Management -> Manage Service applications

Image 70

From there, we select the “New” in the ribbon menu and select “SQL Server Reporting Services Service Application”:

Image 71

We must set some values as the Name of Service for this SSRS Service Application. Create a new application pool for IIS and enter a name for it.

Image 72

Scroll the page and enter Database server and a Name for a Database. Use Windows Authentication for credentials.

Image 73

Set the Web Application Association to SharePoint -80

Image 74

After we finish to create the integration we get:

Image 75

12 Add Report Server Content Types to a Library

The last step to enable and create Reports in PowerView is adding report Server Content Type to a Library.

We set this the default collection site running on http://SERVER2012DC and in the main page go to Settings -> Advanced Settings. In the Content Types section, select Yes to allow management of content types.

Image 76

To Add Reporting Services content types we go to Library Settings and under Content Types, click Add from existing site content types:

Image 77

In Select site content types from, select SQL Server Reporting Services Content Types. Also In the Available Site Content Types list, click Report Builder and Report Data Source , then click Add to move the selected content type to the Content types to add list

Image 78

We must get this configuration:

Image 79

After and before to create Reports in PowerView we must download and install Microsoft Silverlight 5.

Image 80

In this phase we need to deploy the database an Cube on SSAS, to work in this example I the very classic Adventure WorksDW and related cubes which in this case are two we must use Adventure Works. You can download both from http://msftdbprodsamples.codeplex.com/releases/view/55330

Image 81

We must create a Report Data Source similar that we do in Reporting Services.

Image 82

We must provide a Name for this Report Data Source and select the Data Source Type to “Microsoft BI Semantic Model for Power View”. Also we left the windows authentication and Tets the connection.

Don’t forget to set “Enable this Data Source”

Image 83

Once we create a new Data Source we select the three points and in the options OPEN SHARE FOLLOW we select three points again to show the menu and select “Create a Power View Report”

Image 84

And you can follow the instructions here to populate and create an amazing PowerView Report:

Image 85

SLA – Acceptance criteria

Power View show us an interactive data exploration and presentation experience in this configuration with SQL Server 2012. Beside of that we prepare a SLA Acceptance criteria for this new BI product:

CriteriaYes/NoComments
Prove that we can connect to the SSAS cubeYes
Does it connect natively or does it grab all data and stick it in its own databaseYes
Identify platform requirementsWe need SharePoint 2013 and SQL Server 2012 SP1 CTP edition
Identify cost structureWe require a SharePoint Enterprise License CAL or SharePoint Online with $3 or $7 user/month
AutomationYesOn SharePoint we have SharePoint Server Publishing Infrastructure.

A downside of this platform is the use of Silverlight in front end and this because Microsoft eventually will not support anymore. For me is better follow a standard and clean way with HMTL5 without any plug-ins. Another downside is the dependency of SharePoint to work with Power View in any case is better to work with Reporting Services as I suggest in the Microsoft site: http://connect.microsoft.com/SQLServer/feedback/details/738938/power-view-without-silverlight.

At the end I want to show a demo about Natural Interaction with Power View and Kinect made for the Microsoft Team

<object type="application/x-shockwave-flash" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=3,0,0,0" width="600" height="300" data="http://www.youtube.com/embed/ShyNV9hHPpo?version=3&rel=1&fs=1&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent"><param name="movie" value="http://www.youtube.com/embed/ShyNV9hHPpo?version=3&rel=1&fs=1&showsearch=0&showinfo=1&iv_load_policy=1&wmode=transparent" /><param name="quality" value="high" /><param name="wmode" value="transparent" />

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)