What is DAX in Power BI?

The formula language behind Power BI calculations, explained in plain English.

By Ihor Havrysh · Last reviewed May 2026

Eaglepedia mascot

DAX, short for Data Analysis Expressions, is the formula language used by Power BI for calculations. It is a collection of functions, operators and values that work out new figures from the data already loaded into a report. DAX is used mainly to create measures and calculated columns.

What DAX is

DAX is a formula language. Microsoft's DAX basics guide describes it as "a collection of functions, operators, and constants that can be used in a formula, or expression, to calculate and return one or more values". In plain terms, DAX is how you tell Power BI to work something out.

It's not unique to Power BI. The same language is used in Power Pivot in Excel and in Analysis Services, so DAX skills carry across Microsoft's data tools. Within Power BI, DAX is written in Power BI Desktop, the free Windows app where reports are built.

What DAX is used for

You can import data and build useful charts in Power BI without writing a single DAX formula. DAX earns its place the moment a question needs real calculation. Microsoft's guide gives the typical examples: growth percentages across product categories, or year-on-year growth compared with market trends.

The job DAX does is to turn raw figures into business answers. A sales table holds transactions; DAX turns them into total revenue, an average order value, a running total or a comparison with last quarter. It creates new information from data that's already in the report.

Where DAX is written: measures and calculated columns

DAX formulas live in two main places, and the difference between them matters. Microsoft's DAX overview sets them out:

  • Measures: calculations whose result changes with context. A Total Sales measure shows the right total for whatever a report is filtered to, whether that is one product, one region or everything. Measures are the workhorse of DAX.
  • Calculated columns: a new column added to a table, with a value worked out for every row and stored in the model. A column combining year and quarter into "2026 Q1" is a calculated column.

Both are typed into the formula bar in Power BI Desktop, and every DAX formula begins with an equals sign. Choosing the right one is an early hurdle for most learners: our measures vs calculated columns entry sets out how they differ and when to use each. DAX also drives other parts of a model, such as calculated tables and row-level security rules.

How DAX compares to Excel formulas

DAX looks reassuringly familiar if you know Excel. Microsoft notes that many DAX functions "will appear very similar" to Excel formulas, and functions such as SUM behave much as you'd expect. Anyone comfortable with Excel formulas has a real head start.

The key difference is what a formula points at. An Excel formula usually works on a cell or a range of cells. A DAX function works on a whole column or table inside a data model, and a calculation can change as a report is filtered. DAX runs fastest when that model is built as a star schema, the table layout Microsoft recommends. That shift, from cells to columns, is the main thing to learn when moving from Excel to DAX.

DAX is where Power BI gets genuinely powerful Simple measures are quick to pick up; the concept of context, which decides how a calculation behaves, is where most people get stuck. Our two-day, hands-on Power BI Masterclass teaches DAX the practical way, building real measures rather than memorising syntax. If you are still comparing courses, our guide to choosing Power BI training in the UK covers what good DAX teaching should include.

Frequently asked questions

DAX stands for Data Analysis Expressions. It is the formula language used by Power BI, Power Pivot in Excel and Analysis Services to write calculations over the data in a tabular model.

The basics of DAX are approachable, especially for anyone comfortable with Excel formulas. The genuinely difficult part is a concept called context, which decides how a calculation behaves as a report is filtered. Most learners pick up simple measures quickly and find context takes longer; structured training shortens that curve.

Not for everything. You can import data and build useful charts with no DAX at all. You need DAX once you want calculations that go beyond a simple sum or count, such as year-on-year growth, running totals or a figure that recalculates as filters change.

They do different jobs. Power Query, which uses a language called M, cleans and shapes data as it is loaded into Power BI. DAX runs afterwards, calculating new figures from that loaded data while a report is being viewed. Power Query prepares the data; DAX analyses it.
Ihor Havrysh - Software Engineer at Red Eagle Tech

About the author

Ihor Havrysh

Software Engineer

Software Engineer at Red Eagle Tech with expertise in cybersecurity, Power BI, and modern software architecture. I specialise in building secure, scalable solutions and helping businesses navigate complex technical challenges with practical, actionable insights.

Read more about Ihor

Discovery call

A friendly 15-minute video call with Kat to understand your needs. No preparation needed.

  • Discuss your project
  • Get honest advice
  • No obligation
Kat Korson, Founder of Red Eagle Tech

Kat Korson

Founder & Technical Director

Our team has 10+ years delivering software solutions for growing businesses across the UK.

Send us a message

Your information is secure. See our privacy policy.

Find us