Stage 15 of 17
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
Open Power BI Desktop
Download from powerbi.microsoft.com if not already installed. Select Get data → SharePoint Online List.
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.
Select all three lists
In the Navigator, select: Employees, Courses, TrainingRecords. Select Transform Data to open the Power Query Editor before loading.
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.
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.
Load the data
Select Close & Apply. Power BI loads all three tables into the data model.
Why Are We Doing This?
How to create relationships in Power BI Desktop
What is DAX?
Total Records
Count of all training records. Used as a baseline for compliance calculations.
Valid Count
Count of training records where ExpiryDate is more than 60 days in the future.
Expiring Soon Count
Count of training records where ExpiryDate is within the next 60 days.
Expired Count
Count of training records where ExpiryDate has passed.
Days Until Expiry
Calculated ColumnCalculated column (not a measure) on the TrainingRecords table. Shows how many days until the record expires.
Compliance Rate %
Percentage of training records that are currently valid. Used in KPI cards.
Page: Overview
Executive summary of training compliance across the organisation.
Visuals
Value: [Total Records]. Label: "Total Training Records".
Value: [Valid Count]. Label: "Valid". Conditional formatting: green.
Value: [Expiring Soon Count]. Label: "Expiring Soon". Conditional formatting: amber.
Value: [Expired Count]. Label: "Expired". Conditional formatting: red.
Values: [Valid Count], [Expiring Soon Count], [Expired Count]. Legend: status labels. Colours: green, amber, red.
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
Columns: Employees[EmployeeName], Courses[CourseName], TrainingRecords[ExpiryDate], TrainingRecords[Days Until Expiry]. Sort by Days Until Expiry ascending.
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
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
Y-axis: Courses[CourseName]. X-axis: [Valid Count] (green), [Expiring Soon Count] (amber), [Expired Count] (red). Stacked or clustered.
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
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
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.
Publish to Power BI service
In Power BI Desktop: Home → Publish. Select your workspace. The report and dataset are published.
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.
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.
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.
Power Apps interface for employees and managers
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.
Automated ExpiryDate calculation
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.
Employee self-service completion recording
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.
Integration with HR system
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.
Need more help with the concepts?
Visit DosToDigital for guides, templates, and deeper explanations.