180 likes | 803 Views
Enriching BI Semantic Models using Data Analysis Expressions (DAX) DBI408. Ashvini Sharma & Kasper de Jonge Program Managers Analysis Services. Agenda. PowerPivot DAX Calculations DAX Queries. DAX in Denali. demo. Calculating Rank. List of Values. Value to rank. Rank. 6. 2.
E N D
Enriching BI Semantic Models using Data Analysis Expressions (DAX)DBI408 Ashvini Sharma & Kasper de Jonge Program Managers Analysis Services
Agenda • PowerPivot • DAX Calculations • DAX Queries
DAX in Denali demo
Calculating Rank List of Values Value to rank Rank 6 2
Calculating Rank List of Values Value to rank Rank Rank Profit for current country
Calculating Rank List of Values RANKX( TABLE • ALL(Countries), [Profit], … EXPRESSION
Calculating Rank List of Values Value to rank Rank Rank [Profit]
Recap • Tables & Relationships • Calculated Columns • “Automatic” measures • Filter Context & custom measures • Overriding the filter context • Rank, Time Intelligence, Multiple relationships, Parent Child
DAX for the BI Pro • Introduced with PowerPivot for Excel • Will be supported for Tabular projects in Denali • Use DAX in row level security including dynamic security • USERNAME() function in DAX
BI Semantic Model: Architecture Third-party applications Reporting Services SharePoint Insights Excel PowerPivot BI Semantic Model Multi- dimensional Data model Tabular Business logic and queries MDX DAX Direct Query Data access ROLAP VertiPaq MOLAP Databases LOB Applications Files OData Feeds Cloud Services
Querying the BI Semantic Model with DAX • DAX query results are always a table (rowset) • SQL 11 adds DAX functions that return tables • Although tabular, syntax is different than SQL
DAX Queries demo
What’s new in Denali • SWITCH • TOPN • Statistical functions: STDEV & VAR • HASONEVALUE
In Review: DAX (for Denali) • Low barrier to entry • Scales to complex analytical needs • SQL 11 simplifies formula authoring • DAX as a Query language
Required Slide Speakers, please list the Breakout Sessions, Interactive Discussions, Labs, Demo Stations and Certification Exam that relate to your session. Also indicate when they can find you staffing in the TLC. Related Content • DBI206 | What's New in Microsoft SQL Server Code-Named "Denali" for SQL Server Analysis Services and PowerPivot • DBI208 | Abundantly "Crescent": Demos Galore DBI274-HOL | Loading and Preparing Data in the Microsoft PowerPivot for Excel 2010 Client • DBI373-HOL | Defining DAX Calculations with Microsoft PowerPivot for Excel 2010 • Demo station 1 – Microsoft Business Intelligence Managed Self-Service BI • http://blogs.msdn.com/powerpivot
Required Slide Complete an evaluation on CommNet and enter to win!
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.