heavy metal powerpivot

71
Heavy Metal PowerPivot Remastered! Jason Himmelstein [email protected] @ sharepointlhorn

Upload: jason-himmelstein

Post on 12-May-2015

444 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Heavy Metal PowerPivot

Heavy Metal PowerPivot

Remastered!

Jason Himmelstein [email protected] @sharepointlhorn

Page 2: Heavy Metal PowerPivot

Jason’s contact & vitals

• Microsoft vTSP• virtual Technology Solutions Professional

• SharePoint Foundation Logger • http://spflogger.codeplex.com

• Blog: www.sharepointlonghorn.com • Twitter: @sharepointlhorn • LinkedIn: www.linkedin.com/in/jasonhimmelstein• SlideShare:

http://www.slideshare.net/jasonhimmelstein• Email: [email protected]

• Author of Developing Business Intelligence Apps for SharePoint• http://bit.ly/SharePointBI

Page 3: Heavy Metal PowerPivot

PowerPivot for SharePoint Primer

• Architecture

• Installation

• SharePoint & PowerPivot

• PowerPivot in Action (demo time)

Page 4: Heavy Metal PowerPivot

“What’s in a name…”

Changes in Terminology

Page 5: Heavy Metal PowerPivot

Codename Denali

Project Crescent

Project Juneau

Veritpaq Engine

Vertipaq for PowerPivot

SQL Server 2012

Power View

SQL Server Data Tools

xVelocity In-Memory Analytics Engine

xVelocity for Business Intelligence

Changes in Terminology

Page 6: Heavy Metal PowerPivot

How does it work?

Page 7: Heavy Metal PowerPivot

Analysis Services

Reporting Services

Integration Services

Master Data Services

SharePointCollaboration

Excel Workbooks

PowerPivot Applications

SharePointDashboards &

Scorecards

Microsoft Business Intelligence

Most widely deployed EIM & BI Platform

Most Broadly adopted

Productivity & Collaboration Tools

OdataFeeds

LOB Apps

Page 8: Heavy Metal PowerPivot

Analysis Services Architecture

Excel Services

PowerPivot for SharePoint(Analysis Services)Excel

Internet Explorer

Analysis Services

BI Semantic Model

SharePoint

Reporting Services

Third Party Apps

PowerPivot for Excel

xlsx

xlsx

SQL Server Data Tools

Personal BI Team BI Corporate BI

Power View

Page 9: Heavy Metal PowerPivot

PowerPivot for SharePoint Server, Services, and Components

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web Service

Client

MSOLAP Driver

c2wts/proxy

PowerPivot Services

PowerPivot Service

Application Proxy

Data sources

SQL Server Content

Excel Calculation Services

Analysis Services in VertiPaq Mode

PowerPivot System Service

MSOLAP

TCP

HTTP

Channel

Excel Services

Page 10: Heavy Metal PowerPivot

PowerPivot for SharePointRendering the PowerPivot Workbook

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web Service

Client

PowerPivot Service

Application Proxy

Data sources

SQL ServerContent

Excel Calculation Services

Analysis Services in VertiPaq Mode

PowerPivot System Service

MSOLAP

Channel

Page 11: Heavy Metal PowerPivot

PowerPivot for SharePointRendering the PowerPivot Workbook

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web Service

Client

PowerPivot Service

Application Proxy

Data sources

SQL ServerContent

Excel Calculation Services

Analysis Services in VertiPaq Mode

PowerPivot System Service

MSOLAP

Channel

c:\Program Files\...\OLAP\Backup

Page 12: Heavy Metal PowerPivot

PowerPivot for SharePointPowerPivot does NOT require Kerberos

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web Service

Client

PowerPivot Service

Application Proxy

Data sources

SQL ServerContent

Excel Calculation Services

Analysis Services in VertiPaq Mode

PowerPivot System Service

MSOLAP

Channel

Page 13: Heavy Metal PowerPivot

PowerPivot for SharePointServer Action

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web Service

Client

PowerPivot Service

Application Proxy

Data sources

SQL Server Content

Excel Calculation Services

Analysis Services in VertiPaq Mode

PowerPivot System Service

MSOLAP

Channel

Page 14: Heavy Metal PowerPivot

PowerPivot for SharePointServer Action > c2wts

Page 15: Heavy Metal PowerPivot

PowerPivot for SharePointServer Action > c2wts

SharePoint Farm

WFE App

Excel Web Access

c2wts

Excel Services Application Proxy

Excel Web Service

Excel Calc Services

PowerPivot Web Service

Client

PowerPivot Service

Application Proxy

Data sources

ContentExcel Calculation

Services

Analysis Services in VertiPaq Mode

PowerPivot System Service

MSOLAP

Channel

Page 16: Heavy Metal PowerPivot

PowerPivot for SharePointServer Action

SharePoint Farm

WFE App

Data sources

ContentClient

ImageLoad

c:\Program Files\...\OLAP\Backup

Page 17: Heavy Metal PowerPivot

PowerPivot for SharePointLoad Balancing

SharePoint Farm

App1 App2

By default, set to round-robin

health allocation

Testing notes that BP to set

to health-based

allocation

Uses more resources than round-robin

BUT, pro-actively evicts unnecessary

VertiPaq dBs when under

memory pressure

Page 18: Heavy Metal PowerPivot

PowerPivot for SharePoint

“If you build it, they will come…”

Page 19: Heavy Metal PowerPivot

Installing PowerPivot

• PowerPivot v1 for SQL 2008 R2– New 2010 farm– Pre-existing 2010 farm

• PowerPivot v2 for SQL 2012– Stand alone install– Wizard driven– PowerShell

Page 20: Heavy Metal PowerPivot

Installing PowerPivot 2008 R2

Page 21: Heavy Metal PowerPivot

Installing PowerPivot v1 / 2008 R2

• New 2010 farm

• Pre-existing 2010 farm

Page 22: Heavy Metal PowerPivot

Pre-existing 2010 Farm

• App Server

• SharePoint Admin Service account

• MS Data Access Engine 2010 Redist

• SQL Server 2008 R2 Setup in Admin mode

Page 23: Heavy Metal PowerPivot

Pre-existing 2010 Farm

• Add Features

• New Installation NOT Add Features

• SQL Server PowerPivot for SharePoint

• HACK IT!

Page 24: Heavy Metal PowerPivot

Pre-existing 2010 Farm

Page 25: Heavy Metal PowerPivot

Pre-existing 2010 Farm – Hack Part

• ConfigurationFile.ini

• FARMADMINPORT

• Microsoft.AnalysisServices.SharePoint.Integration.dll

• http://bit.ly/PowerPivotDLL

• C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\SQLServer2008R2\x64

Page 26: Heavy Metal PowerPivot

Installing PowerPivot v2 / SQL 2012

Page 27: Heavy Metal PowerPivot
Page 28: Heavy Metal PowerPivot
Page 29: Heavy Metal PowerPivot
Page 30: Heavy Metal PowerPivot
Page 31: Heavy Metal PowerPivot
Page 32: Heavy Metal PowerPivot
Page 33: Heavy Metal PowerPivot
Page 34: Heavy Metal PowerPivot
Page 35: Heavy Metal PowerPivot
Page 36: Heavy Metal PowerPivot
Page 37: Heavy Metal PowerPivot
Page 38: Heavy Metal PowerPivot
Page 39: Heavy Metal PowerPivot
Page 40: Heavy Metal PowerPivot
Page 41: Heavy Metal PowerPivot
Page 42: Heavy Metal PowerPivot
Page 43: Heavy Metal PowerPivot
Page 44: Heavy Metal PowerPivot
Page 45: Heavy Metal PowerPivot
Page 46: Heavy Metal PowerPivot
Page 47: Heavy Metal PowerPivot
Page 48: Heavy Metal PowerPivot
Page 49: Heavy Metal PowerPivot
Page 50: Heavy Metal PowerPivot
Page 51: Heavy Metal PowerPivot
Page 52: Heavy Metal PowerPivot
Page 53: Heavy Metal PowerPivot
Page 54: Heavy Metal PowerPivot
Page 55: Heavy Metal PowerPivot

The Code Behind the Build# Open PowerShell library from: C:\Program Files\Microsoft SQL Server\110\Tools\PowerPivotTools\ConfigurationTool\Resources\ConfigurePowerPivot.ps1 Add-SPSolution -LiteralPath 'C:\Program Files\Microsoft SQL Server\110\Tools\PowerPivotTools\ConfigurationTool\Resources\PowerPivotFarm.wsp' Add-SPSolution -LiteralPath 'C:\Program Files\Microsoft SQL Server\110\Tools\PowerPivotTools\ConfigurationTool\Resources\PowerPivotWebApp.wsp' DeployFarmSolution DeployWebAppSolutionToCentralAdmin Install-SPFeature -path PowerPivot Install-SPFeature -path PowerPivotAdmin Install-SPFeature -path PowerPivotSite SetEngineServiceCredentials 'spflogger\b_powerpivotv2' $password; New-PowerPivotEngineServiceInstance -Provision:$true New-PowerPivotSystemServiceInstance -Provision:$trueNew-PowerPivotServiceApplication -ServiceApplicationName 'PowerPivot Service Application' -DatabaseServerName 'SQL2012' -DatabaseName 'PowerPivotServiceApplicationDB' -AddToDefaultProxyGroup:$true;Set-PowerPivotSystemService -WorkbookUpgradeOnDataRefresh:$True -Confirm:$false DeployWebAppSolution 'http://sp2010sp1/' 2047 EnableSiteFeatures 'http://sp2010sp1' $true StartService "Microsoft.SharePoint.Administration.Claims.SPWindowsTokenServiceInstance" UpdateSecureStoreMasterKey 'Secure Store Service Proxy' '********'  CreateUnattendedAccountForDataRefresh 'http://sp2010sp1' 'PowerPivotUnattendedAccount' 'PowerPivot Unattended Account for Data Refresh' 'SPFLOGGER\b_spAdmin' $password  AddMSOLAP5AsECSTrustedProvider 'Excel Services Application'

Page 56: Heavy Metal PowerPivot
Page 57: Heavy Metal PowerPivot

What’s new in SQL Server 2012 for PowerPivot

Page 58: Heavy Metal PowerPivot

• Builds upon V1 release in SQL Server 2008 R2

• New administrative capabilities• Lots of bug fixes• Default allocation algorithm changed to health-

based rather than round-robin • Manage the amount of database caching done

on the app servers• Database caching cleanup (based on inactivity)• Disable data refresh jobs if they are constantly

failing, or if they succeed but are not being viewed

SQL Server 2012 PowerPivot

Page 59: Heavy Metal PowerPivot

SQL Server 2012 PowerPivot

• A new setup experience• Rather than installing and configuring SharePoint directly, setup

now just lays down the bits and there is a new standalone configuration wizard

• Capabilities:• Wizard has both a one-click “GO” option as well

as astep-by-step experience

• Existing farm steps integrated with the wizard• Individual steps can be scripted• History is directly integrated into the tool• Able to uninstall, upgrade, repair and patch

separately

Page 60: Heavy Metal PowerPivot

SQL Server Denali PowerPivot

• Important note: SharePoint SP1 is required • SQL Setup will issue a warning if SharePoint SP1 has not

been installed when the PowerPivot bits are laid down. This gives you some time to upgrade to SP SP1.

• However, if you still haven’t upgraded to SP1, by the time you get to run the PowerPivot configuration wizard, we will throw a fatal error and you will be blocked from configuring your SharePoint farm until you upgrade to SP1.

Page 61: Heavy Metal PowerPivot

DEMO

• Some cool examples of PowerPivot in action.

Page 62: Heavy Metal PowerPivot

Enabling PowerPivot & Power View

Page 63: Heavy Metal PowerPivot

Issues using PowerPivot & oData Feeds• Make sure to store your OData Feed in a

location that PowerPivot has rights & access to get to itSuch as: • SharePoint Document Library• Network\File Share

• Not on your local desktop!• Ensure that all of your SharePoint Web Services

are started

• Excel must be running in the context of an authorized user to the data

Page 64: Heavy Metal PowerPivot

Scaling out PowerPivot Installations

• Installation at the App tier• Requires SQL Server media• Install SQL PowerPivot for SharePoint• Requires separate install of SSRS

• Installation at the Web tier• Does not require SQL Server media• Reporting Services Add-in for SharePoint

Products is shipped as a web downloadable add-in• http://

www.microsoft.com/download/en/details.aspx?amp;amp;displaylang=en&id=29068

Page 65: Heavy Metal PowerPivot

Gotchas! The single-server hiccup

Can’t log in to SharePoint locally?

Check your Loopback settings!

Page 66: Heavy Metal PowerPivot

What’s new in Power View in Excel 2013 and in SharePoint 2013 • Power View in Excel 2013: New features

• Power View sheets can connect to different data models in one workbook• Modify the internal Data Model without leaving the Power View sheet• Power View in Excel Services and Excel Web App, and in Office 365

• Power View in Excel 2013 and SharePoint 2013: New features• Pie charts• Maps• Key performance indicators (KPIs)• Hierarchies• Drill up/drill down• Report styles, themes, and text resizing• Backgrounds and background images• Hyperlinks• Printing• Support for right-to-left languages• Power View changes how it handles integers• Power View backward- and forward-compatibility• Power View and data models• Power View and Excel Services

Page 68: Heavy Metal PowerPivot

In the end, it’s all about perspective

Page 69: Heavy Metal PowerPivot

Handy Reference Information• Useful Links

• http://www.sharepointlonghorn.com – Jase’s blog• @sharepointlhorn• [email protected]

• Microsoft References• Power View Demos• http://

blogs.msdn.com/b/oneclickbi/archive/2011/12/27/more-demos-of-power-view-available.aspx

• Download links• http://powerpivotgeek.com

• Dave Wickert & Lee Graber (Microsoft Product Team Members)• Best exclusively PowerPivot blog around

• http://spflogger.codeplex.com • Its not PowerPivot, but its wicked cool so check it out!

Page 70: Heavy Metal PowerPivot

• Introducing the Data Model & Relationships in Excel 2013• http://blogs.office.com/b/microsoft-excel/archive/2012/08/23/introduction-to-the-data-model-and-relationships.aspx

• Intro to Power View for Excel 2013• http://blogs.office.com/b/microsoft-excel/archive/2012/10/04/intro-to-power-view-for-excel-2013.aspx

• What’s new in Reporting Services (SQL 2012 SP1)• http://msdn.microsoft.com/library/ms170438(SQL.110).aspx

• Introducing PerformancePoint Services 2013 • http://blogs.msdn.com/b/performancepoint/archive/2012/08/03/what-s-new-in-performancepoint-services-2013.aspx

• What’s new with Visio 2013• http://visio.microsoft.com/en-us/preview/visio-benefits.aspx

• Introducing the BI Light-Up Story for SharePoint 2013• http://blogs.msdn.com/b/analysisservices/archive/2012/07/27/introducing-the-bi-light-up-story-for-sharepoint-2013.aspx

• Going All In with Excel 2013• http://blogs.msdn.com/b/analysisservices/archive/2012/07/26/going-all-in-with-excel-2013.aspx

• My book on Developing Business Intelligence Apps for SharePoint• http://bit.ly/SharePointBI `

2013 Helpful Links

Page 71: Heavy Metal PowerPivot

Jason’s contact & vitals• Microsoft vTSP• virtual Technology Solutions Professional

• SharePoint Foundation Logger • http://spflogger.codeplex.com

• Blog: www.sharepointlonghorn.com • Twitter: @sharepointlhorn • LinkedIn: www.linkedin.com/in/jasonhimmelstein• SlideShare:

http://www.slideshare.net/jasonhimmelstein• Email: [email protected]

• Author of Developing Business Intelligence Apps for SharePoint• http://bit.ly/SharePointBI