Power BI practice exercises: all tasks by level and topic
100 exercises in 43 lessons, from the first visual to time intelligence and roles. You build every visual, query and measure yourself, in the browser, and find out at once whether the result is right.
In short: every Power BI exercise is a small reporting task on a sales model: build a visual, clean data in Power Query, connect tables or write a measure. You see the result as a chart or matrix and have it checked. No installation, works on a Mac too, with hints and a model solution.
Get started: three warm-up exercises
The first builds a bar chart, the second fixes the headers of a CSV file in Power Query, the third is your first measure. All three are free. If they work without a hint, you can jump in at a later topic in the list below.
Task Which region sells the most? Build a bar chart: Region[Region] on the Y-axis, [Total Sales] on the X-axis.
Sales 120 rows, 7 columns
| OrderID | OrderDate | ShipDate | ProductID | RegionID | Quantity | Amount |
|---|---|---|---|---|---|---|
| 1 | 3 Oct 2026 | 6 Oct 2026 | 1 | 2 | 2 | 1798 |
| 2 | 9 Nov 2025 | 19 Nov 2025 | 2 | 3 | 5 | 1145 |
| 3 | 20 Sep 2026 | 27 Sep 2026 | 5 | 4 | 4 | 596 |
| 4 | 16 Jun 2025 | 2 Jul 2025 | 2 | 1 | 5 | 1145 |
| 5 | 26 Mar 2026 | 31 Mar 2026 | 1 | 3 | 4 | 3596 |
| 6 | 4 Dec 2025 | 10 Dec 2025 | 5 | 4 | 5 | 745 |
| 7 | 8 Jul 2025 | 26 Jul 2025 | 6 | 1 | 4 | 196 |
| 8 | 20 Feb 2025 | 1 Mar 2025 | 3 | 2 | 3 | 59.7 |
| 9 | 9 Dec 2025 | 24 Dec 2025 | 6 | 2 | 2 | 98 |
| 10 | 12 Aug 2026 | 25 Aug 2026 | 2 | 1 | 2 | 458 |
| 11 | 7 Sep 2026 | 12 Sep 2026 | 5 | 4 | 2 | 298 |
| 12 | 2 Mar 2026 | 14 Mar 2026 | 6 | 2 | 3 | 147 |
Showing the first 12 of 120 rows.
Measures: [Total Sales]
Product 6 rows, 4 columns
| ProductID | Product | Category | Price |
|---|---|---|---|
| 1 | Laptop | Hardware | 899 |
| 2 | Monitor | Hardware | 229 |
| 3 | Mouse | Accessories | 19.9 |
| 4 | Keyboard | Accessories | 39.9 |
| 5 | Office suite | Software | 149 |
| 6 | Antivirus | Software | 49 |
Region 4 rows, 2 columns
| RegionID | Region |
|---|---|
| 1 | North |
| 2 | South |
| 3 | West |
| 4 | East |
Date 730 rows, 4 columns
| Date | Year | Month | MonthName |
|---|---|---|---|
| 1 Jan 2025 | 2025 | 1 | Jan |
| 2 Jan 2025 | 2025 | 1 | Jan |
| 3 Jan 2025 | 2025 | 1 | Jan |
| 4 Jan 2025 | 2025 | 1 | Jan |
| 5 Jan 2025 | 2025 | 1 | Jan |
| 6 Jan 2025 | 2025 | 1 | Jan |
| 7 Jan 2025 | 2025 | 1 | Jan |
| 8 Jan 2025 | 2025 | 1 | Jan |
| 9 Jan 2025 | 2025 | 1 | Jan |
| 10 Jan 2025 | 2025 | 1 | Jan |
| 11 Jan 2025 | 2025 | 1 | Jan |
| 12 Jan 2025 | 2025 | 1 | Jan |
Showing the first 12 of 730 rows.
Task The CSV file with the orders is loaded, but Power Query did not detect the headers (Column1 to Column4), and Amount and Quantity are text. Turn the first row into headers and change the data type of Amount and Quantity to Whole Number.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | OrderID | Region | Amount | Quantity |
| 2 | 1 | South | 1798 | 2 |
| 3 | 2 | West | 1145 | 5 |
| 4 | 3 | East | 596 | 4 |
| 5 | 5 | West | 3596 | 4 |
| 6 | 6 | East | 745 | 5 |
| 7 | 7 | North | 196 | 4 |
Task Create the measure "Total Quantity": the sum of the column Sales[Quantity]. The matrix then shows it next to [Total Sales] per category.
Sales 120 rows, 7 columns
| OrderID | OrderDate | ShipDate | ProductID | RegionID | Quantity | Amount |
|---|---|---|---|---|---|---|
| 1 | 3 Oct 2026 | 6 Oct 2026 | 1 | 2 | 2 | 1798 |
| 2 | 9 Nov 2025 | 19 Nov 2025 | 2 | 3 | 5 | 1145 |
| 3 | 20 Sep 2026 | 27 Sep 2026 | 5 | 4 | 4 | 596 |
| 4 | 16 Jun 2025 | 2 Jul 2025 | 2 | 1 | 5 | 1145 |
| 5 | 26 Mar 2026 | 31 Mar 2026 | 1 | 3 | 4 | 3596 |
| 6 | 4 Dec 2025 | 10 Dec 2025 | 5 | 4 | 5 | 745 |
| 7 | 8 Jul 2025 | 26 Jul 2025 | 6 | 1 | 4 | 196 |
| 8 | 20 Feb 2025 | 1 Mar 2025 | 3 | 2 | 3 | 59.7 |
| 9 | 9 Dec 2025 | 24 Dec 2025 | 6 | 2 | 2 | 98 |
| 10 | 12 Aug 2026 | 25 Aug 2026 | 2 | 1 | 2 | 458 |
| 11 | 7 Sep 2026 | 12 Sep 2026 | 5 | 4 | 2 | 298 |
| 12 | 2 Mar 2026 | 14 Mar 2026 | 6 | 2 | 3 | 147 |
Showing the first 12 of 120 rows.
Measures: [Total Sales]
Product 6 rows, 4 columns
| ProductID | Product | Category | Price |
|---|---|---|---|
| 1 | Laptop | Hardware | 899 |
| 2 | Monitor | Hardware | 229 |
| 3 | Mouse | Accessories | 19.9 |
| 4 | Keyboard | Accessories | 39.9 |
| 5 | Office suite | Software | 149 |
| 6 | Antivirus | Software | 49 |
Region 4 rows, 2 columns
| RegionID | Region |
|---|---|
| 1 | North |
| 2 | South |
| 3 | West |
| 4 | East |
Date 730 rows, 4 columns
| Date | Year | Month | MonthName |
|---|---|---|---|
| 1 Jan 2025 | 2025 | 1 | Jan |
| 2 Jan 2025 | 2025 | 1 | Jan |
| 3 Jan 2025 | 2025 | 1 | Jan |
| 4 Jan 2025 | 2025 | 1 | Jan |
| 5 Jan 2025 | 2025 | 1 | Jan |
| 6 Jan 2025 | 2025 | 1 | Jan |
| 7 Jan 2025 | 2025 | 1 | Jan |
| 8 Jan 2025 | 2025 | 1 | Jan |
| 9 Jan 2025 | 2025 | 1 | Jan |
| 10 Jan 2025 | 2025 | 1 | Jan |
| 11 Jan 2025 | 2025 | 1 | Jan |
| 12 Jan 2025 | 2025 | 1 | Jan |
Showing the first 12 of 730 rows.
How the Power BI exercises work
Power BI consists of four skills, and each has its own kind of exercise:
- Visuals: clicking a field in the data list puts it into the visual, like the checkbox in Power BI. You choose a bar chart, card or matrix, put fields in rows and values and add slicers.
- Power Query: you shape raw data with steps as in Power BI Desktop: headers, data types, split columns, merge or append queries, unpivot, group by. The applied steps and the M code are shown next to it.
- Data model: you create relationships, choose cardinality and cross filter direction and mark the date table. A matrix shows right away what the relationship does.
- DAX: you write measures, calculated columns, roles and DAX queries in an editor with suggestions. The result appears as a matrix with a total row; clicking a number shows which filters it was calculated with.
Checking with other data
If your result is right, the server calculates it again on data you do not see: other amounts, one more region. The model solution runs on the same data. Copying a number or filtering on a fixed value instead of keeping the formula general shows up here. The message then tells you that your measure only works with this data.
Messages, hints and solution
If there is an error in the formula, you get the message as Power BI Desktop words it, the spot is marked, and below it there is a hint for beginners, for example for a semicolon instead of a comma or a column without an aggregation. If the result is wrong, the check marks the first cell that differs and shows the expected matrix next to it.
If you get stuck, there are hints that give away more and more. The model solution with an explanation only comes when you ask for it. Some exercises also show other ways to solve it that are just as right.
Points
You earn points the first time you solve an exercise, more for harder levels and for projects. With a hint you get half, after showing the solution none. With a free account your points, solved exercises and learning streak are saved, on all your devices.
All Power BI exercises by level and topic
The lessons follow the learning path of the Power BI course. Every page explains its topic with examples and has two or three exercises, the first is the easiest. Every level ends with a project in four parts.
Level 1: First reports
- Basics: Power BI Desktop and service: 2 exercises
- Get and transform data: 2 exercises
- Create your first visual: 3 exercises
- Matrix: rows, columns, totals: 2 exercises
- Filters and slicers: 2 exercises
- Your first DAX measure: 3 exercises
- Project: sales report: 4 exercises
Level 2: Power Query
- Clean data: 2 exercises
- Split columns and data types: 2 exercises
- Merge queries: 2 exercises
- Append queries: 2 exercises
- Unpivot: 2 exercises
- Group by: 2 exercises
- Conditional column: 2 exercises
- Project: data from several sources: 4 exercises
Level 3: Data model
- Star schema: 2 exercises
- Relationships: 2 exercises
- Cardinality and cross filter direction: 2 exercises
- Date table: 2 exercises
- Calculated columns: 2 exercises
- Column or measure?: 2 exercises
- Project: a model for sales: 4 exercises
Level 4: DAX basics
- Measures: SUM, COUNTROWS, DISTINCTCOUNT: 2 exercises
- Dividing with DIVIDE: 2 exercises
- IF and SWITCH: 2 exercises
- Filter context: 2 exercises
- CALCULATE: 2 exercises
- Variables with VAR: 2 exercises
- Project: KPI measures: 4 exercises
Level 5: Advanced DAX
- Percent of total with ALL: 2 exercises
- SUMX and iterators: 2 exercises
- RANKX and TOPN: 2 exercises
- Time intelligence: 3 exercises
- LOOKUPVALUE and RELATEDTABLE: 2 exercises
- DAX queries: 2 exercises
- Project: year over year: 4 exercises
Level 6: Reports in practice
- Creating a dashboard: 2 exercises
- Hierarchy and drill down: 3 exercises
- KPI visual and targets: 2 exercises
- Publishing and sharing: 2 exercises
- Power BI for Excel users: 2 exercises
- Project: sales report: 4 exercises
- Power BI final test
More practice
- Random exercises: new tasks on demand for every topic with a task builder.
- DAX playground: your own DAX queries on five data models, free and without checking.
- Intensive courses: case studies from finance, sales, HR and project management with a certificate of their own.