Skip to Content
Learning Microsoft Power BI
book

Learning Microsoft Power BI

by Jeremey Arnold
September 2022
Beginner to intermediate
307 pages
8h
English
O'Reilly Media, Inc.
Content preview from Learning Microsoft Power BI

Chapter 5. Aggregations, Measures, and DAX

In Chapter 1, we had a long conversation about the storage engine and the formula engine of Power BI. In Chapter 3, we were really talking about how the storage engine works and what it means to store data in your own personal Analysis Services instance. Now we’ll dive into the other half of what makes Power BI special: the formula engine.

Taking stock of our progress so far, we’ve put our data in Power BI and reviewed most of the visuals available in Power BI out of the box. We dragged and dropped values into visualizations to get results, but how did Power BI know what to display?

This chapter details the roles of aggregations, measures, and DAX as they relate to visualizations. What is an aggregation? What is a measure? What exactly is DAX? We’ll answer all these questions and explain what you need to know.

A Primer on the DAX Language

Data Analysis Expressions (DAX) is the language of the formula engine of Analysis Services Tabular and Power BI. It is a multifunctional query language that can be used to obtain specific results or create calculated tables or columns. Anytime you create a visual in Power BI, it generates DAX behind the scenes to get the data from the Power BI storage engine.

DAX is incredibly powerful, but like everything else in Power BI, it is really defined at the columnar or table level. That’s different from software like Excel, where things are defined at the individual cell level. DAX cannot modify individual ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Learning Microsoft Power BI

Learning Microsoft Power BI

Reid Havens
Microsoft Power BI - A Complete Introduction [2023 EDITION]

Microsoft Power BI - A Complete Introduction [2023 EDITION]

Academind by Maximilian Schwarzmüller GmbH, Manuel Lorenz

Publisher Resources

ISBN: 9781098112837Errata Page