PowerView and PowerPivot 2012

advertisement
Power Pivot V2
Power View
Agenda
Power Pivot Overview
What is new in PowerPivot/ BIDS
Power View
Demo with Live data
SQL Server Power Pivot for Excel
• Manages compressed storage of, and extremely fast querying
and reporting from, large volumes of related tabular data
• Data can be loaded from a variety of data sources
• Leverages familiar Excel features
• Uses Data Analysis Expressions (DAX) for sophisticated
transformation of data
• Supports publication of PowerPivot reports to SharePoint
• Functionality is delivered by two add-ins:
• SQL Server PowerPivot for Excel add-in
• SQL Server PowerPivot for SharePoint add-in
PowerPiavot for Excel 2010
• Ad-hoc large data
analysis
• In-memory
Database
• Fast, compressed,
interactive
• Data integration
• Data Analysis
Expressions (DAX)
• No IT Dept support
needed
PowerPivot and Data Integration
Self-service acquisition
and mash-up of data
from any source
•
•
•
•
•
Databases (any)
Reports
Cubes
Data Feeds
Azure DataMarket
Who Is the PowerPivot Audience?
• Excel users who know how to structure and work with
relational data in workbooks
• SharePoint users who use team sites and document
management features
• Database and IT professionals who:
− Want to delegate business data development tasks to those
who need the data most
− Need to retain sufficient control so that data can be
secured, monitored, reproduced, and archived
•demo
Mashing-Up PowerPivot Data
SQL Server PowerPivot for Excel Add-in
• Client add-in that extends Excel 2010 to support extremely
large data sets
− Achieved with a client-side version of Analysis Services,
known as the VertiPaq processor
• 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
• Results in a new data source embedded in the Excel
workbook that becomes the basis for interactive reports
PowerPivot for SharePoint 2010
Managed Self-Service Business Intelligence
Collaborative, shared gallery of PowerPivots
IT Pro management
• Lifecycle & Workflow
• Workbook Activity Chart
• Server Resource Management
What’s New in PowerPivot for SQL 2012
Diagrams
Calculated Measures
KPIs
Hierarchies
Perspectives
Multiple Relationships
Integration with SSAS Tabular Mode
PowerPivot for Excel is still free!
DAX
• DAX is a calculation language for PowerPivot
• It is a multidimensional calculation language like MDX, but the
design goals were:
• Make it easy to do common calculations (easier than MDX)
• Make it easy to use for Excel power users, hence the Excelbased syntax
• DAX expressions are limited to a single (though often very long)
line of code
DAX: New Features in SQL 2012
• DistinctCount
• Filter
• Evaluate
• IsSubTotal
• Summarize
• CrossJoin
• AddColumns
• TopN
• Switch
• Row
• Order By
• DateAdd
• Start At
• HasOneValue
• ROLLUP
• Search
• demo
Tour of New Features of PowerPivot for
SQL Server 2012
Maximum Capacity Specifications
Object
Specification / Limit
Object name length
Invalid characters in a Name
Number of tables per PowerPivot database
Number of columns and calculated columns per
table
Number of calculated measures in a table
PowerPivot memory size for saving a workbook
Concurrent requests per workbook
Local cubes connections
Number of distinct values in a column
Number of rows in a table
String length
100 characters
. , ; ' ` : / \ * | ? " & % $ ! + = () [] {} < >
(2^31) - 1 = 2,147,483,647
(2^31) - 1 = 2,147,483,647
(2^31) - 1 = 2,147,483,647
4GB = 4,294,967,296 bytes
6
5
1,999,999,997
1,999,999,997
536,870,912 bytes (512 MB), equivalent to
268,435,456 Unicode characters (256 mega
characters)
Known Issues
• Cannot Use a Calculated Column to Mark a Table as a Date Table
• PowerPivot Stops Responding When You Copy a Large Amount of Data to the Clipboard
(Workaround: Copy only small data sets in PowerPivot)
• Duplicate Linked Tables are created in Diagram View (Workaround: Make sure PowerPivot is in
Data View when you create linked tables)
• A Hierarchy Appears as a Flat List if it Is Used as a Report Filter (Workaround: Do not rename
the hierarchy on the report level when you add a hierarchy as a Report Filter)
• PowerPivot Management Dashboard Does Not Load on a Domain Controller
• PowerPivot Management Dashboard's Bubble Chart Control Might Not Work
• F1 Help Does Not Show Localized Content for Chinese Languages
• PowerPivot Fails to Open the Import Wizard for .atomsvc Files Larger than 64Kb
• Filtering Members from Different Levels of a Hierarchy Causes an Error
More information can be found at
http://social.technet.microsoft.com/wiki/contents/articles/3729.microsoft-powerpivot-codenamed-denali-ctp3-release-notes.aspx
Tabular Models over Power Pivot Models
Area
Pro Features
Scalability
Power Pivot has a 2 GB limit for the size of the Excel file. Tabular models do not have a hard
upper size limit.
Tabular models have partitions, which are used to manage processing of large data
volumes. Power Pivot does not.
Securability
Manageability
Tabular models support DirectQuery. You can consider DirectQuery almost as a scaling
feature as it allows you to avoid processing large data volumes altogether. Power Pivot only
queries the VertiPaq cache
Tabular models can be secured using row security. Dynamic security is also supported.
Power Pivot does not support row security or dynamic security. Security for a workbook is
just a binary choice – either a user can read a workbook or she can’t.
SSMS has the backup, restore, attach, detach, delete, and synchronize features that you
would expect. You can also script out from SSMS, browse your cube, and query your cube
using MDX. All of these features work the same for multidimensional and tabular models.
Processing Options for Tabular Model
Processing Option
Description
Process Add
Adds new rows to a partition. Any affected calculated columns, relationships, user
hierarchies, or internal engine structures (except table dictionaries) are
recalculated.
Drops all the data in a database, table, or partition.
Loads data into a partition or table.
Process Clear
Process Data
Process Default
Process Defrag
Process Full
Process Recalc
Loads data into unprocessed partitions or tables. Any affected calculated columns,
relationships, user hierarchies, or internal engine structures (except table
dictionaries) are recalculated.
Optimizes the table dictionary (an internal engine structure) for a given table or
for all tables in the database. This operation removes all dictionary entries that no
longer exist in the data set and rebuilds the partition data based on the new
dictionaries.
Loads data into all selected partitions or tables. Any affected calculated columns,
relationships, user hierarchies, or internal engine structures (except table
dictionaries) are recalculated.
For all tables in the database, recalculates calculated columns, rebuilds
relationships. rebuilds user hierarchies, and rebuilds other internal engine
structures. Table dictionaries are not affected.
Query Modes in Tabular Model
Query Mode
Description
Limitation
DirectQuery
This setting specifies all queries
to the model should use the
relational data source only
• Custom security
implementation may not work
(It throws an exception and
stops working)
• Calculated columns are not
allowed
In-Memory
This setting specifies queries
should be answered by using the
cache only
SSIS with tabular models
Analysis Services Processing Task
Only some of the processing options are appropriate for tabular models.
Process Full, Process Default, Process Data, and Process Clear are fine
processing choices for tabular models. Process Indexes, not so much.
Processing options that apply only to tabular models do not appear in this
processing task. If you want to Process Recalc (and you do want to do this
after a Process Add, Process Clear, or Process Data), you have to use the
Execute DDL task instead.
Analysis Services Execute DDL Task
This task is fully supported and works great with tabular models.
Power View
Project ‘Crescent’
Agenda
• What is Power View
• Features of Power View
• Architecture of Power View
• Power View is NOT
• System Requirements
• Design view
• Demo
What is Power View?
Power View is an interactive data
exploration and visual
presentation experience
Part of SQL Server 2012 Reporting Services
Power View
Highly Visual Design Experience
•
•
•
Interactive, web-based authoring and sharing of information
Familiar Microsoft Office design patterns
Powerful data layout with banding, callout and small multiples
visualizations
Rich metadata-driven interactivity
•
•
•
Fully integrated with PowerPivot
Drive greater insight through smart and powerful querying
Animated trending and comparisons
Presentation-ready at all times
•
•
Deliver and collaborate through SharePoint
Full screen presentation mode for interactive boardroom session
Features of Power View
• It will provide a fun, visual, and powerful drag-and-drop ad hoc
reporting experience
• It allows business users to manage data and show information
in a truly innovative and exciting way, allowing people to
visualize, interact and report on data using highly interactive
visualizations, animations and smart querying
Features of Power View Cont..
•
It is done all in a browser – there is nothing to deploy. It is
presentation-ready
•
Self service BI/ ad-hoc reporting
•
Completely based on BISM model
Power View Architecture
SharePoint Farm
Web Front End
BIDS
Tabular Model
App Server
RS Server
RS Web
Service
Power View Client
(Silverlight)
ADOMD.NET
BISM File
(optional)
AS Server
Tabular Mode
PowerPivot
Web Service
PowerPivot
System Service
AS Server
Sharepoint
Integrated
DirectQuery
(Optional)
Web Front End
Excel PowerPivot
Model
DAX Extension
SQL Server
BI Semantic Model
One Model for All User Experiences
Your
Apps
Reporting Services
& Power View
Excel
SharePoint
Insights
PowerPivot
BI Semantic Model
Data Model
Business
Logic/Queries
Data Access
Databases
LOB Applications
Multidimensional
Tabular
MDX
DAX
ROLAP
Files
MOLAP
xVelocity
OData Feeds
Direct
Query
Cloud Services
Power View is NOT
• Does not replace RB 2.0, 3.0 or BIDS
• Not a goal to edit or add new interactivity to Dev/IT
Pro reports built in RB or BIDS
• No complex calculation building
• Use PowerPivot, BISM & DAX, or SSAS Cubes
• Not a cell-based calculation tool
• Not a replacement for PPS scorecards
• Not a forecasting/write back tool
What’s Special about Power View
Rich Visualisations
• Incl. Animated Scatter Plot
Based on Tabular Models
Automatic Relationships (from model)
Export to PowerPoint
Web-based, No Coding
• An amazing, easy-to-use, story-telling end-user data
exploration tool
System Requirements
SQL Server 2012
• BI, Enterprise, or Developer edition
SharePoint 2010 SP1
• Enterprise Edition
Supported browser
1. Canvas
2. Ribbon
3. Field list
4. Fields section. Checked fields
Power View in
design view
are in the selected visualization,
the small multiples
11
5. Layout section. Shows
fields in the small multiples
6. Label icon
7. Measure (sigma) symbols
8. Filters area
9.
10.
11.
12.
Popout/pop back icon
Default title text box
Preview mode
Full-screen presentation
mode
13. Link to Help online
13
12
2
8
10
6
4
7
Category
Picture
3
1
9
5
• demo
Building a Power View Report
Key Power View Features
Easy Filtering
• Using filter pane (view or visualisation scope),
• Interactively, through visualisations,
• Slicers
Sorting
Multiple Views
• Great for storyboarding
Performance thanks to tabular models
Data Visualisations
One click converts between them!
Tables
Matrices (with grouping)
Small Multiples
Cards
Tiles
Charts
• Column, bar, line,
• Scatter, and bubble
Scatter Plot
The Bubble Chart
Lots of Data:
•
•
•
•
X and Y axis
Bubble size
Bubble colour (great for categories)
Play axis
•
•
Animated!
Great for time, but also: production volume, profit, Twitter comment count…
• Trail (shows history)
Summary
PowerPivot: self-service analytics
Power View: visual, self-service data exploration
BISM: any analytical user experiences
SharePoint: manage, collaborate, and socialise BI
Resources
http://technet.microsoft.com/en-us/library/hh272665.aspx
http://www.powerpivotpro.com/
http://social.technet.microsoft.com/wiki/contents/articles/3729.microsoftpowerpivot-code-named-denali-ctp3-release-notes.aspx
Download