SlideShare uma empresa Scribd logo
1 de 30
Baixar para ler offline
End-to-End SQL Server
     PowerPivot
Peter Myers, SolidQ Mentor




                July 2011

    Mark Ginnebaugh, User Group Leader
          mark@designmind.com
End-to-End
                     SQL Server
                     PowerPivot
Bay Area Microsoft Business Intelligence User Group

                   07 July, 2011
Abstract
Speaker: Peter Myers of SolidQ


This session is for IT professionals, data analysts, managers, and anyone looking to drive more productivity from Excel.
One of the pillars of the SQL Server 2008 R2 release is Managed Self-Service BI.
Peter will introduce:
• SQL Server PowerPivot for Excel
• SQL Server PowerPivot for SharePoint
You will learn:
• How you can effectively leverage the add-ins with your own data and analysis requirements
The SQL Server PowerPivot for Excel add-in is a key offering in this pillar, and delivers an entirely new analytic
experience to Excel 2010. This add-in allows analysts to load and prepare large volumes of data from various sources to
create a multidimensional model. The model can be enriched with sophisticated calculations. Then the model can then
be used as the source for PivotTable and PivotChart reports.
With the SQL Server PowerPivot for SharePoint add-in, the Excel workbooks that host the PowerPivot model can be
catalogued in SharePoint and exposed as a data source for other Excel and Reporting Services reports. These SharePoint
hosted models can then be managed by IT with scheduled data refreshes from the originating data stores.
Peter Myers of SolidQ is a Microsoft MVP and specializes in OLTP database design and development, DBA support and
Data Warehousing/Business Intelligence with SQL Server.
http://www.meetup.com/San-Francisco-Bay-Area-Microsoft-BI-User-Group/events/16622177/




© 2011 SolidQ                                                                                                              2
Presenter Introduction
• Peter Myers
• Mentor, SolidQ
• BBus, MCITP (Dev, DBA, BI), MCT, MVP
• 14 years of experience designing and developing
   software solutions using Microsoft products,
   today specializing in Microsoft Business
   Intelligence
• Based in San Francisco
• pmyers@solidq.com

© 2011 SolidQ                                       3
Agenda
• Introducing SQL Server PowerPivot
• Creating PowerPivot Models
• Creating Reports
• Enriching Models with DAX Calculations
• Working with PowerPivot in SharePoint Server 2010
• Next Generation OLAP From Microsoft
• Resources



© 2011 SolidQ                                         4
Introducing SQL Server PowerPivot

• PowerPivot empowers end users to create
   self-service BI solutions in Excel 2010
• Facilitates the sharing and collaboration of
   PowerPivot solutions in SharePoint Server 2010
• These capabilities are achieved by two add-ins:
     • SQL Server PowerPivot for Excel Add-in
     • SQL Server PowerPivot for SharePoint Add-in
• Both add-ins are available for download from
   Microsoft at no cost

© 2011 SolidQ                                        5
SQL Server PowerPivot for Excel Add-in

• Client add-in that extends Excel 2010 to support
   creating data models
     • Achieved with a client-side version of SQL Server
           Analysis Services, known as the VertiPaq processor
     •     Can efficiently load data volumes far greater than
           what Excel has been designed to do
• A separate PowerPivot Window is used to load,
   explore, relate, and enrich data with calculations
• Imports and relates data from corporate, local,
   and ad hoc data stores

© 2011 SolidQ                                                   6
SQL Server PowerPivot for Excel Add-in
Continued

• Results in a new data connection embedded in
   the Excel workbook that can become the basis for
   interactive reports
• Prerequisites include:
     • Excel 2010 (32-bit or 64-bit)
     • Windows XP SP3 (32-bit) or higher
     • Microsoft .NET Framework 3.5 SP1
• The add-in version (32- or 64-bit) must match the
   installed version of Office on the client

© 2011 SolidQ                                     7
SQL Server PowerPivot for SharePoint Add-in

• Collection of server components that provide query
  processing and management control for PowerPivot
  workbooks that are published to SharePoint Server
  2010
• Extends Excel Services by pairing its large scale data
  processing capability with the data rendering services
  that Excel provides
• Server components include:
     •     Analysis Services to provide server-side processing for Excel
           workbooks that contain a PowerPivot model
     •     PowerPivot System Service that works alongside Analysis
           Services, and adds SharePoint integration and request
           allocation support

© 2011 SolidQ                                                          8
Creating PowerPivot Models
• The PowerPivot Window
• Loading Data
• Preparing Data
• Defining Measures




© 2011 SolidQ                9
The PowerPivot Window
• Interface used to load, explore, relate, and enrich data
• Launched from the PowerPivot tab on
  the Excel ribbon
• Provides wizards and tools to load
  tabular data from:
   • The clipboard (copy and paste)
   • Databases and data feeds
   • Local Excel workbook tables
• Relationships can be defined between the tables
• Calculated columns can be created
• When saved, all PowerPivot data and metadata is
  embedded within the Excel workbook

© 2011 SolidQ                                                10
Loading Data
• Data can be loaded into the PowerPivot
   Window by:
     • Copying and pasting data
     • Loading external data sourced from:
                o   Databases – including all Microsoft database products
                o   Reporting Services reports
                o   Data feeds
                o   Files
     • Linking Excel tables
• Data is loaded into tables
© 2011 SolidQ                                                               11
Preparing Data
• Tables can be renamed, moved, and deleted
• Columns can be renamed, copied and deleted
• Relationships can be established between the
   tables
• Calculated columns can be created




© 2011 SolidQ                                    12
Creating Reports
• The PowerPivot Field List
     • PivotTable
     • PivotChart
• Creating Free-From Reports




© 2011 SolidQ                  13
The PowerPivot Field List
• Use the PowerPivot Field List to
   design PivotTable and PivotChart
   reports:
     • Search for tables and columns in the
           PowerPivot model
     •     Define slicers
     •     Design the report layout
     •     Create and modify measures
     •     Review messages and notifications
                o Model updated
                o Relationship needed

© 2011 SolidQ                                  14
Creating Free-Form Reports
• Five of the seven Excel CUBE functions deliver
   free-form reporting based on PowerPivot models:
     •     CUBEMEMBER
     •     CUBEVALUE
     •     CUBESET
     •     CUBESETCOUNT
     •     CUBERANKEDMEMBER
• The remaining two CUBE functions are not relevant:
     •     CUBEMEMBERPROPERTY, CUBEKPIMEMBER
• The PowerPivot model data connection is always
   named PowerPivot Data

© 2011 SolidQ                                          15
Creating Free-Form Reports
Continued

• Reports can be further enhanced with native
   Excel features:
     •     Conditional formatting
     •     Sparklines
     •     Slicers
     •     Charts




© 2011 SolidQ                                   16
Enriching Models with DAX
Calculations
• Introducing DAX Fundamentals
• Introducing the DAX Functions
• Creating Calculated Columns
• Creating Measures




© 2011 SolidQ                     17
Introducing DAX Fundamentals
• DAX = Data Analysis EXpressions
• Designed to deliver easy-to-use constructs that allow
   extending the PowerPivot model with calculations
• Used to define two distinctly different types of
   calculations:
     •     Calculated Columns that define new columns in
           PowerPivot tables (calculation is evaluated for each row in
           the table)
     •     Measures that define new fields in the PowerPivot Field List
           (calculation is evaluated when placed in the Values area of
           the PivotTable or PivotChart and within the filter context)

© 2011 SolidQ                                                            18
Introducing DAX Fundamentals
Continued

• The PowerPivot model from an analyst perspective
   appears tabular, so DAX provides functions that
   implement relational database concepts
• The function libraries consist of many familiar Excel
   functions, as well as additional functions to support:
     •     Relationship navigation
                o Many-to-one and one-to-many
     •     Aggregation over tables
     •     Context filtering
     •     Time Intelligence


© 2011 SolidQ                                               19
Introducing the DAX Functions
• DAX functions can be categorized into the following groups:
     •     Excel functions (~80 functions)
     •     Table functions
                o Return tables that are input to other DAX functions
                o For example, FILTER, ALL, DISTINCT
     •     Aggregate functions
                o Over columns: SUM, COUNT, AVERAGE, MIN, MAX
                o Over tables: SUMX, COUNTAX, AVERAGEX, MINX, MAXX
     •     Relationship navigation functions
                o Many-to-one: RELATED
                o One-to-many: RELATEDTABLE
     •     Context modification functions
                o CALCULATE and CALCULATETABLE
     •     Time Intelligence functions
                o Numerous time-related functions



© 2011 SolidQ                                                           20
Creating Calculated Columns
• Calculated columns are introduced as
  new columns in existing PowerPivot tables
• The values for each calculated column
  are materialized in the PowerPivot model
• Common examples:
     •     Produce derived columns:
                o Concatenate FirstName with LastName
                o Multiply OrderQuantity by UnitPrice
     •     Reference related column values (Many-to-One):
                o Look up the sales transaction’s state TaxRate
     •     Reference aggregate related column values (One-to-Many):
                o Produce the sum of Sales for the State


© 2011 SolidQ                                                     21
Creating Measures
• Measures are created on the Excel PowerPivot ribbon tab
  or from the PowerPivot Field List
• They are assigned to a PowerPivot table and can be
  named differently for the model and current PivotTable
• The formula box includes Intellisense and auto-
  completion
• The Check Formula button validates the expression
• Common examples:
   • Aggregate fields
   • Produce ratios:
                o Sales over All Product
     • Produce year-to-date
           (YTD) calculations

© 2011 SolidQ                                               22
Working with PowerPivot in
SharePoint Server 2010
• The PowerPivot Gallery
• The PowerPivot Management Dashboard




© 2011 SolidQ                           23
The PowerPivot Gallery
• The PowerPivot Gallery is a library template
   used to:
     • Preview contents by moving mouse over thumbnails
     • Configure alternate views and sort order
     • Create new analytic experiences based on a workbook
                o Clients simply connect to the SharePoint URL for PowerPivot
                  workbook
     • Configure data refresh policies
                o Each data source in model can have separate schedule
                o Schedule can be set to run after business hours
                o Notification can be sent in the event of data refresh failure


© 2011 SolidQ                                                                     24
The PowerPivot Management
Dashboard
• Collection of Web Parts and PowerPivot reports that
   display data related to the PowerPivot service
   application
     •     Server health
     •     Query response times
     •     Workbook usage
     •     Data refresh status
• Access to dashboard is limited to service application
  administrators
• Usage data available in PowerPivot Management
  Data.xlsx report for customization


© 2011 SolidQ                                             25
Next Generation OLAP From Microsoft

• Microsoft have recently announced a new direction for
  OLAP solution development with Analysis Services in the
  next release of SQL Server Project “Denali”
• PowerPivot will be just one of three supported
  approaches to produce a multidimensional model (cube)
• Named the BI Semantic Model, it will support
  multidimensional and tabular development approaches
• Watch the TechEd North America video What's New in
  Microsoft SQL Server Code-Named "Denali" for SQL Server
  Analysis Services and PowerPivot
     •     http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI206




© 2011 SolidQ                                                                26
Resources
• PowerPivot Site
   • http://powerpivot.com
• Analysis Services and PowerPivot Team Blog
   • http://blogs.msdn.com/b/powerpivot
• PowerPivotGeek Blog (Dave Wickert)
   • http://powerpivotgeek.com
• PowerPivot(Pro) Blog (Rob Collie)
   • http://powerpivotpro.com
• TechNet PowerPivot for SharePoint
   • http://technet.microsoft.com/en-us/library/ee210682.aspx

© 2011 SolidQ                                                   27
Thank you!




© 2011 SolidQ   28
To learn more or inquire about speaking opportunities, please contact:

                Mark Ginnebaugh, User Group Leader
                      mark@designmind.com

Mais conteúdo relacionado

Mais procurados

Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)
Anurag Rana
 
Introduction to MSBI
Introduction to MSBIIntroduction to MSBI
Introduction to MSBI
Edureka!
 
Microsoft SQL Server - Developing Rich Reporting Solutions Presentation
Microsoft SQL Server - Developing Rich Reporting Solutions PresentationMicrosoft SQL Server - Developing Rich Reporting Solutions Presentation
Microsoft SQL Server - Developing Rich Reporting Solutions Presentation
Microsoft Private Cloud
 
SQL Reporting service presentation
SQL Reporting service presentationSQL Reporting service presentation
SQL Reporting service presentation
Ahmed M. Rafik
 

Mais procurados (19)

Reports with SQL Server Reporting Services
Reports with SQL Server Reporting ServicesReports with SQL Server Reporting Services
Reports with SQL Server Reporting Services
 
MSBI-SSRS PPT
MSBI-SSRS PPTMSBI-SSRS PPT
MSBI-SSRS PPT
 
Reporting For Duty - Best Practices for Reporting Services With Sharepoint
Reporting For Duty - Best Practices for Reporting Services With SharepointReporting For Duty - Best Practices for Reporting Services With Sharepoint
Reporting For Duty - Best Practices for Reporting Services With Sharepoint
 
New features of sql server 2016 bi features
New features of sql server 2016 bi featuresNew features of sql server 2016 bi features
New features of sql server 2016 bi features
 
Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)Presentation 1 - SSRS (1)
Presentation 1 - SSRS (1)
 
SSRS 2008 R2
SSRS 2008 R2SSRS 2008 R2
SSRS 2008 R2
 
MSBI-SQL Server Reporting Services
MSBI-SQL Server Reporting ServicesMSBI-SQL Server Reporting Services
MSBI-SQL Server Reporting Services
 
SQL Server Reporting Services (SSRS) 101
 SQL Server Reporting Services (SSRS) 101 SQL Server Reporting Services (SSRS) 101
SQL Server Reporting Services (SSRS) 101
 
Ssis 2016 RC3
Ssis 2016 RC3Ssis 2016 RC3
Ssis 2016 RC3
 
Ssrs introduction session 1
Ssrs introduction session 1Ssrs introduction session 1
Ssrs introduction session 1
 
AAO BI Portfolio
AAO BI PortfolioAAO BI Portfolio
AAO BI Portfolio
 
Powerpivot web wordpress present
Powerpivot web wordpress presentPowerpivot web wordpress present
Powerpivot web wordpress present
 
Business Intelligence Portfolio
Business Intelligence PortfolioBusiness Intelligence Portfolio
Business Intelligence Portfolio
 
Introduction to MSBI
Introduction to MSBIIntroduction to MSBI
Introduction to MSBI
 
Nancy Soule Business Intelligence Potfolio
Nancy Soule Business Intelligence PotfolioNancy Soule Business Intelligence Potfolio
Nancy Soule Business Intelligence Potfolio
 
Business Intelligence in SharePoint 2013 by Jason Himmelstein - SPTechCon
Business Intelligence in SharePoint 2013 by Jason Himmelstein - SPTechConBusiness Intelligence in SharePoint 2013 by Jason Himmelstein - SPTechCon
Business Intelligence in SharePoint 2013 by Jason Himmelstein - SPTechCon
 
Microsoft SQL Server - Developing Rich Reporting Solutions Presentation
Microsoft SQL Server - Developing Rich Reporting Solutions PresentationMicrosoft SQL Server - Developing Rich Reporting Solutions Presentation
Microsoft SQL Server - Developing Rich Reporting Solutions Presentation
 
SQLUG MSBUILD SSRS Deployments
SQLUG MSBUILD SSRS DeploymentsSQLUG MSBUILD SSRS Deployments
SQLUG MSBUILD SSRS Deployments
 
SQL Reporting service presentation
SQL Reporting service presentationSQL Reporting service presentation
SQL Reporting service presentation
 

Destaque

V4 qlik view-datastorage
V4 qlik view-datastorageV4 qlik view-datastorage
V4 qlik view-datastorage
naresh akki
 
KPerry - 20463 Implementing a Data Warehouse with Microsoft® SQL Server (2)
KPerry - 20463 Implementing a Data Warehouse with Microsoft® SQL Server (2)KPerry - 20463 Implementing a Data Warehouse with Microsoft® SQL Server (2)
KPerry - 20463 Implementing a Data Warehouse with Microsoft® SQL Server (2)
Kwame M. Perry
 
Different ways to load data in qlikview
Different ways to load data in qlikviewDifferent ways to load data in qlikview
Different ways to load data in qlikview
Swamy Danthuri
 
Qlik View Corporate Overview Ppt Presentation
Qlik View Corporate Overview Ppt PresentationQlik View Corporate Overview Ppt Presentation
Qlik View Corporate Overview Ppt Presentation
pdalalau
 

Destaque (20)

Pivot Unpivot
Pivot UnpivotPivot Unpivot
Pivot Unpivot
 
Technical stream presentation
Technical stream presentationTechnical stream presentation
Technical stream presentation
 
Using T-SQL
Using T-SQL Using T-SQL
Using T-SQL
 
Sub query_SQL
Sub query_SQLSub query_SQL
Sub query_SQL
 
Llorance New Horizons 20768 Developing SQL Data Models
Llorance New Horizons 20768 Developing SQL Data ModelsLlorance New Horizons 20768 Developing SQL Data Models
Llorance New Horizons 20768 Developing SQL Data Models
 
V4 qlik view-datastorage
V4 qlik view-datastorageV4 qlik view-datastorage
V4 qlik view-datastorage
 
TIQ Solutions - QlikView Data Integration in a Java World
TIQ Solutions - QlikView Data Integration in a Java WorldTIQ Solutions - QlikView Data Integration in a Java World
TIQ Solutions - QlikView Data Integration in a Java World
 
KPerry - 20463 Implementing a Data Warehouse with Microsoft® SQL Server (2)
KPerry - 20463 Implementing a Data Warehouse with Microsoft® SQL Server (2)KPerry - 20463 Implementing a Data Warehouse with Microsoft® SQL Server (2)
KPerry - 20463 Implementing a Data Warehouse with Microsoft® SQL Server (2)
 
T-SQL: Pivot, Unpivot, Except, Intersect
T-SQL: Pivot, Unpivot, Except, IntersectT-SQL: Pivot, Unpivot, Except, Intersect
T-SQL: Pivot, Unpivot, Except, Intersect
 
Different ways to load data in qlikview
Different ways to load data in qlikviewDifferent ways to load data in qlikview
Different ways to load data in qlikview
 
MDX - What BI Developers Need To Know
MDX - What BI Developers Need To KnowMDX - What BI Developers Need To Know
MDX - What BI Developers Need To Know
 
SQL subquery
SQL subquerySQL subquery
SQL subquery
 
Sql subquery
Sql  subquerySql  subquery
Sql subquery
 
BI & Analytics in Action Using QlikView
BI & Analytics in Action Using QlikViewBI & Analytics in Action Using QlikView
BI & Analytics in Action Using QlikView
 
Building Data Warehouse in SQL Server
Building Data Warehouse in SQL ServerBuilding Data Warehouse in SQL Server
Building Data Warehouse in SQL Server
 
Practical qlikview 25 page sample
Practical qlikview   25 page samplePractical qlikview   25 page sample
Practical qlikview 25 page sample
 
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2
SQL202.2 Accelerated Introduction to SQL Using SQL Server Module 2
 
Microsoft Azure - SQL Data Warehouse
Microsoft Azure - SQL Data WarehouseMicrosoft Azure - SQL Data Warehouse
Microsoft Azure - SQL Data Warehouse
 
SQL - Parallel Data Warehouse (PDW)
SQL - Parallel Data Warehouse (PDW)SQL - Parallel Data Warehouse (PDW)
SQL - Parallel Data Warehouse (PDW)
 
Qlik View Corporate Overview Ppt Presentation
Qlik View Corporate Overview Ppt PresentationQlik View Corporate Overview Ppt Presentation
Qlik View Corporate Overview Ppt Presentation
 

Semelhante a Microsoft SQL Server PowerPivot

Bi developer gary thompson
Bi developer   gary thompsonBi developer   gary thompson
Bi developer gary thompson
Gary Thompson
 
Bi developer gary thompson
Bi developer   gary thompsonBi developer   gary thompson
Bi developer gary thompson
Gary Thompson
 
Bi developer gary thompson
Bi developer   gary thompsonBi developer   gary thompson
Bi developer gary thompson
Gary Thompson
 
Hitchhiker’s Guide to SharePoint BI
Hitchhiker’s Guide to SharePoint BIHitchhiker’s Guide to SharePoint BI
Hitchhiker’s Guide to SharePoint BI
Andrew Brust
 
Annie Lostlen BI Portfolio
Annie Lostlen BI PortfolioAnnie Lostlen BI Portfolio
Annie Lostlen BI Portfolio
annielostlen
 
New Features In Power Pivot 2010
New Features In Power Pivot 2010New Features In Power Pivot 2010
New Features In Power Pivot 2010
Phuong Nguyen
 
Business intelligence - Microsoft Technologies
Business intelligence - Microsoft TechnologiesBusiness intelligence - Microsoft Technologies
Business intelligence - Microsoft Technologies
Naveen Kumar Singh
 
Summary of all tools and microsoft power bi
Summary of all tools and microsoft power biSummary of all tools and microsoft power bi
Summary of all tools and microsoft power bi
Omar Khan
 

Semelhante a Microsoft SQL Server PowerPivot (20)

Microsoft PowerPivot & Power View in Excel 2013
Microsoft PowerPivot & Power View in Excel 2013Microsoft PowerPivot & Power View in Excel 2013
Microsoft PowerPivot & Power View in Excel 2013
 
Bi developer gary thompson
Bi developer   gary thompsonBi developer   gary thompson
Bi developer gary thompson
 
Bi developer gary thompson
Bi developer   gary thompsonBi developer   gary thompson
Bi developer gary thompson
 
Bi developer gary thompson
Bi developer   gary thompsonBi developer   gary thompson
Bi developer gary thompson
 
Bi developer gary t
Bi developer   gary tBi developer   gary t
Bi developer gary t
 
Bi developer gary t
Bi developer   gary tBi developer   gary t
Bi developer gary t
 
Hitchhiker’s Guide to SharePoint BI
Hitchhiker’s Guide to SharePoint BIHitchhiker’s Guide to SharePoint BI
Hitchhiker’s Guide to SharePoint BI
 
SQL Server Data Discovery with PowerPivot
SQL Server Data Discovery with PowerPivotSQL Server Data Discovery with PowerPivot
SQL Server Data Discovery with PowerPivot
 
Business Intelligence in Excel 2013
Business Intelligence in Excel 2013Business Intelligence in Excel 2013
Business Intelligence in Excel 2013
 
PowerPivot, Power View and SharePoint Server
PowerPivot, Power View and SharePoint ServerPowerPivot, Power View and SharePoint Server
PowerPivot, Power View and SharePoint Server
 
Powerbi 130926080957-phpapp02
Powerbi 130926080957-phpapp02Powerbi 130926080957-phpapp02
Powerbi 130926080957-phpapp02
 
Power BI
Power BIPower BI
Power BI
 
Annie Lostlen BI Portfolio
Annie Lostlen BI PortfolioAnnie Lostlen BI Portfolio
Annie Lostlen BI Portfolio
 
New Features In Power Pivot 2010
New Features In Power Pivot 2010New Features In Power Pivot 2010
New Features In Power Pivot 2010
 
Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]
Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]
Microsoft Power Stack 2019 [Power BI, Excel, Azure & Friends]
 
Business intelligence - Microsoft Technologies
Business intelligence - Microsoft TechnologiesBusiness intelligence - Microsoft Technologies
Business intelligence - Microsoft Technologies
 
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
Building your first Analysis Services Tabular BI Semantic model with SQL Serv...
 
Building Dashboard with Excel
Building Dashboard with ExcelBuilding Dashboard with Excel
Building Dashboard with Excel
 
Tenisha Hamilton -BI
Tenisha Hamilton -BITenisha Hamilton -BI
Tenisha Hamilton -BI
 
Summary of all tools and microsoft power bi
Summary of all tools and microsoft power biSummary of all tools and microsoft power bi
Summary of all tools and microsoft power bi
 

Mais de Mark Ginnebaugh

Mais de Mark Ginnebaugh (20)

Automating Microsoft Power BI Creations 2015
Automating Microsoft Power BI Creations 2015Automating Microsoft Power BI Creations 2015
Automating Microsoft Power BI Creations 2015
 
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
Microsoft SQL Server Analysis Services (SSAS) - A Practical Introduction
 
Platfora - An Analytics Sandbox In A World Of Big Data
Platfora - An Analytics Sandbox In A World Of Big DataPlatfora - An Analytics Sandbox In A World Of Big Data
Platfora - An Analytics Sandbox In A World Of Big Data
 
Microsoft SQL Server Relational Databases and Primary Keys
Microsoft SQL Server Relational Databases and Primary KeysMicrosoft SQL Server Relational Databases and Primary Keys
Microsoft SQL Server Relational Databases and Primary Keys
 
DesignMind Microsoft Business Intelligence SQL Server
DesignMind Microsoft Business Intelligence SQL ServerDesignMind Microsoft Business Intelligence SQL Server
DesignMind Microsoft Business Intelligence SQL Server
 
San Francisco Bay Area SQL Server July 2013 meetings
San Francisco Bay Area SQL Server July 2013 meetingsSan Francisco Bay Area SQL Server July 2013 meetings
San Francisco Bay Area SQL Server July 2013 meetings
 
Silicon Valley SQL Server User Group June 2013
Silicon Valley SQL Server User Group June 2013Silicon Valley SQL Server User Group June 2013
Silicon Valley SQL Server User Group June 2013
 
Microsoft SQL Server Continuous Integration
Microsoft SQL Server Continuous IntegrationMicrosoft SQL Server Continuous Integration
Microsoft SQL Server Continuous Integration
 
Hortonworks Big Data & Hadoop
Hortonworks Big Data & HadoopHortonworks Big Data & Hadoop
Hortonworks Big Data & Hadoop
 
Microsoft SQL Server Physical Join Operators
Microsoft SQL Server Physical Join OperatorsMicrosoft SQL Server Physical Join Operators
Microsoft SQL Server Physical Join Operators
 
Microsoft Data Warehouse Business Intelligence Lifecycle - The Kimball Approach
Microsoft Data Warehouse Business Intelligence Lifecycle - The Kimball ApproachMicrosoft Data Warehouse Business Intelligence Lifecycle - The Kimball Approach
Microsoft Data Warehouse Business Intelligence Lifecycle - The Kimball Approach
 
Fusion-io Memory Flash for Microsoft SQL Server 2012
Fusion-io Memory Flash for Microsoft SQL Server 2012Fusion-io Memory Flash for Microsoft SQL Server 2012
Fusion-io Memory Flash for Microsoft SQL Server 2012
 
Microsoft Data Mining 2012
Microsoft Data Mining 2012Microsoft Data Mining 2012
Microsoft Data Mining 2012
 
Microsoft SQL Server PASS News August 2012
Microsoft SQL Server PASS News August 2012Microsoft SQL Server PASS News August 2012
Microsoft SQL Server PASS News August 2012
 
Business Intelligence Dashboard Design Best Practices
Business Intelligence Dashboard Design Best PracticesBusiness Intelligence Dashboard Design Best Practices
Business Intelligence Dashboard Design Best Practices
 
Microsoft Mobile Business Intelligence
Microsoft Mobile Business Intelligence Microsoft Mobile Business Intelligence
Microsoft Mobile Business Intelligence
 
Microsoft SQL Server 2012 Cloud Ready
Microsoft SQL Server 2012 Cloud ReadyMicrosoft SQL Server 2012 Cloud Ready
Microsoft SQL Server 2012 Cloud Ready
 
Microsoft SQL Server 2012 Master Data Services
Microsoft SQL Server 2012 Master Data ServicesMicrosoft SQL Server 2012 Master Data Services
Microsoft SQL Server 2012 Master Data Services
 
Microsoft SQL Server Testing Frameworks
Microsoft SQL Server Testing FrameworksMicrosoft SQL Server Testing Frameworks
Microsoft SQL Server Testing Frameworks
 
Microsoft SQL Server - How to Collaboratively Manage Excel Data
Microsoft SQL Server - How to Collaboratively Manage Excel DataMicrosoft SQL Server - How to Collaboratively Manage Excel Data
Microsoft SQL Server - How to Collaboratively Manage Excel Data
 

Último

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 

Microsoft SQL Server PowerPivot

  • 1. End-to-End SQL Server PowerPivot Peter Myers, SolidQ Mentor July 2011 Mark Ginnebaugh, User Group Leader mark@designmind.com
  • 2. End-to-End SQL Server PowerPivot Bay Area Microsoft Business Intelligence User Group 07 July, 2011
  • 3. Abstract Speaker: Peter Myers of SolidQ This session is for IT professionals, data analysts, managers, and anyone looking to drive more productivity from Excel. One of the pillars of the SQL Server 2008 R2 release is Managed Self-Service BI. Peter will introduce: • SQL Server PowerPivot for Excel • SQL Server PowerPivot for SharePoint You will learn: • How you can effectively leverage the add-ins with your own data and analysis requirements The SQL Server PowerPivot for Excel add-in is a key offering in this pillar, and delivers an entirely new analytic experience to Excel 2010. This add-in allows analysts to load and prepare large volumes of data from various sources to create a multidimensional model. The model can be enriched with sophisticated calculations. Then the model can then be used as the source for PivotTable and PivotChart reports. With the SQL Server PowerPivot for SharePoint add-in, the Excel workbooks that host the PowerPivot model can be catalogued in SharePoint and exposed as a data source for other Excel and Reporting Services reports. These SharePoint hosted models can then be managed by IT with scheduled data refreshes from the originating data stores. Peter Myers of SolidQ is a Microsoft MVP and specializes in OLTP database design and development, DBA support and Data Warehousing/Business Intelligence with SQL Server. http://www.meetup.com/San-Francisco-Bay-Area-Microsoft-BI-User-Group/events/16622177/ © 2011 SolidQ 2
  • 4. Presenter Introduction • Peter Myers • Mentor, SolidQ • BBus, MCITP (Dev, DBA, BI), MCT, MVP • 14 years of experience designing and developing software solutions using Microsoft products, today specializing in Microsoft Business Intelligence • Based in San Francisco • pmyers@solidq.com © 2011 SolidQ 3
  • 5. Agenda • Introducing SQL Server PowerPivot • Creating PowerPivot Models • Creating Reports • Enriching Models with DAX Calculations • Working with PowerPivot in SharePoint Server 2010 • Next Generation OLAP From Microsoft • Resources © 2011 SolidQ 4
  • 6. Introducing SQL Server PowerPivot • PowerPivot empowers end users to create self-service BI solutions in Excel 2010 • Facilitates the sharing and collaboration of PowerPivot solutions in SharePoint Server 2010 • These capabilities are achieved by two add-ins: • SQL Server PowerPivot for Excel Add-in • SQL Server PowerPivot for SharePoint Add-in • Both add-ins are available for download from Microsoft at no cost © 2011 SolidQ 5
  • 7. SQL Server PowerPivot for Excel Add-in • Client add-in that extends Excel 2010 to support creating data models • Achieved with a client-side version of SQL Server Analysis Services, known as the VertiPaq processor • Can efficiently load data volumes far greater than what Excel has been designed to do • A separate PowerPivot Window is used to load, explore, relate, and enrich data with calculations • Imports and relates data from corporate, local, and ad hoc data stores © 2011 SolidQ 6
  • 8. SQL Server PowerPivot for Excel Add-in Continued • Results in a new data connection embedded in the Excel workbook that can become the basis for interactive reports • Prerequisites include: • Excel 2010 (32-bit or 64-bit) • Windows XP SP3 (32-bit) or higher • Microsoft .NET Framework 3.5 SP1 • The add-in version (32- or 64-bit) must match the installed version of Office on the client © 2011 SolidQ 7
  • 9. SQL Server PowerPivot for SharePoint Add-in • Collection of server components that provide query processing and management control for PowerPivot workbooks that are published to SharePoint Server 2010 • Extends Excel Services by pairing its large scale data processing capability with the data rendering services that Excel provides • Server components include: • Analysis Services to provide server-side processing for Excel workbooks that contain a PowerPivot model • PowerPivot System Service that works alongside Analysis Services, and adds SharePoint integration and request allocation support © 2011 SolidQ 8
  • 10. Creating PowerPivot Models • The PowerPivot Window • Loading Data • Preparing Data • Defining Measures © 2011 SolidQ 9
  • 11. The PowerPivot Window • Interface used to load, explore, relate, and enrich data • Launched from the PowerPivot tab on the Excel ribbon • Provides wizards and tools to load tabular data from: • The clipboard (copy and paste) • Databases and data feeds • Local Excel workbook tables • Relationships can be defined between the tables • Calculated columns can be created • When saved, all PowerPivot data and metadata is embedded within the Excel workbook © 2011 SolidQ 10
  • 12. Loading Data • Data can be loaded into the PowerPivot Window by: • Copying and pasting data • Loading external data sourced from: o Databases – including all Microsoft database products o Reporting Services reports o Data feeds o Files • Linking Excel tables • Data is loaded into tables © 2011 SolidQ 11
  • 13. Preparing Data • Tables can be renamed, moved, and deleted • Columns can be renamed, copied and deleted • Relationships can be established between the tables • Calculated columns can be created © 2011 SolidQ 12
  • 14. Creating Reports • The PowerPivot Field List • PivotTable • PivotChart • Creating Free-From Reports © 2011 SolidQ 13
  • 15. The PowerPivot Field List • Use the PowerPivot Field List to design PivotTable and PivotChart reports: • Search for tables and columns in the PowerPivot model • Define slicers • Design the report layout • Create and modify measures • Review messages and notifications o Model updated o Relationship needed © 2011 SolidQ 14
  • 16. Creating Free-Form Reports • Five of the seven Excel CUBE functions deliver free-form reporting based on PowerPivot models: • CUBEMEMBER • CUBEVALUE • CUBESET • CUBESETCOUNT • CUBERANKEDMEMBER • The remaining two CUBE functions are not relevant: • CUBEMEMBERPROPERTY, CUBEKPIMEMBER • The PowerPivot model data connection is always named PowerPivot Data © 2011 SolidQ 15
  • 17. Creating Free-Form Reports Continued • Reports can be further enhanced with native Excel features: • Conditional formatting • Sparklines • Slicers • Charts © 2011 SolidQ 16
  • 18. Enriching Models with DAX Calculations • Introducing DAX Fundamentals • Introducing the DAX Functions • Creating Calculated Columns • Creating Measures © 2011 SolidQ 17
  • 19. Introducing DAX Fundamentals • DAX = Data Analysis EXpressions • Designed to deliver easy-to-use constructs that allow extending the PowerPivot model with calculations • Used to define two distinctly different types of calculations: • Calculated Columns that define new columns in PowerPivot tables (calculation is evaluated for each row in the table) • Measures that define new fields in the PowerPivot Field List (calculation is evaluated when placed in the Values area of the PivotTable or PivotChart and within the filter context) © 2011 SolidQ 18
  • 20. Introducing DAX Fundamentals Continued • The PowerPivot model from an analyst perspective appears tabular, so DAX provides functions that implement relational database concepts • The function libraries consist of many familiar Excel functions, as well as additional functions to support: • Relationship navigation o Many-to-one and one-to-many • Aggregation over tables • Context filtering • Time Intelligence © 2011 SolidQ 19
  • 21. Introducing the DAX Functions • DAX functions can be categorized into the following groups: • Excel functions (~80 functions) • Table functions o Return tables that are input to other DAX functions o For example, FILTER, ALL, DISTINCT • Aggregate functions o Over columns: SUM, COUNT, AVERAGE, MIN, MAX o Over tables: SUMX, COUNTAX, AVERAGEX, MINX, MAXX • Relationship navigation functions o Many-to-one: RELATED o One-to-many: RELATEDTABLE • Context modification functions o CALCULATE and CALCULATETABLE • Time Intelligence functions o Numerous time-related functions © 2011 SolidQ 20
  • 22. Creating Calculated Columns • Calculated columns are introduced as new columns in existing PowerPivot tables • The values for each calculated column are materialized in the PowerPivot model • Common examples: • Produce derived columns: o Concatenate FirstName with LastName o Multiply OrderQuantity by UnitPrice • Reference related column values (Many-to-One): o Look up the sales transaction’s state TaxRate • Reference aggregate related column values (One-to-Many): o Produce the sum of Sales for the State © 2011 SolidQ 21
  • 23. Creating Measures • Measures are created on the Excel PowerPivot ribbon tab or from the PowerPivot Field List • They are assigned to a PowerPivot table and can be named differently for the model and current PivotTable • The formula box includes Intellisense and auto- completion • The Check Formula button validates the expression • Common examples: • Aggregate fields • Produce ratios: o Sales over All Product • Produce year-to-date (YTD) calculations © 2011 SolidQ 22
  • 24. Working with PowerPivot in SharePoint Server 2010 • The PowerPivot Gallery • The PowerPivot Management Dashboard © 2011 SolidQ 23
  • 25. The PowerPivot Gallery • The PowerPivot Gallery is a library template used to: • Preview contents by moving mouse over thumbnails • Configure alternate views and sort order • Create new analytic experiences based on a workbook o Clients simply connect to the SharePoint URL for PowerPivot workbook • Configure data refresh policies o Each data source in model can have separate schedule o Schedule can be set to run after business hours o Notification can be sent in the event of data refresh failure © 2011 SolidQ 24
  • 26. The PowerPivot Management Dashboard • Collection of Web Parts and PowerPivot reports that display data related to the PowerPivot service application • Server health • Query response times • Workbook usage • Data refresh status • Access to dashboard is limited to service application administrators • Usage data available in PowerPivot Management Data.xlsx report for customization © 2011 SolidQ 25
  • 27. Next Generation OLAP From Microsoft • Microsoft have recently announced a new direction for OLAP solution development with Analysis Services in the next release of SQL Server Project “Denali” • PowerPivot will be just one of three supported approaches to produce a multidimensional model (cube) • Named the BI Semantic Model, it will support multidimensional and tabular development approaches • Watch the TechEd North America video What's New in Microsoft SQL Server Code-Named "Denali" for SQL Server Analysis Services and PowerPivot • http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI206 © 2011 SolidQ 26
  • 28. Resources • PowerPivot Site • http://powerpivot.com • Analysis Services and PowerPivot Team Blog • http://blogs.msdn.com/b/powerpivot • PowerPivotGeek Blog (Dave Wickert) • http://powerpivotgeek.com • PowerPivot(Pro) Blog (Rob Collie) • http://powerpivotpro.com • TechNet PowerPivot for SharePoint • http://technet.microsoft.com/en-us/library/ee210682.aspx © 2011 SolidQ 27
  • 29. Thank you! © 2011 SolidQ 28
  • 30. To learn more or inquire about speaking opportunities, please contact: Mark Ginnebaugh, User Group Leader mark@designmind.com