• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Building your first Analysis Services Tabular BI Semantic model with SQL Server 2012
 

Building your first Analysis Services Tabular BI Semantic model with SQL Server 2012

on

  • 8,691 views

Speaker: Frederik Vandeputte

Speaker: Frederik Vandeputte

Download SQL Server 2012: http://www.microsoft.com/sqlserver/en/us/get-sql-server/try-it.aspx

Statistics

Views

Total Views
8,691
Views on SlideShare
8,668
Embed Views
23

Actions

Likes
2
Downloads
270
Comments
0

4 Embeds 23

http://kohera.be 11
https://pramati.qontext.com 9
http://www.kohera.be 2
https://ajgallagher.qontext.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • PowerPivot is new, self-service BI, relationship with AnalysisMature product, been out there since SQL 7.0, 5 major releases, Denali will be the Leading OLAP server, rich ecosystem of partners and ISVsUnprecedented scale, going beyond the traditional scope of BI applications
  • Where do we want to take this product. Multi-release, multi-year vision for the productSometimes you want fast time to solution, sometimes you want complex calculations and huge scaleBISM is the name we give to Analysis Services that encompasses these goals
  • Carry forward the existing ecosystem of client applicationsLook a bit deeper into the conceptual architectureCall out PowerPivot as a clientMDX versus DAXData access: cache the data or pass it through Vertipaq new in-memorycolunmstore, compression, blazing fast perf. No aggregations or tuning. Same as PowerPivot for Excel and SharePoint.

Building your first Analysis Services Tabular BI Semantic model with SQL Server 2012 Building your first Analysis Services Tabular BI Semantic model with SQL Server 2012 Presentation Transcript

  • BUILDING YOUR FIRST ANALYSIS SERVICESTABULAR BI SEMANTIC MODEL WITH SQLSERVER 2012Frederik VandeputtePartner @KoheraPresident @SQLUG.BEfrederik.vandeputte@kohera.be
  • AGENDA• Introduction• Demo• Wrap Up
  • ANALYSIS SERVICES: TODAY Broad adoption “Customers in the Magic Quadrant survey report that their Microsoft average deployment sizes are now larger than any other vendor in the survey in terms of users.” “Use of OLAP functionality by Microsoft customers is more than double that for the rest of the survey respondents.” Source: Gartner Magic Quadrant for BI Platforms, 2011 Large ecosystem "Wide availability of skills is among the top reasons customers select Microsoft over competing vendors.” Source: Gartner Magic Quadrant for BI Platforms, 2011 Highest rated infrastructure and development tools “Microsoft customers rate its BI platform infrastructure and development tools among the highest compared to other vendors, and a higher percentage of customers use them extensively.” Source: Gartner Magic Quadrant for BI Platforms, 20113
  • ANALYSIS SERVICES: TOMORROW Build on the strengths Embrace the relational and success of Analysis data model – well Services and expand its understood by reach to a much developers and IT Pros broader user base Bring together the relational and Provide flexibility in the multidimensional platform to suit the models under a single diverse needs of BI unified BI platform – applications best of both worlds!
  • BI SEMANTIC MODEL One Model for all End User Experiences Client Tools Analytics, Reports, Scorecards, Dashboards, Custom Apps BI Semantic Model Data model Business logic Personal BI Team BI Organizational BI and queries PowerPivot for Excel PowerPivot for SharePoint Analysis Services Data access Data Sources Databases, LOB Applications, OData Feeds, Spreadsheets, Text Files
  • BI SEMANTIC MODEL: ARCHITECTURE Third-party Reporting SharePoint Excel PowerPivot applications Services Insights Databases LOB Applications Files OData Feeds Cloud Services
  • SO WHAT’S ANALYSIS SERVICES TABULAR ANYWAY• “Server Side version of PowerPivot v1”• Development in Visual Studio, not in Excel• Adding PowerPivot v2 features• Adding Enterprise features like • security • partitions • management • ...
  • WHAT’S NEW COMPARED TO POWERPIVOT V1• Richer Models • KPIs • Descriptions • Persisted formatting • Advanced sorting • Mark as Date Table • Distinct count • Drill-through • Perspectives • Hierarchies • Multiple relationships • Parent child
  • DEMO TIME
  • ABOUT THE DEMO• Built a first SSAS Tabular model from scratch• Enhance the model step by step• Compare and highlight differences with PowerPivot and SSAS Multidimensioal (OLAP)
  • GETTING STARTED – 3 NEW OPTIONS
  • THE WORKSPACE DATABASE• Can be local or remote server• Holds in memory “development copy” of model• Databasename = ProjectName + username + GUID• Analyze in Excel connects to workspace DB• No need to redeploy to see changes in Excel or Cube browser
  • MEASURES MUST BE EXPLICITELY CREATED• PowerPivot will create implicit measures when you drag a column to the values area in a pivot table• Not possible in BISM (No_ measure defined)• Like in SSAS OLAP – measures must be created explicitely• Eeasiest way: AutoSum in SQL Data Tools
  • HIDE COLUMNS FROM CLIENT TOOLS• Make your model user friendly• Hide (surrogate) key columns• Hide columns used in formulas • Hide SalesAmount • Sum of Sales Amount visible
  • DAX DATA ANALYSIS EXPRESSION• DAX = Data Analysis Expressions• Launched with PowerPivot• DAX goals • Make data analysis really easy • Used relationships defined in PowerPivot/BISM model (no need for VLOOLUP)• Excel like Syntax• Support for +/- 80 Excel function• 35 Built in Time Intelligence functions• + Additional functions
  • WHAT CAN WE DO WITH DAX• Create caclulated columns• Create calculated measures• Define security in the model• Query the BI Semantic Model • out of scope of this presentation • Power View uses DAX as a query language
  • CALCULATED COLUMNS• Just another column in a table• Similar to named calculations in SSAS OLAP Datasource views• Calculated after data has been loaded (cube processing)• Can be placed in colums, rows, filters and slicers• Evaluated in row context• Examples • [Amount] =[Qty] *[Price] • [Full Name] = [First Name] & “ “ & [Last Name]
  • CALUCATED MEASURES• Created in the measure grid• Calculated “on the fly”• Can only be placed in values area of PivotTables• Evaluated in filter context • Rows/Columns/filters/Slicers• Examples • [Sales] = SUM (Sales[Amount]) • [Average Sale] = AVERAGEX ( Sales, Sales[Amount])
  • DATE CALCULATIONS• TOTALYTD function • Calculated Year To Date Values • SalesAmtYTD:=TOTALYTD(SUM(AutoSales[SalesAmount]);Dates[Date]) WRONG RESULTS
  • CREATE A DATE DIMENSION• Mark Time Dimension Table as Date• Use data column from Time dimension in Calculations• Sort Columns By key column• Create Hierarchies (in Diagram view) CORRECT RESULTS
  • KPIS
  • DAX EDITOR• Code highlighting• No intellisense• Free download at http://daxeditor.codeplex.com/
  • NO DETECTION OF MISSING RELATIONSHIPS• PowerPivot detects missing relationships• No warning in SSAS Tabular• Create relationships manual
  • PERSPECTIVES
  • SECURITY
  • PARTITIONS
  • MANAGEBILITY OF YOUR BISM CUBES• Via SSMS • Backup/Restore • Script • Deploy • Partition and security Managements• SSIS • Analysis Services Processing Task• AMO/ADOMD/PowerShell• Other tools • Deplyoment wizard, msbuild, source control, ..
  • CONCLUSIONS• Tabular model vs traditional SSAS OLAP cubes • Easier learing curve • No MDX, but DAX • Not all SSAS OLAP features are available in BISM tabular o SCOPE statements o Write Back o Native support for many to many dimensions o ...• Personal BI -> Team BI – Corporate BI• PowerPivot for Excel  PowerPivot for Sharepoint  BISM• Watch Kasper’s session tonight on Power View
  • SOME RESOURCES• Blogs • http://www.vandeputte.org (Frederik Vandeputte) • http://www.powerpivotblog.nl/ (Kasper De Jonge) • http://sqlblog.com/blogs/marco_russo/ (Marco Russo) • http://sqlblog.com/blogs/alberto_ferrari/ (Alberto Ferrari) • http://cathydumas.com/ (Cathy Dumas new) • http://blogs.msdn.com/b/cathyk/ (Cathy Dumas old)• Sites • http://social.technet.microsoft.com/wiki/contents/articles/277.powerpivot- overview.aspx (PowerPivot Wiki) • http://www.powerpivot-info.com/ • www.sqlug.be • www.kohera.be
  • THANK YOU