heavy metal powerpivot remastered

76
Heavy Metal PowerPivot Jason Himmelstein Senior Technical Director, SharePoint @sharepointlhorn http://www.sharepointlonghorn.com Remastered

Upload: jason-himmelstein

Post on 10-May-2015

1.254 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Heavy Metal PowerPivot Remastered

Heavy Metal PowerPivot

Jason HimmelsteinSenior Technical Director, SharePoint

@sharepointlhornhttp://www.sharepointlonghorn.com

Remastered

Page 2: Heavy Metal PowerPivot Remastered

Thanks to our sponsors!

Page 3: Heavy Metal PowerPivot Remastered

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 4: Heavy Metal PowerPivot Remastered

PowerPivot for SharePoint Primer• Architecture

• Installation

• SharePoint & PowerPivot

Page 5: Heavy Metal PowerPivot Remastered

“What’s in a name…”

Changes in Terminology

Page 6: Heavy Metal PowerPivot Remastered

2009 Atrion Networking Corporation

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 7: Heavy Metal PowerPivot Remastered

How does it work?

Page 8: Heavy Metal PowerPivot Remastered

2009 Atrion Networking Corporation

SharePointCollaboration

Excel Workbooks

PowerPivot Applications

SharePointDashboards &

Scorecards

Analysis Services

Reporting Services

Integration Services

Master Data Services

Microsoft Business Intelligence

Most widely deployed EIM & BI Platform

Most Broadly adopted

Productivity & Collaboration Tools

OdataFeeds

LOB Apps

Page 9: Heavy Metal PowerPivot Remastered

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 10: Heavy Metal PowerPivot Remastered

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 11: Heavy Metal PowerPivot Remastered

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 12: Heavy Metal PowerPivot Remastered

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 13: Heavy Metal PowerPivot Remastered

PowerPivot 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

PowerPivot for SharePoint

Page 14: Heavy Metal PowerPivot Remastered

Server 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

PowerPivot for SharePoint

Page 15: Heavy Metal PowerPivot Remastered

Server Action > c2wtsPowerPivot for SharePoint

Page 16: Heavy Metal PowerPivot Remastered

Server 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

PowerPivot for SharePoint

Page 17: Heavy Metal PowerPivot Remastered

PowerPivot for SharePointServer Action

SharePoint Farm

WFE App

Data sources

ContentClient

ImageLoad

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

Page 18: Heavy Metal PowerPivot Remastered

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 19: Heavy Metal PowerPivot Remastered

PowerPivot for SharePoint

“If you build it, they will come…”

Page 20: Heavy Metal PowerPivot Remastered

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 21: Heavy Metal PowerPivot Remastered

Installing PowerPivot 2008 R2

Page 22: Heavy Metal PowerPivot Remastered

Installing PowerPivot v1 / 2008 R2

• New 2010 farm

• Pre-existing 2010 farm

Page 23: Heavy Metal PowerPivot Remastered

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 24: Heavy Metal PowerPivot Remastered

Pre-existing 2010 Farm

• Add Features

• New Installation NOT Add Features

• SQL Server PowerPivot for SharePoint

• HACK IT!

Page 25: Heavy Metal PowerPivot Remastered

Pre-existing 2010 Farm

Page 26: Heavy Metal PowerPivot Remastered

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 27: Heavy Metal PowerPivot Remastered

Installing PowerPivot v2 / SQL 2012

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

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 57: Heavy Metal PowerPivot Remastered
Page 58: Heavy Metal PowerPivot Remastered

What’s new in SQL Server 2012 for PowerPivot

Page 59: Heavy Metal PowerPivot Remastered

SQL Server 2012 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

Page 60: Heavy Metal PowerPivot Remastered

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 a

step-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 61: Heavy Metal PowerPivot Remastered

SQL Server 2012 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 62: Heavy Metal PowerPivot Remastered

DEMO

• Some cool examples of PowerPivot in action.

Page 63: Heavy Metal PowerPivot Remastered

Enabling PowerPivot & Power View

Page 64: Heavy Metal PowerPivot Remastered

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 65: Heavy Metal PowerPivot Remastered

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 66: Heavy Metal PowerPivot Remastered

Gotchas!The multi-server hiccup

CTP3 cames with TCP\IP disabled

Until you enable this, no off server communication will happen to SQL

Page 67: Heavy Metal PowerPivot Remastered

Gotchas! The single-server hiccup

Can’t log in to SharePoint locally?

Check your Loopback settings!

Page 68: Heavy Metal PowerPivot Remastered

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 69: Heavy Metal PowerPivot Remastered

SharePoint 2013 BI related links

• What's new in business intelligence in SharePoint Server 2013 Preview

• Overview of Excel Services in SharePoint Server 2013 Preview

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

Page 70: Heavy Metal PowerPivot Remastered

In the end, it’s all about perspective

Page 71: Heavy Metal PowerPivot Remastered

2009 Atrion Networking Corporation

Special announcements

Page 72: Heavy Metal PowerPivot Remastered

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 73: Heavy Metal PowerPivot Remastered

2013 Helpful Links• 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 `

Page 74: Heavy Metal PowerPivot Remastered

Thanks to our sponsors!

Page 75: Heavy Metal PowerPivot Remastered

Join our local users groups

Toronto SharePoint Users Grouphttp://www.meetup.com/TorontoSPUG/

Toronto SharePoint Business Users Grouphttp://www.meetup.com/TSPBUG/

Page 76: Heavy Metal PowerPivot Remastered

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