Heavy Metal PowerPivot
Jason HimmelsteinSenior Technical Director, SharePoint
@sharepointlhornhttp://www.sharepointlonghorn.com
Remastered
Thanks to our sponsors!
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
PowerPivot for SharePoint Primer• Architecture
• Installation
• SharePoint & PowerPivot
“What’s in a name…”
Changes in Terminology
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
How does it work?
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
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
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
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
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
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
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
Server Action > c2wtsPowerPivot for SharePoint
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
PowerPivot for SharePointServer Action
SharePoint Farm
WFE App
Data sources
ContentClient
ImageLoad
c:\Program Files\...\OLAP\Backup
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
PowerPivot for SharePoint
“If you build it, they will come…”
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
Installing PowerPivot 2008 R2
Installing PowerPivot v1 / 2008 R2
• New 2010 farm
• Pre-existing 2010 farm
Pre-existing 2010 Farm
• App Server
• SharePoint Admin Service account
• MS Data Access Engine 2010 Redist
• SQL Server 2008 R2 Setup in Admin mode
Pre-existing 2010 Farm
• Add Features
• New Installation NOT Add Features
• SQL Server PowerPivot for SharePoint
• HACK IT!
Pre-existing 2010 Farm
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
Installing PowerPivot v2 / SQL 2012
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'
What’s new in SQL Server 2012 for PowerPivot
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
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
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.
DEMO
• Some cool examples of PowerPivot in action.
Enabling PowerPivot & Power View
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
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
Gotchas!The multi-server hiccup
CTP3 cames with TCP\IP disabled
Until you enable this, no off server communication will happen to SQL
Gotchas! The single-server hiccup
Can’t log in to SharePoint locally?
Check your Loopback settings!
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
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
In the end, it’s all about perspective
2009 Atrion Networking Corporation
Special announcements
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!
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 `
Thanks to our sponsors!
Join our local users groups
Toronto SharePoint Users Grouphttp://www.meetup.com/TorontoSPUG/
Toronto SharePoint Business Users Grouphttp://www.meetup.com/TSPBUG/
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