Presentation is loading. Please wait.

Presentation is loading. Please wait.

Enriching your BI Semantic Models with Data Analysis Expressions (DAX)

Similar presentations


Presentation on theme: "Enriching your BI Semantic Models with Data Analysis Expressions (DAX)"— Presentation transcript:

1 Enriching your BI Semantic Models with Data Analysis Expressions (DAX)
4/29/2019 3:27 PM DBI323 Enriching your BI Semantic Models with Data Analysis Expressions (DAX) Kasper de Jonge SQL Server Analysis services team © 2007 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.

2 Session Objectives and Takeaways
TechReady12 4/29/2019 Session Objectives and Takeaways DAX introduced in PowerPivot (SQL 2008 R2) DAX enhancements in SQL Server 2012 IT/BI Pros can use DAX with SQL Server Data Tools Demos of DAX in PowerPivot Demos of DAX as a Query Language in SSMS © 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.

3 DAX – Data Analysis Expressions
Introduced as part of PowerPivot add-in for Excel Formulas for calculated columns & measures Same syntax as Excel including many Excel functions Capabilities beyond Excel formulas: Navigate relationships Dynamic calculation of measures Table valued functions Time Intelligence

4 DAX Enhancements in SQL Server 2012
DAX used in both PowerPivot and Analysis Services (BISM) Enable DAX as a query language (used by Power View) Extend PowerPivot with more DAX functions Add functions that build data sets for reporting Add support for more complex data models Continue evolution of DAX expression language

5 DAX Formulas in SQL Server 2012
TechReady12 4/29/2019 demo DAX Formulas in SQL Server 2012 © 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.

6 DAX for the BI Pro DAX Introduced with PowerPivot for Excel
SQL Server Data Tools (SSDT) now support Multidimensional and Tabular models DAX can be used in SSDT and SSMS in Denali Use DAX in row level security including dynamic security USERNAME() / CUSTOMDATA() functions in DAX

7 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 MOLAP VertiPaq Databases LOB Applications Files OData Feeds Cloud Services

8 Querying the BI Semantic Model with DAX
DAX query results are always a table (rowset) SQL Server 2012 adds DAX functions that return tables Users won’t author queries directly, Power View will send them

9 DAX Query Syntax DEFINE
TechReady12 4/29/2019 DAX Query Syntax DEFINE MEASURE Table1 [measure1] = <DAX_Expression> EVALUATE <DAX Table Expression> ORDER BY <DAX_Expression> [ASC | DESC]   © 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.

10 demo DAX Queries TechReady12 4/29/2019
© 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.

11 In Review: Session Objectives and Takeaways
TechReady12 4/29/2019 In Review: Session Objectives and Takeaways DAX introduced in PowerPivot (SQL 2008 R2) DAX enhancements coming in SQL Server 2012 IT Pros can use DAX in Analysis Services with SSDT Demos of DAX in PowerPivot Demos of DAX as a Query Language in SSMS © 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.

12 Related Content DBI413 - Many-to-Many Relationships in BISM Tabular
DBI301 - Building Self-Service BI Applications Using PowerPivot DBI319 - BISM: Multidimensional vs. Tabular DBI414 - Optimizing Your BI Semantic Model for Performance and Scale

13 Kasper de Jonge http://www.PowerPivotblog.nl kadejo@microsoft.com
@kjonge

14 mva Track Resources SQL Server 2012 Eval Copy Hands-On Labs @sqlserver
@ms_teched mva Microsoft Virtual Academy Get Certified!

15 Resources Learning TechNet http://europe.msteched.com
Connect. Share. Discuss. Microsoft Certification & Training Resources TechNet Resources for IT Professionals Resources for Developers

16 Submit your evals online
4/29/2019 3:27 PM Evaluations Submit your evals online © 2007 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.

17 4/29/2019 3:27 PM © 2012 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. © 2009 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.

18 4/29/2019 3:27 PM © 2009 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.


Download ppt "Enriching your BI Semantic Models with Data Analysis Expressions (DAX)"

Similar presentations


Ads by Google