Régis Baccaro regis@baccaro.com @regbac Power View and the Cube Régis Baccaro regis@baccaro.com @regbac.

Slides:



Advertisements
Similar presentations
Eric J. Oszakiewski MCTS: SharePoint Application Development SharePoint Configuration.
Advertisements

Joe Homnick, MCITP: Business Intelligence Developer
Stored procedures and views You can see definitions for stored procedures and views in the demo databases but you can’t change them. For views, expand.
Chris Webb Crossjoin Consulting Ltd
Arjun Krishnamoorthi  Power View enables self-service BI by providing simple to use ad-hoc reporting for business users and decision.
1 of 6 This document is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS OR IMPLIED, IN THIS DOCUMENT. © 2007 Microsoft Corporation.
04 | Building Stellar Data Visualizations Using Power View.
SPONSORS. Microsoft PowerPivot for SQL Server, Excel 2010, and SharePoint 2010 Michael Herman Syntergy, Inc.
IST722 Data Warehousing Business Intelligence Development with SQL Server Analysis Services and Excel 2013 Michael A. Fudge, Jr.
Virtual techdays INDIA │ November 2010 PowerPivot for Excel 2010 and SharePoint 2010 Joy Rathnayake │ MVP.
Introducing Reporting Services for SQL Server 2005.
Chapter 6 SAS ® OLAP Cube Studio. Section 6.1 SAS OLAP Cube Studio Architecture.
David Dye.  Introduction  Introduction to PowerPivot  Working With PowerPivot.
BISM Introduction Marco Russo
Power View Overview April 25, POWER VIEW Presentation ready visualizations for the masses.
Excel Services Displays all or parts of interactive Excel worksheets in the browser –Excel “publish” feature with optional parameters defined in worksheet.
A highway through the mountains of data with the SQL Server Tabular Model This presentation is a walk through in-memory database and reporting features.
Or How I Learned to Love the Cube…. Alexander P. Nykolaiszyn BLOG:
1 Copyright © 2008, Oracle. All rights reserved. Repository Basics.
19 Copyright © 2008, Oracle. All rights reserved. Security.
Extending and Creating Dynamics AX OLAP Cubes
Victoria Power BI User Group Meeting
SQL Server Analysis Services Fundamentals
Presenter Date | Location
Nithyamoorthy S Core Mind Technologies
Building Tabular Models
Project Management: Messages
Let’s Build a Tabular Model in Azure
What’s new in SQL Server 2017 for BI?
Introduction to Tabular Data Models
Power BI Performance Tips & Tricks
Welcome to all Salesforce Enthusiasts Once Again
About SharePoint Server 2007 My Sites
6/16/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Report Builder as Self Service BI Solution
6/19/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Data Platform and Analytics Foundational Training
Leveraging BI in SharePoint with PowerPivot and Power View
Julie Strauss Senior Program Manager Microsoft
Kanban Task Manager for Outlook ‒ Introduction
Presentation of the eTendersNI service Business Intelligence Module
TechEd /13/2018 7:46 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Excel Services Deployment and Administration
What Is Sharepoint? Mohsen Ashkboos
Introduction to tabular models
Module 1: Introduction to Business Intelligence and Data Modeling
Introduction to tabular models
Performance Point Services in SP2013
SQL Server Analysis Services Fundamentals
SQL Server Analysis Services Fundamentals
Enriching your BI Semantic Models with Data Analysis Expressions (DAX)
Exploring Microsoft® Access® 2016 Series Editor Mary Anne Poatsy
Module 13: Creating Data Visualizations with Power View
TechEd /24/2018 6:19 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered.
Module 12: Implementing an Analysis Services Tabular Data Model
Module 7: Working with Measures and Measure Groups
Module 9: Customizing Cube Functionality
Introduction to Database Programs
Building your First Cube with SSAS
Tracking Usage of Analysis Services with SharePoint
Introducing DAX July 11th, 2015.
Let’s Build a Tabular Model in Azure
敦群數位科技有限公司(vanGene Digital Inc.) 游家德(Jade Yu.)
Let’s Build a Tabular Model in Azure
Introduction to Database Programs
Enriching your BI Semantic Models with Data Analysis Expressions (DAX)
Extend Excel with Smartlist Designer
Michelle Haarhues Keeping up with SSMS.
Security - Forms Authentication
Module 5: Creating Multidimensional Databases
Presentation transcript:

Régis Baccaro regis@baccaro.com @regbac Power View and the Cube Régis Baccaro regis@baccaro.com @regbac

Sponsors

Introduction Régis Baccaro @regbac regis@baccaro.com http://Theblobfarm.wordpress.com http://Thelovefarm.wordpress.com regis@baccaro.com Founder and lead organizer of SQL Saturday Denmark Works for Rehfeld A/S Passionate about the community .Net developer, BI guy, SharePoint fellow and accidental DBA SQL Server MVP Farmer, runner, father and cook 10 år siden. Sharepoint 2003.... Who uses sharepoint ? Developer ? Admin ?

The Recipe – The Cook You should be : You will learn 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 4 | 11/18/201811/18/2018 | Power View and the Cube

Demos Agenda Architecture Measure groups Dimensions Calculated Members Default Member Report filters Images Perspective & Translation Demos Power Views is about visualisations so what is the point if I don’t do a lot of demos ? 5 | 11/18/201811/18/2018 | Power View and the Cube

The big picture - Architecture Power views isn’t really aware if it’s talking to MD or Tabular. As far as it knows it only speaks to BISM. Metadata is a bit diiferent. Exciting because it enables power view but also other applications that want to send DAX to MD models 6 | 11/18/201811/18/2018 | Power View and the Cube

The Recipe - Architecture Third-party applications Reporting Services (Power View) Reporting Services (Power View) SharePoint Insights Excel PowerPivot Multi- dimensional Data model Tabular Business logic MDX DAX BI Semantic Model Queries MDX MDX/DAX MDX/DAX Previously… What is introduced is the ability to send dax queries to the MD model and the ability to get metadata using a discovery which enables power view to connect to a MD modelwithout knowing if it’s a MD or tabular model Made a lot of work to make sure you don’t have to change your MD model in order to make this work. All demos are built on Adventureworks which ships with SQL Server 2012. This is a feature deployed for people who already have MD models for years and want to use Power View on top of these existing models. They are a few things that you need to turn on so it will enable some new stuff in PV you otherwise won’t see. In the future may be DAX queries from Excel against MDs. Currently only works with Sharepoint 2010 or 2013 Power View in Excel! Data access ROLAP VertiPaq Direct Query MOLAP MOLAP Databases LOB Applications Files OData Feeds Cloud Services 7 | 11/18/201811/18/2018 | Power View 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 | 11/18/201811/18/2018 | Power View and the Cube

The Recipe – Preparation Configuration of SharePoint Generate a New Key in Secure Store Service Application Minimum installation! It’s a jungle ! Usually AutoSPInstaller is a great help Secure Store is where unattended service account password will be 11/18/201811/18/2018 | Power View and the Cube

The Recipe – Preparation Configuration of PowerPivot Click Start and then launch the PowerPivot Configuration Tool from the Microsoft SQL Server 2012, Configuration Tool group. In the PowerPivot Configuration Tool, click OK to configure or repair PowerPivot for SharePoint. The PowerPivot for SharePoint Configuration Tool queries the state of your SharePoint environment. It detects the existing farm and determines which of the SharePoint components required by PowerPivot for SharePoint are already installed. Review the steps identified by the configuration tool to configure or repair PowerPivot for SharePoint. Enter the following information on the default Parameters tab, replacing the arguments with the appropriate values for your environment: Default Account Username: Default Account Password Database Server Confirm Passphrase Click Create PowerPivot Service Application and on the Parameters tab, select the checkbox, Upgrade workbooks to enable data refresh. Click Create Unattended Account for Data Refresh and on the Parameters tab, enter the following information, replacing the arguments with values appropriate for your environment: Unattended Account User Name: Unattended Account Password: Click Validate and then verify that all of the hazard icons disappear and are replaced by information icons. Review each of the tasks with an information icon, but do not make any changes. After validation succeeds, click OK. Click Run and then click Yes to continue 11/18/201811/18/2018 | Power View and the Cube

The Recipe – Preparation Can be scripted 11/18/201811/18/2018 | Power View and the Cube

The Recipe – Preparation Configuration of Reporting Services Create a new RS application in SharePoint central admin Enable features on SharePoint 11/18/201811/18/2018 | Power View and the Cube

The Recipe – Preparation Add the right content types to SharePoint library Demo it. Remember that they are on the data connection library!! 11/18/201811/18/2018 | Power View and the Cube

Putting it all together – Connecting to a cube RSDS file You need to create a Reporting Services shared data source (RSDS file) with Data Source Type set to “Microsoft BI Semantic Model for Power View” and specify the connection string to your cube as the one shown below. Data Source=sp15\md;Initial Catalog=AdventureWorksDW2012Multidimensional-EE;Cube='Adventure Works‘ Go through the credentials possibilities… 11/18/201811/18/2018 | Power View and the Cube

Multidimensional – Tabular mapping BISM – MD Object Tabular Metadata Cube Model Cube Dimension Table Attribute(Key(s),Name) Columns Measure Group Measure Measure without measure group Called ”Measures” within tables Measure group  Dimension Relationship Relationship Perspective KPI User/Parent-Child Hierarchies Hierarchies Object mapping Cube becomes a model and dimensions are exposed as tables as well as measure groups. Any attributes are exposed as columns a bit more complex semantics with keys and names some will be hidden as part of the metadata. the Adventure Works sample cube’s objects (measure groups and cube dimensions) in SQL Server Data Tools and how they are shown in the Power View field list. The measure groups are exposed as tables with ∑ icon indicating they contain aggregating objects (measures). All the measure groups appear first in the Power View field list sorted alphabetically. Following the measure groups you will see the cube dimensions (with the table icon) also sorted alphabetically. 11/18/201811/18/2018 | Power View and the Cube

Measure and Measure groups Demo 1 Show cube in visual studio Show data connections Start power view and expand internet sales  Internet sales amount Show KPIs in visual studio and explain structure compared to PV (KPI are part of a particular tables so they are exposed under it) In tabular model you only have value, goal and status in MD also trend  show it ! (Status + Trend). Hierarchies and KPI are in SP1 for Tabular. Recap : Measure groups exposed as tables, measures are shown under tables, KPIs are shown under their associated measures groups. 11/18/201811/18/2018 | Power View and the Cube

Measures as variants Variants are not strongly typed Can have different data types Measures as variants Measures in multidimensional models are variants. This means the measures are not strongly typed and can have different data types. For example, in the image below, the Amount measure in the Financial Reporting table by default is Currency data type, but also has a string value “NA” for the sub-total of “Statistical Accounts”, which is String data type. Power View recognizes certain measures as variants and shows the correct values and formatting in the different visualizations. Demo if time

Dimensions, attributes and hierarchies Dimensions  tables Attributes  columns within display folder The dimension attributes that have the AttributeHierarchyEnabled property set to false; for example: Birth Date attribute in Customer dimension, or AttributeHierarchyVisible property set to false will not appear in the Power View Field List. Multi-level hierarchies or user hierarchies; for example Customer Geography in the Customer dimension, are exposed as hierarchies in the Power View Field List. Hidden UnknownMembers of a dimension attribute are exposed in DAX Queries and in Power View. If you want to add the entire hierarchy you have multiple ways. Drag and drops individual columns into the field list. Other way check the lowest levels 11/18/201811/18/2018 | Power View and the Cube

Dimensions attribute types Dimension attribute geography types in SSDT and Power View Field List Multidimensional models support associating dimension attributes with specific dimension attribute types. The image below shows the Geography dimension where the City, State-Province, Country and Postal Code dimension attributes have geography types associated with them. These are exposed in the tabular metadata. Power View recognizes the metadata enabling users to create map visualizations. Demo 11/18/201811/18/2018 | Power View and the Cube

Parent-Child Hierarchy Exposed as hierarchy Multidimensional models support Parent-Child Hierarchies. The Parent-Child hierarchies are exposed as a hierarchy in the tabular metadata as you will see. Each level of the Parent-Child hierarchy is exposed as a column in the tabular metadata. The key attribute of the Parent-Child dimension is not exposed in the tabular metadata. Demo 3 – Parent-child hierarchy Employees – level 3,4,5 as a matrix to show total 11/18/201811/18/2018 | Power View 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. Calculated members on attribute hierarchies is one of the most common type of calculated members modelers use. Multidimensional model exposes this type of calculated members as values of a column. There are a few additional options/constraints while exposing this type of calculated members as listed below: The calculated members of user hierarchies are not exposed in Power View. A Power View end-user will be able to connect to a cube containing calculated members on user hierarchies but they will not be able to see calculated members if they do not meet the constraints mentioned above. Power View report against a cube that contains time intelligence calculated members on a dimension attribute “Fiscal Date Calculations” in the Date dimension. 11/18/201811/18/2018 | Power View and the Cube

Non-Aggregatable Attributes Don’t aggregate across hierarchies Demo In a multidimensional model, attributes of a dimension can have the IsAggregatable property set to false. This means the modeler has specified that client applications should not aggregate the data across hierarchies (attribute or multi-level) when they query the data. In Power View this dimension attribute is exposed as a column for which sub-totals are not available. Example of a non-aggregatable hierarchy: Accounts. The topmost level of the Accounts Parent-Child hierarchy is non-aggregatable while the other levels are aggregatable. Hence in a matrix visualization of the Accounts hierarchy (first two levels) you see sub-totals in Power View for Account Level 02 but not for the top most level, Account Level 01. Account level 01 – 02 + Amount 11/18/201811/18/2018 | Power View and the Cube

Default Members Exposed as default value or filter Only applied when used on filters Demo Multidimensional models support specifying default members for dimension attributes. The default member is used by Analysis Services when aggregating data for a query. The default member of a dimension attribute is exposed as default value or filter for the corresponding column in the tabular metadata. When Power View queries the data via DAX you will see the default filter being applied. The CustomerCity column from the Adventure Works cube where the default member property of the dimension attribute City has been set to Seattle ([Customer].[City].&[Seattle]&[WA].). When you add a column to one of the Power View visualizations (table or matrix or chart) that contains a default filter then Power View adds all the default filters of the corresponding table and also show the default filter value in the filter pane. In the tabular metadata that powerview sees : Attributes are mapped to columns Default members exposed as default value of the column Default members applied to visuals as default filters Report demo3!! The point is that default members get applied all the time unless you state otherwise ! 11/18/201811/18/2018 | Power View and the Cube

Images Not specific to MD models However fun and powerful We encourage to tweak your model to get the benefits. Graph of sales by product or subcategory  demo 11/18/201811/18/2018 | Power View 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 Demo

Report pinned filters 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' Comes from Microsoft dynamics A Power View report can contain multiple views. An additional feature included in SP1 (for both tabular and multidimensional models) is the ability to create filters that apply across all views in a report. By default, a view filter is unpinned and applies only to that view. Pinning a view filter applies it to all views; unpinning it removes it from other views. Rf parameter is very closed to Odata syntax…anyone recognizes it ? Only support for attribute eq value 11/18/201811/18/2018 | Power View and the Cube

Unsupported features Power View in Excel 2013 Actions Named sets Cell level security Unsupported Actions and Named sets do not prevent users from connecting to and exploring multidimensional models using Power View. Security will flow through Multidimensional models support dimension and cell level security via Roles. A user connecting to a cube via Power View is authenticated and evaluated for appropriate permissions. When a user has dimension security applied then the respective dimension members will not be seen by the user in Power View. However if a user has a cell security permission defined where certain cells are restricted then that user cannot connect to the cube via Power View. 11/18/201811/18/2018 | Power View and the Cube

Conclusion Use metadata

</end> Questions ? Thank you!! Contact me: @regbac regis@baccaro.com 11/18/201811/18/2018 | Power View and the Cube

Please give us feedback http://speakerscore.com/sqlsaturday376 Thank you!