Learn to write sophisticated DAX queries to solve business intelligence and data analytics challenges
Handle performance issues and optimization within the data model, DAX calculations and more
Solve business issues with Microsoft Excel, Power BI, and SQL Server using DAX queries
Description
DAX provides an extra edge by extracting key information from the data that is already present in your model. Filled with examples of practical, real-world calculations geared toward business metrics and key performance indicators, this cookbook features solutions that you can apply for your own business analysis needs.
You'll learn to write various DAX expressions and functions to understand how DAX queries work. The book also covers sections on dates, time, and duration to help you deal with working days, time zones, and shifts. You'll then discover how to manipulate text and numbers to create dynamic titles and ranks, and deal with measure totals. Later, you'll explore common business metrics for finance, customers, employees, and projects. The book will also show you how to implement common industry metrics such as days of supply, mean time between failure, order cycle time and overall equipment effectiveness. In the concluding chapters, you'll learn to apply statistical formulas for covariance, kurtosis, and skewness. Finally, you'll explore advanced DAX patterns for interpolation, inverse aggregators, inverse slicers, and even forecasting with a deseasonalized correlation coefficient.
By the end of this book, you'll have the skills you need to use DAX's functionality and flexibility in business intelligence and data analytics.
Who is this book for?
Business users, BI developers, data analysts, and SQL users who are looking for solutions to the challenges faced while solving analytical operations using DAX techniques and patterns will find this book useful. Basic knowledge of the DAX language and Microsoft services is mandatory.
What you will learn
Understand how to create common calculations for dates, time, and duration
Create key performance indicators (KPIs) and other business calculations
Develop general DAX calculations that deal with text and numbers
Discover new ideas and time-saving techniques for better calculations and models
Perform advanced DAX calculations for solving statistical measures and other mathematical formulas
Handle errors in DAX and learn how to debug DAX calculations
This is a very clear and concise set of examples that are great for learning DAX and as a reference for experts. The time and dedication that Greg puts into his work is obvious.
Feefo Verified review
M. ShortOct 05, 2022
3
Quite difficult to read compared to plenty of other tomes. Sometimes it is quite basic, yet other times it assumes a high level of knowledge that you have to go away and do some research on, in order to understand what they are driving at. Works for me, albeit a slow, hard slog. Could be a lot better and certainly not a beginners' book.
Amazon Verified review
michael mitchellJun 27, 2021
5
The DAX COOKBOOK helped me venture into Advanced DAX concepts right from the start of the book. Based on what I read, I knew I had to improve my DAX skills from writing sample calculated columns and simple measures. I appreciated this book because, in the first chapters, the author worked mainly with calendars and calendar functions. In those chapters, he worked with scalar functions, logical functions, joins, and it also incorporated heavy utilization of variables throughout the chapters. The author incorporated work with table functions nested into filters. He also used generate series a lot throughout the book to create tables. During the reading of the book, I also watched third party videos on DAX to quantify the concepts of this book, and based on his teaching on advanced time intelligence, relationship functions, and other advanced theories all presented at the beginning of the book; I would recommend the user have advanced knowledge of DAX before reading this book.I would have appreciated a video series to accompany this book because the author used some concepts or presentations of the DAX code which was unfamiliar to me at first glance. I also believed on the cover of the book the author should've put Advanced DAX COOKBOOK because I don't believe a beginner would understand some of the complex coding languages of this book. I also had to use multiple monitors to read the dialogue of this book to understand the coding language in the above paragraph. I also wanted to disclose "Disclosure: I received a sample product from Packt to judge the content distributed by the author. I would recommend this book only to intermediate and advanced students; beginners should advance their skills before picking up this book.
Amazon Verified review
Amazon CustomerJun 19, 2021
2
The author uses the deprecated EARLY() and EARLIEST() functions quite a bit. Also, many of the samples are wildly inefficient and therefore not practical on large datasets. The solitions are frequently inelegant and or rely on creating quite a few new nested tables.The author does tackle some fairly complicated statistical analysis problems.It's an ok book if you want to see DAX examples, but be advised that some of them are not optimal and parts of the code are dated. This book is due for an update. It's not worth the $45 paperback price.
Amazon Verified review
Guy RolandMar 22, 2021
5
I discovered this book thanks to my packt subscription.It’s so useful that I’ve decided to buy the physical one. The book is well designed and the paper is very good quality.The content of the book is a treasure! Before reading it, you should have little experience with dax in my opinion.The techniques taught in this book are diverse and very useful. Even when you think to master a concept, you’ll discover new use cases!I highly recommend this very practical book.
Greg Deckler is a 7-time Microsoft MVP for Data Platform and an active blogger and Power BI community member, having written over 6,000 solutions to community questions. Greg has authored many books on Power BI, including Learn Power BI 1st and 2nd Editions, DAX Cookbook, Power BI Cookbook 2nd Edition and Mastering Power BI 2nd Edition. Greg has also created several external tools for Power BI and regularly posts video content to his YouTube channels, Microsoft Hates Greg and DAX For Humans.
Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.
If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.
Please Note: Packt eBooks are non-returnable and non-refundable.
Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:
You may make copies of your eBook for your own use onto any machine
You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website?
If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:
Register on our website using your email address and the password.
Search for the title by name or ISBN using the search option.
Select the title you want to purchase.
Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title.
Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook?
If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
To view your account details or to download a new copy of the book go to www.packtpub.com/account
Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.
You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.
What are the benefits of eBooks?
You can get the information you need immediately
You can easily take them with you on a laptop
You can download them an unlimited number of times
You can print them out
They are copy-paste enabled
They are searchable
There is no password protection
They are lower price than print
They save resources and space
What is an eBook?
Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.
When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.
For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.