Level 6 project: sales report
The regional managers get one shared report in which each of them only sees their own region. You build the measures for title, ranking and target achievement, and the role for one region.
You need: Creating a dashboard, Hierarchy and drill down, KPI visual and targets and Publishing and sharing.
The situation
So far each regional manager received an Excel file of their own every month. From now on there is one report in the Power BI service: a title with region and year at the top, a KPI for target achievement, and below it the products per category with a ranking. Whoever opens it only sees their own region.
The project
Part 1: dynamic title
Task Part 1: the report for the regional managers gets a title naming region and year, such as "Sales North 2026". Create the measure "Report Title"; if no single region is selected, it says "all regions". The matrix is filtered to 2026.
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.
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
Part 2: rank within the category
Task Part 2: in the expandable matrix, every product should show its rank within its category. Create the measure "Rank in Category"; subtotals and the total row stay blank.
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.
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
Part 3: target achievement
Task Part 3: the target is previous-year sales plus 5% and is in the model as [Target]. Create the measure "Target Achievement": [Total Sales] divided by the target. The matrix is filtered to 2026.
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], [Target]
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.
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
Part 4: a role for one region
Task Part 4: before publishing, the South regional manager gets a role of their own. Write the table filter DAX expression for the Region table. The matrix is filtered to 2026.
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.
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
Rebuild it in real Power BI
- Build the page: a card with target achievement (percentage format), a KPI visual with sales and target, a matrix with category and product, a slicer on the year.
- Set the title measure as the title of the matrix with fx.
- Under Modeling, Manage roles, create one role per region and check it with View as.
- Publish, assign the regional managers to their roles in the service on the semantic model under Security, and give them the Viewer role in the workspace.
What you learned in level 6
- Building KPI pages, telling reports and dashboards apart, dynamic titles.
- Hierarchies, drill down and measures that calculate per level with ISINSCOPE.
- Targets as measures, target achievement, status icons and the KPI visual.
- Publishing, licenses and row-level security.
- What Excel formulas and PivotTables become in Power BI.
You have now worked through all six levels of the course. The overview is on the course page.