Power BI dashboard examples with their measures

Five examples of how a Power BI report is built in practice: which question it answers, which visuals belong on the page and which DAX measures are behind them. You can try every measure in the playground and write it yourself in the course.

In short: a good dashboard answers one question at a glance. At the top there are two to four cards with the key numbers, below them a trend over time and a breakdown by region, product or department, next to it a slicer for the year. The measures behind it are almost always the same patterns: total, share, prior year, target, rank.

We calculated all measures on this page on our practice models and compared them with Power BI Desktop. The data is available as Excel files on the projects page, and you can try every measure in the DAX playground.

1. Sales overview

Question: How much do we sell, where, and how does it compare with last year?

Layout: cards for sales and change versus last year, line chart of sales by month, bar chart by region with rank, matrix of category and product, slicer for the year.

Total Sales = SUM(Sales[Amount])
Sales PY = CALCULATE([Total Sales], SAMEPERIODLASTYEAR('Date'[Date]))
Change vs PY = DIVIDE([Total Sales] - [Sales PY], [Sales PY])
Share = DIVIDE([Total Sales], CALCULATE([Total Sales], ALL(Region)))
Region Rank = RANKX(ALL(Region[Region]), [Total Sales])

In the course: time intelligence, percent of total, RANKX and TOPN.

2. Budget vs. actual report in finance

Question: Which cost centers are over budget, and how has profit developed?

Layout: cards for profit and profit margin, matrix by cost center with actual, budget, variance and RAG status, year-to-date line of actual vs. budget, slicers for year and division.

Variance = [Total Actual] - [Total Budget]
Variance % = DIVIDE([Variance], [Total Budget])
RAG Status = SWITCH(TRUE(), [Variance %] > 0.1, "Red", [Variance %] > 0.05, "Amber", "Green")
Actual YTD = TOTALYTD([Total Actual], 'Date'[Date])
Profit Margin = DIVIDE([Profit], [Income])

In detail in the Power BI for finance course.

3. Sales team dashboard

Question: Who hits their target, and which customers carry the sales?

Layout: cards for target attainment and customer count, bar chart of target attainment per rep, table of top customers with rank, title with the region from the slicer.

Target Attainment = DIVIDE([Total Sales], [Total Target])
Target Met = IF([Target Attainment] >= 1, "Yes", "No")
Customer Count = DISTINCTCOUNT(Orders[CustomerID])
Customer Rank = RANKX(ALL(Customer[Customer]), [Total Sales])
Report Title = "Sales " & SELECTEDVALUE(SalesRep[Region], "all regions")

In detail in the sales dashboard course.

4. HR report

Question: How is headcount developing, how high is turnover, where are people off sick?

Layout: cards for headcount and turnover rate, line chart of headcount at month end, columns for new hires and leavers per year, sick days per employee by department, a role per division.

Headcount =
VAR Cutoff = MAX('Date'[Date])
RETURN COUNTROWS(FILTER(Employee, Employee[HireDate] <= Cutoff && (ISBLANK(Employee[LeaveDate]) || Employee[LeaveDate] > Cutoff)))
Turnover Rate = DIVIDE([Leavers], ([Headcount Start] + [Headcount End]) / 2)
Sick Days per Employee = DIVIDE([Sick Days], [Headcount])

In detail in the HR dashboard course.

5. Project portfolio

Question: How far along are the projects, which are late, which are getting more expensive than planned?

Layout: matrix by project with percent complete, budget used, CPI and cost status, line chart of overdue tasks per month, bar chart of utilization per person, a role per division.

Percent Complete = DIVIDE(CALCULATE(SUM(Task[PlannedHours]), NOT ISBLANK(Task[FinishDate])), SUM(Task[PlannedHours]))
Actual Cost = SUMX(Timesheet, Timesheet[Hours] * RELATED(Resource[HourlyRate]))
Earned Value = SUMX(Project, Project[Budget] * [Percent Complete])
CPI = DIVIDE([Earned Value], [Actual Cost])

In detail in the project management dashboard course.

Rules all five examples share

  • Question first, then visuals. Every page has one main question. Whatever does not answer it goes on a page of its own.
  • Measures instead of summing columns. Every number is a measure with a clear name. That way it calculates correctly in every visual and every filter.
  • DIVIDE for every rate. A department without data then shows blank instead of an error.
  • Mark the date table. Without it, prior year and year-to-date values do not work reliably.
  • Title from the filter. With SELECTEDVALUE the title says whose numbers the report shows, especially with roles.
  • Readable for everyone. Clear titles and axes, enough contrast, color never as the only signal: the RAG status also carries the text Red, Amber, Green.

Write to us

Choose language

Select your preferred language