Read more
Informationen zum Autor Marco Russo and Alberto Ferrari cofounded sqlbi.com, where they regularly publish articles about Microsoft PowerPivot, DAX, Power BI, and SQL Server Analysis Services. They also speak regularly at major international conferences, such as TechEd, Ignite, PASS Summit, and SQLBits. Both consult and mentor on business intelligence (BI) and Microsoft BI technologies, having worked with them since 1999. Their books include Microsoft Excel 2013 Building Data Models with PowerPivot , Microsoft SQL Server 2012 Analysis Services: The BISM Tabular Model , and Microsoft PowerPivot for Excel 2010: Give Your Data Meaning . Klappentext The Definitive Guide to DAX is the most comprehensive and authoritative guide to Microsoft's DAX language for business intelligence and analytics. While other books cover only the basics! this guide offers expert guidance on everything intermediate-to-advanced Excel users and BI professionals need to know! from the basics to innovative high-performance techniques. Zusammenfassung This comprehensive and authoritative guide will teach you the DAX language for business intelligence, data modeling, and analytics. Leading Microsoft BI consultants Marco Russo and Alberto Ferrari help you master everything from table functions through advanced code and model optimization. You’ll learn exactly what happens under the hood when you run a DAX expression, how DAX behaves differently from other languages, and how to use this knowledge to write fast, robust code. If you want to leverage all of DAX’s remarkable power and flexibility, this no-compromise “deep dive” is exactly what you need. Perform powerful data analysis with DAX for Microsoft SQL Server Analysis Services, Excel, and Power BI Master core DAX concepts, including calculated columns, measures, and error handling Understand evaluation contexts and the CALCULATE and CALCULATETABLE functions Perform time-based calculations: YTD, MTD, previous year, working days, and more Work with expanded tables, complex functions, and elaborate DAX expressions Perform calculations over hierarchies, including parent/child hierarchies Use DAX to express diverse and unusual relationships Measure DAX query performance with SQL Server Profiler and DAX Studio Inhaltsverzeichnis Foreword xvii Introduction xix Chapter 1: What is DAX? 1 Understanding the data model 1 Understanding the direction of a relationship 3 DAX for Excel users 5 Cells versus tables 5 Excel and DAX: Two functional languages 8 Using iterators 8 DAX requires some theory 8 DAX for SQL developers 9 Understanding relationship handling 9 DAX is a functional language 10 DAX as a programming and querying language 11 Subqueries and conditions in DAX and SQL 12 DAX for MDX developers 13 Multidimensional vs. Tabular 13 DAX as a programming and querying language 13 Hierarchies 14 Leaf-level calculations 15 Chapter 2: Introducing DAX 17 Understanding DAX calculations 17 DAX data types 18 DAX operators 21 Understanding calculated columns and measures 22 Calculated columns 22 Measures 23 Variables 26 Handling errors in DAX expressions 26 Conversion errors 26 Arithmetical operations errors 27 Intercepting errors 30 Formatting DAX code 32 Common DAX functions 35 Aggregate functions 35 Logical functions 37 Information functions 39 Mathematical functions 39 Trigonometric functions 40 Text functions 40 Conversion functions 41 Date and time functions 42 Relational functions 42 Chapter 3: Using basic table functions 45 Introducing table functions 45<...