29
Power View and the Cube Oslo, August 30th 2014 Régis Baccaro @regbac

Oslo - PowerView and the Cube

Embed Size (px)

DESCRIPTION

Oslo - PowerView and the Cube

Citation preview

Page 1: Oslo - PowerView and the Cube

Power View and the Cube

Oslo, August 30th 2014

Régis Baccaro

@regbac

Page 2: Oslo - PowerView and the Cube

Introduction

Régis Baccaro @regbachttp://Theblobfarm.wordpress.com

http://Thelovefarm.wordpress.com

[email protected]

• 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

Page 3: Oslo - PowerView and the Cube

Thank you to our sponsors!

Page 4: Oslo - PowerView and the Cube

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 Cube5 |

Page 5: Oslo - PowerView and the Cube

Agenda

Architecture

Measure groups

Dimensions

Calculated Members

Default Member

Report filters

Images

Perspective & Translation

8/31/2014

|Power View and the Cube6 |

Page 6: Oslo - PowerView and the Cube

The big picture - Architecture

8/31/2014

|Power View and the Cube7 |

Page 7: Oslo - PowerView and the Cube

The Recipe - Architecture

8/31/2014

|Power View and the Cube8 |

BI S

em

antic M

odel

Third-party

applications

Reporting Services

(Power View) Excel PowerPivot

Databases LOB Applications Files OData Feeds Cloud Services

SharePoint

Insights

Reporting Services

(Power View)

Page 8: Oslo - PowerView and the Cube

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 Cube9 |

Page 9: Oslo - PowerView and the Cube

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 Cube10 |

Page 10: Oslo - PowerView and the Cube

The Recipe – Preparation

Configuration of PowerPivot

8/31/2014

|Power View and the Cube11 |

Page 11: Oslo - PowerView and the Cube

The Recipe – Preparation

Can be scripted

8/31/2014

|Power View and the Cube12 |

Page 12: Oslo - PowerView and the Cube

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 Cube13 |

Page 13: Oslo - PowerView and the Cube

The Recipe – Preparation

Add the right content types to SharePoint

library

8/31/2014

|Power View and the Cube14 |

Page 14: Oslo - PowerView and the Cube

Putting it all together – Connecting to a cube

RSDS file

8/31/2014

|Power View and the Cube15 |

Page 15: Oslo - PowerView and the Cube

Multidimensional – Tabular mapping

8/31/2014

|Power View and the Cube16 |

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

Page 16: Oslo - PowerView and the Cube

Measure and Measure groups

Measure and Measure Groups

8/31/2014

|Power View and the Cube17 |

Page 17: Oslo - PowerView and the Cube

Measures as variants

Variants are not strongly typed

Can have different data types

Page 18: Oslo - PowerView and the Cube

Dimensions, attributes and hierarchies

8/31/2014

|Power View and the Cube19 |

Dimensions tables

Attributes columns within display folder

Page 19: Oslo - PowerView and the Cube

Dimensions attribute types

8/31/2014

|Power View and the Cube20 |

Dimension attribute geography types in

SSDT and Power View Field List

Page 20: Oslo - PowerView and the Cube

Parent-Child Hierarchy

Exposed as hierarchy

8/31/2014

|Power View and the Cube21 |

Page 21: Oslo - PowerView and the Cube

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 Cube22 |

Page 22: Oslo - PowerView and the Cube

Non-Aggregatable Attributes

Don’t aggregate across hierarchies

Demo

8/31/2014

|Power View and the Cube23 |

Page 23: Oslo - PowerView and the Cube

Default Members

Exposed as default value or filter

Only applied when used on filters

Demo

8/31/2014

|Power View and the Cube24 |

Page 24: Oslo - PowerView and the Cube

Images

8/31/2014

|Power View and the Cube25 |

Not specific to MD models

Page 25: Oslo - PowerView and the Cube

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

Page 26: Oslo - PowerView and the Cube

Report pinned filters

8/31/2014

|Power View and the Cube27 |

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'

Page 27: Oslo - PowerView and the Cube

Unsupported features

8/31/2014

|Power View and the Cube29 |

Power View in Excel 2013

Actions

Named sets

Cell level security

Page 28: Oslo - PowerView and the Cube

</end>

8/31/2014

|Power View and the Cube31 |

Questions ?

Thank you!!

Contact me:

@regbac

[email protected]

Page 29: Oslo - PowerView and the Cube

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