Stage 15 of 17

Stage 15 of 17

Improvement — Power BI Dashboard

The Power BI dashboard is the primary improvement for DTOD-005. This stage provides complete build instructions: data connection, data types, relationships, DAX measures, visuals, slicers, and refresh configuration.

Licensing — Read Before Building

Power BI Desktop is free. Publishing to the Power BI service and sharing with colleagues requires a Power BI Pro licence (included in Microsoft 365 E3/E5, available as an add-on). Sharing with users who do not have a Pro licence requires Power BI Premium Per User (PPU). POTENTIAL PREMIUM LICENSING — verify your organisation's licences before publishing.

Step 1 — Connect to SharePoint

1

Open Power BI Desktop

Download from powerbi.microsoft.com if not already installed. Select Get data → SharePoint Online List.

2

Connect to the Training Register site

Enter the SharePoint site URL: https://[tenant].sharepoint.com/sites/TrainingRegister. Select OK. Sign in with your Microsoft 365 account when prompted.

3

Select all three lists

In the Navigator, select: Employees, Courses, TrainingRecords. Select Transform Data to open the Power Query Editor before loading.

4

Clean the data in Power Query

For each list: remove system columns (e.g. _UIVersionString, ContentTypeId, FileRef). Keep only the columns defined in the data dictionary. Rename columns if needed to remove spaces.

5

Set correct data types

CompletionDate: Date. ExpiryDate: Date. ValidityMonths: Whole Number. Mandatory: True/False. Active: True/False. Reminder60Sent, Reminder30Sent, Reminder7Sent: True/False. All text columns: Text.

6

Load the data

Select Close & Apply. Power BI loads all three tables into the data model.

Step 2 — Define Relationships

Why Are We Doing This?

Power BI needs to know how the three tables relate to each other. Without relationships, you cannot filter training records by employee team or course category. The relationships mirror the data model from Stage 5.
TrainingRecords[Employee]→Employees[EmployeeName]
Cardinality: Many to One
Direction: Single (TrainingRecords → Employees)
Many training records can reference one employee.
TrainingRecords[Course]→Courses[CourseName]
Cardinality: Many to One
Direction: Single (TrainingRecords → Courses)
Many training records can reference one course.

How to create relationships in Power BI Desktop

  1. 1.Select Model view (the diagram icon on the left sidebar).
  2. 2.Power BI may auto-detect the relationships. Verify they are correct.
  3. 3.To create manually: drag the Employee column from TrainingRecords to the EmployeeName column in Employees.
  4. 4.Repeat for Course → CourseName.
  5. 5.Verify the cardinality shows Many to One (*:1) for both relationships.

Step 3 — Create DAX Measures

What is DAX?

DAX (Data Analysis Expressions) is the formula language used in Power BI. Measures are calculated values that are computed dynamically based on the current filter context. Unlike calculated columns, measures are not stored in the data model — they are computed on demand when a visual is rendered.

Total Records

Count of all training records. Used as a baseline for compliance calculations.

Total Records = COUNTROWS(TrainingRecords)

Valid Count

Count of training records where ExpiryDate is more than 60 days in the future.

Valid Count = CALCULATE( COUNTROWS(TrainingRecords), TrainingRecords[ExpiryDate] > TODAY() + 60 )

Expiring Soon Count

Count of training records where ExpiryDate is within the next 60 days.

Expiring Soon Count = CALCULATE( COUNTROWS(TrainingRecords), TrainingRecords[ExpiryDate] >= TODAY(), TrainingRecords[ExpiryDate] <= TODAY() + 60 )

Expired Count

Count of training records where ExpiryDate has passed.

Expired Count = CALCULATE( COUNTROWS(TrainingRecords), TrainingRecords[ExpiryDate] < TODAY() )

Days Until Expiry

Calculated Column

Calculated column (not a measure) on the TrainingRecords table. Shows how many days until the record expires.

Days Until Expiry = DATEDIFF(TODAY(), TrainingRecords[ExpiryDate], DAY)

Compliance Rate %

Percentage of training records that are currently valid. Used in KPI cards.

Compliance Rate % = DIVIDE( [Valid Count], [Total Records], 0 ) * 100

Step 4 — Build the Report Pages

Page: Overview

Executive summary of training compliance across the organisation.

Visuals

KPI card

Value: [Total Records]. Label: "Total Training Records".

KPI card

Value: [Valid Count]. Label: "Valid". Conditional formatting: green.

KPI card

Value: [Expiring Soon Count]. Label: "Expiring Soon". Conditional formatting: amber.

KPI card

Value: [Expired Count]. Label: "Expired". Conditional formatting: red.

Donut chart

Values: [Valid Count], [Expiring Soon Count], [Expired Count]. Legend: status labels. Colours: green, amber, red.

Clustered bar chart

Y-axis: Employees[Team]. X-axis: [Valid Count]. Add a second series for [Expired Count]. Title: "Compliance by Team".

Slicers

Office (Employees[Office]), Date range (TrainingRecords[ExpiryDate]).

Page: Expiring Soon

Detailed view of training records expiring within the next 60 days.

Visuals

Table

Columns: Employees[EmployeeName], Courses[CourseName], TrainingRecords[ExpiryDate], TrainingRecords[Days Until Expiry]. Sort by Days Until Expiry ascending.

Conditional formatting on Days Until Expiry

Red: ≤ 7 days. Amber: 8–30 days. Yellow: 31–60 days.

Slicers

Team (Employees[Team]), Course (Courses[CourseName]), Office (Employees[Office]).

Page: Expired

All training records where the expiry date has passed.

Visuals

Table

Columns: Employees[EmployeeName], Employees[Team], Courses[CourseName], TrainingRecords[ExpiryDate], TrainingRecords[Days Until Expiry] (will be negative). Sort by Days Until Expiry ascending (most overdue first).

Slicers

Team, Course, Office.

Page: Training by Course

Compliance breakdown by course. Identifies which courses have the most expired or missing records.

Visuals

Clustered bar chart

Y-axis: Courses[CourseName]. X-axis: [Valid Count] (green), [Expiring Soon Count] (amber), [Expired Count] (red). Stacked or clustered.

Table

Columns: Courses[CourseName], Courses[Mandatory], [Total Records], [Valid Count], [Expired Count]. Conditional formatting on Mandatory column.

Slicers

Mandatory (Courses[Mandatory]), Category (Courses[Category]).

Page: Completion by Team

Matrix view showing compliance status for each team across all courses.

Visuals

Matrix

Rows: Employees[Team]. Columns: Courses[CourseName]. Values: [Valid Count]. Conditional formatting: green = all valid, amber = some expiring, red = any expired.

Slicers

Mandatory, Office.

Page: Upcoming Expiry

Forecast of training records expiring over the next 12 months. Helps L&D plan training capacity.

Visuals

Line chart

X-axis: TrainingRecords[ExpiryDate] (by month). Y-axis: count of records. Filter: ExpiryDate between today and today + 365 days. Title: "Records expiring per month — next 12 months".

Slicers

Team, Course.

Step 5 — Configure Refresh

1

Publish to Power BI service

In Power BI Desktop: Home → Publish. Select your workspace. The report and dataset are published.

2

Configure data source credentials

In the Power BI service: navigate to the dataset → Settings → Data source credentials → Edit credentials. Sign in with the SharePoint account.

3

Configure scheduled refresh

In the dataset settings: Scheduled refresh → On. Frequency: Daily. Time: 08:00. This ensures the dashboard is up to date each morning. POTENTIAL PREMIUM LICENSING — scheduled refresh requires a Power BI Pro or PPU licence.

4

Share the report

In the Power BI service: navigate to the report → Share. Add Rachel Okafor, Ravi Sharma, and other managers. Set permission to View. POTENTIAL PREMIUM LICENSING — recipients need a Power BI Pro or PPU licence.

Other Improvements

IMP-001

Power Apps interface for employees and managers

HighHigh effort

Build a Power Apps canvas app that filters training records to the current user. Employees see only their own records. Managers see only their team's records. Closes the known data isolation gap.

IMP-002

Automated ExpiryDate calculation

HighLow effort

Add a Power Automate flow triggered on item creation in TrainingRecords. The flow reads the ValidityMonths from the Courses list and updates the ExpiryDate automatically. Eliminates manual calculation errors.

IMP-003

Employee self-service completion recording

MediumMedium effort

Allow employees to submit their own completion records via a form (Microsoft Forms or Power Apps). L&D reviews and approves before the record is created. Reduces L&D admin workload.

IMP-004

Integration with HR system

LowHigh effort

Automatically sync the Employees list with the HR system. New starters are added automatically. Leavers are set to Active = No automatically. Eliminates manual employee management.

Stage Complete — What You Now Have

  • ✓Power BI dashboard: 5-step build guide (connect, relationships, measures, pages, refresh)
  • ✓6 DAX measures with explanations
  • ✓6 report pages with visual and slicer specifications
  • ✓Refresh configuration including licensing notes
  • ✓4-item improvement backlog

Need more help with the concepts?

Visit DosToDigital for guides, templates, and deeper explanations.

DosToDigital
DToD Labs

Learn it. Build it. Make it work.

A DosToDigital Project

About DToD Labs

Practical technology learning for Microsoft 365 and Power Platform. Build real business solutions from real business problems.

Learn the concepts at DosToDigital. Put them into practice at DToD Labs.

DToD Labs provides practical learning projects for educational purposes. Microsoft services, interfaces, licensing and product capabilities change over time. Always check current Microsoft documentation and licensing before implementing a solution in a production environment. All organisations, business scenarios and data used in DToD Labs are fictional. Learners should not use confidential employer, customer or personal information when following DToD Labs exercises.

© 2026 DToD Labs — A DosToDigital Project