New
Microsoft Power BI Quick Start Guide
Build interactive dashboards and reports with Power BI Desktop, the Power BI service, and DAX
by Bradley Schacht, Devin Knight, Erin Ostrowsky, Mitchell Pearson
Pages
262
Published
2018
A Practical Introduction to DAX Formulas for Power BI Reports and Models
Learn to write DAX formulas that turn raw Power BI data into meaningful, trustworthy business insights — from your first measure to time-intelligence calculations.
DAX looks simple until your first measure returns the wrong number and you have't got a clue why. Beginning DAX with Power BI by Philip Seamark gives you a ground-up understanding of how DAX actually evaluates — filter context, row context, and the transition between them — so your formulas do what you intend, not what you typed. Practical examples drawn from real business scenarios let you apply each concept the moment you learn it.
Most Power BI users can drag fields into a visual. Far fewer can write a measure that answers a genuinely hard business question — or debug one that quietly returns the wrong answer. DAX is the layer where raw data becomes reliable insight, and learning it properly is the difference between a report that gets trusted and one that gets ignored.
Beginning DAX with Power BI by Philip Seamark — a Microsoft MVP with deep hands-on experience building production Power BI solutions — starts where most DAX resources skip over: how DAX actually thinks. Before writing a single formula, you build a clear mental model of tables, relationships, and the two evaluation contexts that control every result. That foundation is what separates developers who get DAX from developers who just copy formulas off Stack Overflow.
From there, each chapter layers on a concrete skill. You move from basic aggregations and calculated columns through to more demanding patterns: filtering with CALCULATE, working across related tables with RELATED and USERELATIONSHIP, and building time-intelligence calculations that handle month-to-date, year-over-year, and rolling-period analysis correctly — even when your calendar has gaps or non-standard periods.
The examples are drawn from realistic business data, not toy datasets. That means the problems feel familiar, the gotchas are the ones you will actually encounter, and the solutions translate directly to your own models. Every concept is tested against actual Power BI behavior, so what you read is what you see on screen.
If you are moving beyond drag-and-drop Power BI and want formulas you can trust, this book gives you the structured foundation to get there.
Understand the problem DAX was built to solve and how it differs from Excel formulas and SQL. You set up a working Power BI environment and load the sample data used throughout the book.
Learn how Power BI stores data in columnar tables and how relationships between them control what a formula can see. You build a simple star-schema model and inspect how relationships propagate filters.
Write your first DAX expressions as both calculated columns and measures, and understand the critical difference between the two. You see why the same formula can return different results depending on which type you choose.
Develop a solid mental model of the two evaluation contexts that govern every DAX calculation. You work through targeted examples designed to expose exactly how context shapes results.
Master CALCULATE — the single most important function in DAX — and use it to override, extend, or remove filters applied by a visual. Real examples show you when and why to reach for it.
Use RELATED, RELATEDTABLE, and USERELATIONSHIP to write formulas that cross table boundaries, including scenarios involving inactive relationships and ambiguous paths.
Apply SUMX, AVERAGEX, RANKX, and related iterators to perform row-by-row calculations that simple aggregations cannot handle. You learn when an iterator is the right tool and when it is not.
Build the date table your model needs and then write time-intelligence measures for month-to-date totals, year-over-year comparisons, and rolling-period analysis using DAX's built-in time functions.
Examine the DAX patterns that appear in almost every real-world Power BI project — including dynamic segmentation, ABC classification, and cumulative totals — alongside the mistakes that trip up intermediate users.
No. The book assumes you have used Power BI to build basic reports but have little or no DAX knowledge. Every concept is introduced from scratch with worked examples.
The focus is Power BI Desktop, where you write and test DAX formulas. The concepts apply wherever DAX runs, including Analysis Services and Excel Power Pivot, but the screenshots and workflow are Desktop-specific.
The core DAX language — contexts, CALCULATE, iterators, time intelligence — has not changed, so the foundational content remains accurate. A small number of UI details in Power BI Desktop may differ from the current version.
Apress publishes source code and data files for its titles; check the book's page on the Apress website to download any companion materials provided by the author.
Yes. Excel users often find the transition to DAX natural because the function syntax is familiar, but the book clearly explains where the Excel mental model breaks down and what to think instead.
If you already understand filter context, use CALCULATE fluently, and are looking for advanced patterns like virtual relationships or query optimization, you will progress faster with a more advanced title.
New
Build interactive dashboards and reports with Power BI Desktop, the Power BI service, and DAX
by Bradley Schacht, Devin Knight, Erin Ostrowsky, Mitchell Pearson
New
A practical guide to Power BI data modeling, DAX, and enterprise-grade report design
by Brett Powell, Greg Deckler, Leon Gordon
New
Reusable DAX solutions for common Power BI and Analysis Services business intelligence scenarios
by Alberto Ferrari, Marco Russo
New