Book Image

Hands-On Business Intelligence with DAX

By : Horne
Book Image

Hands-On Business Intelligence with DAX

By: Horne

Overview of this book

Data Analysis Expressions (DAX) is known for its ability to increase efficiency by extracting new information from data that is already present in your model. With this book, you’ll learn to use DAX’s functionality and flexibility in the BI and data analytics domains. You’ll start by learning the basics of DAX, along with understanding the importance of good data models, and how to write efficient DAX formulas by using variables and formatting styles. You’ll then explore how DAX queries work with the help of examples. The book will guide you through optimizing the BI workflow by writing powerful DAX queries. Next, you’ll learn to manipulate and load data of varying complexity within Microsoft products such as Power BI, SQL Server, and Excel Power Pivot. You’ll then discover how to build and extend your data models to gain additional insights, before covering progressive DAX syntax and functions to understand complex relationships in DAX. Later, you’ll focus on important DAX functions, specifically those related to tables, date and time, filtering, and statistics. Finally, you’ll delve into advanced topics such as how the formula and storage engines work to optimize queries. By the end of this book, you’ll have gained hands-on experience in employing DAX to enhance your data models by extracting new information and gaining deeper insights.
Table of Contents (18 chapters)
1
Section 1: Introduction to DAX for the BI Pro
7
Section 2: Understanding DAX Functions and Syntax
14
Section 3: Taking DAX to the Next Level

Introduction to data modeling

Before you start using a report or writing DAX expressions, you need to build the underlying data model. You can think of a data model like the chassis of a sports car. No matter how good the car looks, if it has a poorly designed chassis, it will give a poor driving experience. In the same way, no matter how good a report might look, if it's built using a poorly designed data model, then it won't be very easy to work with. Worse still, the report may contain inaccurate information.

In addition to making it easier to work with DAX expressions, a well-structured data model can also help to reduce the overall size of your Excel spreadsheet or Power BI Desktop file. Through careful planning, a well-designed data model can also improve performance.

The process of building a data model begins with importing data into tables and creating the relationships...