Power BI for Excel users

If you know Excel, you already know a lot of Power BI: Power Query exists in both, and the Power Pivot data model is the same as in Power BI. What is new is mainly thinking in measures instead of cells.

In short: an Excel formula calculates in one cell with fixed ranges. A measure recalculates in every cell of a visual, with that cell's filters. So SUMIFS becomes CALCULATE with filters, and VLOOKUP usually becomes a relationship with RELATED.

Before this: CALCULATE (level 4) and Publishing and sharing.

Try it now

Task The old Excel report used =SUMIFS(F:F, D:D, "North", E:E, "Hardware"). Rebuild it as the measure "North Hardware Sales": [Total Sales] for region North and category Hardware.

Sales 120 rows, 7 columns
OrderIDOrderDateShipDateProductIDRegionIDQuantityAmount
13 Oct 20266 Oct 20261221798
29 Nov 202519 Nov 20252351145
320 Sep 202627 Sep 2026544596
416 Jun 20252 Jul 20252151145
526 Mar 202631 Mar 20261343596
64 Dec 202510 Dec 2025545745
78 Jul 202526 Jul 2025614196
820 Feb 20251 Mar 202532359.7
99 Dec 202524 Dec 202562298
1012 Aug 202625 Aug 2026212458
117 Sep 202612 Sep 2026542298
122 Mar 202614 Mar 2026623147

Showing the first 12 of 120 rows.

Measures: [Total Sales]

Product 6 rows, 4 columns
ProductIDProductCategoryPrice
1LaptopHardware899
2MonitorHardware229
3MouseAccessories19.9
4KeyboardAccessories39.9
5Office suiteSoftware149
6AntivirusSoftware49
Region 4 rows, 2 columns
RegionIDRegion
1North
2South
3West
4East
Date 730 rows, 4 columns
DateYearMonthMonthName
1 Jan 202520251Jan
2 Jan 202520251Jan
3 Jan 202520251Jan
4 Jan 202520251Jan
5 Jan 202520251Jan
6 Jan 202520251Jan
7 Jan 202520251Jan
8 Jan 202520251Jan
9 Jan 202520251Jan
10 Jan 202520251Jan
11 Jan 202520251Jan
12 Jan 202520251Jan

Showing the first 12 of 730 rows.

Excel and DAX side by side

ExcelPower BI
=SUM(F:F)SUM(Sales[Amount]) as a measure
=SUMIFS(…)CALCULATE([Total Sales], filter, filter)
=COUNTIFS(…)CALCULATE(COUNTROWS(Sales), filter)
=VLOOKUP(…)a relationship in the model, then RELATED or simply the field of the other table
=IF(…)IF(…)
PivotTablematrix visual
PivotTable slicerslicer, affects the whole page

Many names match Excel, but not all: there is no SUMIFS or VLOOKUP in DAX. Arguments are always separated by commas.

Counting with a condition

Task In Excel, =COUNTIFS(G:G, ">=3") counted the orders with at least 3 units (column G is the Quantity). Rebuild it as the measure "Large Orders".

Sales 120 rows, 7 columns
OrderIDOrderDateShipDateProductIDRegionIDQuantityAmount
13 Oct 20266 Oct 20261221798
29 Nov 202519 Nov 20252351145
320 Sep 202627 Sep 2026544596
416 Jun 20252 Jul 20252151145
526 Mar 202631 Mar 20261343596
64 Dec 202510 Dec 2025545745
78 Jul 202526 Jul 2025614196
820 Feb 20251 Mar 202532359.7
99 Dec 202524 Dec 202562298
1012 Aug 202625 Aug 2026212458
117 Sep 202612 Sep 2026542298
122 Mar 202614 Mar 2026623147

Showing the first 12 of 120 rows.

Measures: [Total Sales]

Product 6 rows, 4 columns
ProductIDProductCategoryPrice
1LaptopHardware899
2MonitorHardware229
3MouseAccessories19.9
4KeyboardAccessories39.9
5Office suiteSoftware149
6AntivirusSoftware49
Region 4 rows, 2 columns
RegionIDRegion
1North
2South
3West
4East
Date 730 rows, 4 columns
DateYearMonthMonthName
1 Jan 202520251Jan
2 Jan 202520251Jan
3 Jan 202520251Jan
4 Jan 202520251Jan
5 Jan 202520251Jan
6 Jan 202520251Jan
7 Jan 202520251Jan
8 Jan 202520251Jan
9 Jan 202520251Jan
10 Jan 202520251Jan
11 Jan 202520251Jan
12 Jan 202520251Jan

Showing the first 12 of 730 rows.

This exercise is part of Premium.

Premium unlocks every exercise in every lesson, unlimited practice with fresh tasks and the final test with certificate.

See Premium Already Premium? Log in

The first exercise in this lesson is free.

Excel and Power BI together

  • Power Query is in Excel (Data, Get Data) and in Power BI. Queries can be moved from one to the other as M code.
  • Power Pivot in Excel is the same data model with DAX. An Excel model can be imported into Power BI Desktop.
  • Analyze in Excel opens a published semantic model as a PivotTable in Excel, with all its measures.

Common mistakes

Thinking in cell references

A measure knows no cell B2 and no row 5. It only knows filters. If you need "the row above", Power BI uses time intelligence or model columns.

A calculated column for every KPI

What was a helper column in Excel is often better as a measure in Power BI. Columns for per-row values, measures for KPIs.

FAQ

Do I need Excel skills for Power BI?

Not necessarily, but they help. The Excel course on LearnThisNext covers formulas, PivotTables and Power Query.

Up next: sales report project

Title, ranking, target achievement and a role for a real report.

Go to the project

Write to us

Choose language

Select your preferred language