You are on page 1of 29

Power View and the Cube

Oslo, August 30th 2014


Rgis Baccaro
@regbac
Introduction
Rgis Baccaro
@regbac
http://Theblobfarm.wordpress.com
http://Thelovefarm.wordpress.com
regis@baccaro.com
Founder and lead organizer of SQL Saturday Denmark
Works for IBM Rehfeld
Passionate about the community
.Net developer, BI guy, SharePoint fellow and accidental DBA
SQL Server MVP
Thank you to our sponsors!
The Recipe The Cook
You should be :
Familiar with Analysis Services Multidimensional
Familiar with Power View
You will learn
How Cubes are exposed in Power View
MD Enhancements related to Power View
8/31/2014
|
Power View and the Cube 5 |
Agenda
Architecture
Measure groups
Dimensions
Calculated Members
Default Member
Report filters
Images
Perspective & Translation
8/31/2014
|
Power View and the Cube 6 |
The big picture - Architecture
8/31/2014
|
Power View and the Cube 7 |
The Recipe - Architecture
8/31/2014
|
Power View and the Cube 8 |
B
I

S
e
m
a
n
t
i
c

M
o
d
e
l
Third-party
applications
Reporting Services
(Power View)
Excel
PowerPivot
Databases LOB Applications Files OData Feeds Cloud Services
SharePoint
Insights
Reporting Services
(Power View)
The Recipe - ingredients
SharePoint 2010 or 2013 Enterprise edition
Microsoft SQL Server 2012 SP1/SP2 or 2014
Analysis Services Multidimensional instance
Reporting Services Add-in for Microsoft
SharePoint Technologies
PowerPivot for SharePoint
Tip : How to install SharePoint without a
domain account!
8/31/2014
|
Power View and the Cube 9 |
The Recipe Preparation
Configuration of SharePoint
Make sure you do it in the right order !!
Generate a New Key in Secure Store Service
Application
8/31/2014
|
Power View and the Cube 10 |
The Recipe Preparation
Configuration of PowerPivot
8/31/2014
|
Power View and the Cube 11 |
The Recipe Preparation
Can be scripted
8/31/2014
|
Power View and the Cube 12 |
The Recipe Preparation
Configuration of Reporting Services
Create a new RS application in SharePoint
central admin (2013)
Enable features on SharePoint
8/31/2014
|
Power View and the Cube 13 |
The Recipe Preparation
Add the right content types to SharePoint
library
8/31/2014
|
Power View and the Cube 14 |
Putting it all together Connecting to a cube
RSDS file
8/31/2014
|
Power View and the Cube 15 |
Multidimensional Tabular mapping
8/31/2014
|
Power View and the Cube 16 |
BISM MD Object Tabular Metadata
Cube Model
Cube Dimension Table
Attribute(Key(s),Name) Columns
Measure Group Table
Measure Measure
Measure without measure group Called Measures within tables
Measure group Dimension Relationship Relationship
Perspective Perspective
KPI KPI
User/Parent-Child Hierarchies Hierarchies
Measure and Measure groups
Measure and Measure Groups
8/31/2014
|
Power View and the Cube 17 |
Measures as variants
Variants are not strongly typed
Can have different data types
Dimensions, attributes and hierarchies
8/31/2014
|
Power View and the Cube 19 |
Dimensions tables
Attributes columns within display folder
Dimensions attribute types
8/31/2014
|
Power View and the Cube 20 |
Dimension attribute geography types in
SSDT and Power View Field List
Parent-Child Hierarchy
Exposed as hierarchy
8/31/2014
|
Power View and the Cube 21 |
Dimension Calculated members
2 common types :
Children of All with a single real member
Calculated members on user hierarchies
Constraints:
Must be a single real member when the
dimension has more than one attribute.
Cannot be the key attribute of the dimension
unless it is the only attribute.
cannot be a parent-child attribute.
8/31/2014
|
Power View and the Cube 22 |
Non-Aggregatable Attributes
Dont aggregate across hierarchies
Demo
8/31/2014
|
Power View and the Cube 23 |
Default Members
Exposed as default value or filter
Only applied when used on filters
Demo
8/31/2014
|
Power View and the Cube 24 |
Images
8/31/2014
|
Power View and the Cube 25 |
Not specific to MD models
Perspective and locale
Specified in the Cube connection string
Data Source=localost;Initial
Catalog=AdventureWorksDW-MD;Cube='Direct
Sales'
Added as Locale identifier
Data Source=localost;Initial
Catalog=AdventureWorksDW-
MD;Cube='Adventure Works'; Locale
Identifier=3084
Report pinned filters
8/31/2014
|
Power View and the Cube 27 |
Tabular and MD models
Change one = change all
Added or modified via the filter pane
Added via rf URL parameter
EXAMPLE
http://...<reportUrl>...?rc:ViewMode=Presentation
&rf=[Date].[Calendar Year] eq 'CY 2005'
Unsupported features
8/31/2014
|
Power View and the Cube 29 |
Power View in Excel 2013
Actions
Named sets
Cell level security
</end>
8/31/2014
|
Power View and the Cube 31 |
Questions ?
Thank you!!
Contact me:
@regbac
regis@baccaro.com
Stay Involved!
Sign up for a free membership today at sqlpass.org
Linked In: http://www.sqlpass.org/linkedin
Facebook: http://www.sqlpass.org/facebook
Twitter: @SQLPASS
PASS: http://www.sqlpass.org

You might also like