Contact Center Performance Intelligence
An end-to-end Power BI showcase. I simulated a realistic contact centre, modelled it as a governed semantic model and designed a premium, story-led report, and built every part as code.
- 599Ksimulated contacts
- 12months of history
- 22tables · star schema
- 381DAX measures
- 18KPIs with RAG targets
- 9report pages
01The brief
Most portfolio dashboards are built on tidy sample data and default visuals. I wanted the opposite: a dashboard that looks and behaves like something a contact-centre leadership team would actually run on, with data messy and dynamic enough to contain real stories.
Realistic data
Data generated from cause and effect, not random numbers, so the visuals have something true to say.
Governed model
A star schema, typed partitions, consistent KPI definitions and targets kept in data.
Premium experience
A custom design system, guided navigation and explanations built into every page.
All data is synthetic. NovaLink Telecom is a fictional company; every person, customer and figure in the report is generated.
02Simulating the data
A seeded Python simulator produces twelve months of activity (November 2025 to October 2026) for a fictional telecom: 9 queues, 5 channels (voice, callback, live chat, WhatsApp and email), 6 lines of business, 3 sites, 91 agents and 45,000 customers. The aim was to model the mechanics of a contact centre, not just its outputs.
Intraday arrival curves
Separate half-hour demand curves for voice, chat/WhatsApp and email, with weekday, weekend and public-holiday patterns, monthly seasonality and a slight growth trend.
Staffing drives the queue
Agents have shifts, rest days, annual leave, unplanned absence and attrition. For every 30-minute interval the simulator compares staffed capacity with workload, and that ratio sets wait times, abandonment and therefore service level.
Patience & abandonment
Each caller gets a patience threshold. If they wait longer they hang up. Short abandons (under 5 s) are flagged and excluded from service level, as in real ACD reporting.
Tenure learning curve
New hires handle slower, transfer more and resolve less on first contact; the gap closes over the first year.
Customer outcomes
CSAT, NPS and customer effort are driven by wait time, first-contact resolution, transfers, agent quality and speech-analytics sentiment rather than random noise.
Quality & revenue
3–4 QA evaluations per agent per week with section scores and critical errors; sales conversion with deal values; retention save attempts with retained revenue; IVR self-service containment.
The star schema
one row per offered contact: queue, wait, talk, hold, ACW, SL flag, FCR, transfer, sale, save, sentiment, auto-QA
CSAT, NPS, CES, feedback theme and verbatim comment
manual evaluations with five weighted sections and critical errors
scheduled, logged-in, occupied, available, aux, overtime and adherence per agent-day
WFM plan vs actual per day × 30-min interval × line of business
IVR sessions, self-service completions and routed calls
Date, Interval, Agent, Team, Site, LOB, Queue, Channel, Reason, Disposition, Product, Customer, Tenure band, KPI target
Each fact table relates only to dimensions, never to another fact table. Surveys and QA evaluations also carry the contact ID for drill-through. Snowflake chains (Agent → Team → Site, Queue → LOB) were designed so that no ambiguous filter paths exist.
03Stories hidden in the data
A dashboard is only as interesting as the questions it can answer, so I deliberately built events into the simulation:
- 24–30 Nov 2025
Black Friday
Sales volume rises by about 2–3× with a higher conversion rate at a lower ticket size.
- 5–14 Jan 2026
Price increase
A retention spike the forecast underestimated, so service level dips while save rates come under pressure.
- 10–11 Mar 2026
Network outage
Technical support demand rises by about 3.4×, with nothing in the forecast. ASA, abandonment and escalations surge.
- 1 May 2026
AI Copilot go-live
After-call work falls by about 40%, AHT by about 9%, IVR containment rises and CSAT climbs from 78% to 85%.
- Jul–Aug 2026
Summer attrition
More leavers and a slower backfill mean more new hires, with the learning curve showing up in AHT and FCR.
- Every day
Shift hand-overs
Understaffed half-hours at 10:00–12:00 and 20:00–22:00 light up red in the heatmap.
04The semantic model
The model is stored as TMDL inside a PBIP project, so it is plain text, diff-friendly and generated by code. It has 22 tables (including a small calculated table for QA sections), 29 relationships and 381 measures organised into display folders. Every Power Query partition is strongly typed and parses numbers with a fixed culture, so the same project refreshes correctly on any regional setting.
Model validation was part of the build: after each change the project was opened in Power BI Desktop, refreshed, and checked with DAX queries against the totals computed independently in Python. Service level, AHT, FCR, CSAT and occupancy all matched to the decimal.
05Targets & RAG logic
Targets are data, not hard-coded numbers. A DimKPITarget table holds, for each of the 18 KPIs, a target, amber and red thresholds, the direction (higher is better, lower is better, or an optimal band) and a plain-language definition. Every tile, colour, status pill, scorecard row and the KPI dictionary reads from this one table.
Service level, abandonment and AHT targets differ per queue (a VIP line should answer within 15 seconds, technical support within 60), so their targets are volume-weighted and follow any filter selection. Occupancy uses a band (80–85% is ideal) because too high is as harmful as too low.
Service Level Target =
VAR _w = SUMX ( VALUES ( DimQueue[QueueID] ),
CALCULATE ( [Offered] - [Short Abandons] )
* CALCULATE ( MAX ( DimQueue[SLTargetPct] ) ) / 100 )
RETURN COALESCE ( DIVIDE ( _w, [Offered] - [Short Abandons] ), 0.80 )
Service Level Status = -- 3 On Target · 2 Watch · 1 Off Target · 0 Critical
VAR _v = [Service Level %]
VAR _t = [Service Level Target]
VAR _a = _t - <AmberDelta from DimKPITarget>
VAR _r = _t - <RedDelta from DimKPITarget>
RETURN IF ( ISBLANK ( _v ), BLANK (),
SWITCH ( TRUE (), _v >= _t, 3, _v >= _a, 2, _v >= _r, 1, 0 ) )06The design system
The report runs on a 1920 × 1080 canvas with a dark glassmorphism language: deep navy backgrounds with soft light orbs, frosted panels, gradient hairline borders, rounded corners and a subtle grain. Each page background is rendered from SVG with the exact panel geometry used by the layout code, so every visual sits precisely inside its glass panel.
#6C8CFF#22D3EE#A78BFA#2DD4A7#F472B6#FBBF24#FB923C#F43F5E#0A1124#F4F7FC- Type scale: Segoe UI at 25 / 20 / 12.5 / 10 / 8.5 pt for display, page title, panel title, body and caption.
- Colour with meaning: status colours appear only where they carry meaning, never as decoration.
- Brand: a custom NovaLink logo (mark + wordmark) with usage rules documented inside the report.
- Custom theme JSON for every visual type: axes, gridlines, legends, tooltips, tables and slicers.
07Navigation & interaction
Bookmark-driven hamburger drawer
A slim icon rail is always visible on the left. The ☰ button opens a full navigation drawer with the logo, every dashboard and resource page, and the current page highlighted, while the rest of the page dims. Clicking outside or ✕ closes it. Open and close are bookmarks that only toggle the drawer’s visuals, so filters and data are never reset.
A built-in guide on every page
The ⓘ button opens an “About this page” panel that explains the page’s purpose, its KPI definitions and how to read each visual. The report teaches its own reader.
- Period, line of business and channel filters are synced across all dashboard pages.
- Agent 360 opens with the top-ranked agent already selected.
- Email and website links in the report are live hyperlinks.
08Page-by-page tour
Nine pages: seven analytical dashboards and two resource pages. Click any screenshot to view it full size, and use ← → to browse.
Executive Overview
A one-screen health check of the whole operation.
- Six KPI tiles: value, change vs previous month, live status pill, target and a 12-month sparkline.
- Weekly demand (columns) against service level and its volume-weighted target (lines).
- A live scorecard of all 18 KPIs, generated from the KPI target table: 10 of 18 are on target.
- Channel mix (donut with total in the centre), service level by line of business and volume by queue.
Service & Intraday
Where and when service breaks down.
- Weekday × hour heatmap of service level, with a custom colour scale from teal to rose.
- The shift hand-over gaps at 10:00–12:00 and 20:00–22:00 are visible at a glance.
- Intraday demand profile: actual vs forecast contacts per hour.
- Queue table: every queue measured against its own SLA (15–60 s), coloured by status.
Agent Performance
Fair, explainable agent scoring.
- Composite score: 30% FCR, 25% QA, 25% CSAT, 20% AHT efficiency, each against target and capped at 120%.
- Ranked leaderboard with tiers (★ Top Performer, Solid, Developing, Needs Coaching).
- Efficiency vs effectiveness scatter: AHT against FCR, bubble size = contacts handled.
- The tenure effect: agents with under 3 months handle slower and resolve less.
Quality & CX
Voice of the customer meets internal QA.
- CSAT trend against target, with a clear step up after the AI Copilot launch.
- NPS composition: promoters, passives and detractors by month.
- Feedback themes coloured by sentiment, a QA section profile and the lowest-rated verbatims first.
Workforce & Planning
The WFM view behind the service results.
- Intraday staffing: average demand with required vs net staffed agents per half-hour.
- Where the time goes: scheduled hours split into occupied, available, back office, breaks, training, meetings and absence.
- People flow (new hires, leavers, headcount) and weekly forecast vs actual. The outage the forecast missed stands out.
Sales & Retention
The revenue side of the contact centre.
- Sales revenue (contract value), conversion, average deal value and retained revenue.
- Revenue by product category, sales mix by product, save rate by contact reason and conversion by team.
- IVR containment jumps after the virtual agent goes live.
Agent 360
One agent, every angle, built for coaching conversations.
- Profile with initials avatar, team, shift, hire date, tier and overall rank.
- Performance trend against the agent’s own team benchmark.
- QA section profile, recent evaluations and what this agent’s customers say.
Guideline
The design system and reading guide inside the report itself.
- How to navigate, the RAG status logic, the type scale and colour tokens.
- Logo usage rules: clear space, minimum size, mark-only variants and don’ts.
- A live KPI dictionary: definition, target, current value and status for every KPI.
About
Context for anyone opening the file.
- The story, live model statistics, how it was built and the design language.
- A clear disclaimer: NovaLink Telecom is fictional and every figure is synthetic.
09How it was built: the report as code
Nothing in this report was dragged and dropped. The dataset, the semantic model, every page layout, visual, bookmark, background and the theme are generated by scripts from a single source of truth. That makes the whole dashboard reproducible, reviewable in Git, and easy to restyle or extend.
- 01
Simulate Python (NumPy, pandas)
A seeded simulator writes 18 CSV tables: realistic, reproducible, and with business events built in.
- 02
Model TMDL generator
Python writes the semantic model as TMDL: tables, typed Power Query partitions, relationships and 381 measures with display folders.
- 03
Design SVG → PNG
Glass panels, logo, icons, the drawer and the info panel are composed in SVG and rendered to PNG, with exact pixel positions shared with the layout code.
- 04
Report PBIR generator
Every page, visual, bookmark and theme is generated as PBIR JSON from one layout specification (679 visuals, 36 bookmarks).
- 05
Validate JSON Schema
Each file is validated against Microsoft’s published PBIR schemas before it reaches Power BI Desktop.
- 06
QA Power BI Desktop
Open, refresh, run DAX queries against expected values, then review screenshots page by page and fix until clean.
10Lessons learned
Validate before you open
Power BI Desktop rejects invalid page-level properties outright but silently drops unknown visual properties. Validating against the official schemas caught structural errors early, and reading what Desktop itself writes revealed the correct property names.
Button states are subtle
In PBIR, properties such as “show” live on a state-less entry while colours live on per-state entries (default, hover, press). Getting this wrong leaves grey outlines on every button.
Design for the table background
Tables cannot be transparent. Sampling each glass panel’s average colour from the rendered background and using it as the table colour made the tables blend into the frosted glass.
Targets belong in data
Keeping targets and thresholds in a table, not hard-coded in DAX, gave one source of truth for tiles, scorecards, colours and the KPI dictionary.
Simulate causes, not numbers
Driving outcomes from staffing, patience and tenure, rather than random values, is what makes the dashboard tell believable stories.