This repository showcases a comprehensive Single Source of Truth (SSoT) designed for AMEX operations. It integrates 15+ complex fact tables and master dimensions to bridge the gap between operational performance, quality compliance, and financial integrity.
The project follows a Star Schema approach, utilizing SQL (Sisense/Snowflake Dialect) and SCD Type 2 logic to ensure 100% historical accuracy in reporting.
Focuses on internal/external audit alignment and customer sentiment (CSAT).
- Internal Quality Framework: Automated unpivoting of Soft Skills and Regulatory Compliance audits for granular failure-point analysis.
- External Quality (RBST): Unified legacy and 2024/2025 survey sources into a standardized schema for multi-year trend reporting.
- Customer Experience (RTF/OSAT): Mathematical scoring model that transforms qualitative feedback into quantitative NPS-style KPIs.
A high-precision engine designed to optimize labor costs and agent productivity.
- Adherence & Absenteeism: Tracking "Planned vs. Actual" compliance and intelligent classification of schedule states (Sick, Late, PTO).
- Workday Payroll Bridge: Financial integration isolating operational paid hours from holidays for accurate cost-per-hour analysis.
- Agent States (Shrinkage): Normalization of 15+ system auxiliary states (AUX) into "Billable" vs. "Non-Billable" categories.
- Call Handling Time (CHT): Productivity modeling of Talk Time and ACW to monitor total agent capacity.
The "glue" of the ecosystem, providing referential integrity across all modules.
- Universal Date Dimension: A central calendar hub with mapped keys for every fact table to enable seamless time-series analysis.
- SCD Historical Roster: Implementation of Slowly Changing Dimensions (Type 2) with a dummy record (-1) to handle orphaned records.
- Master Roster Snapshot: A unified identity layer combining Workday, Contractor, and Max Sine IDs for cross-platform data validation.
The data models in this repository power a suite of high-impact visualizations for leadership and operational teams.
| Dashboard | Status | Core Insights |
|---|---|---|
| AMEX TM Scorecard | ✅ | Individual agent performance & KPI tracking. |
| AMEX CE Dashboard | ✅ | Customer Experience metrics and OSAT/RTF analysis. |
| AMEX BTP Report | ✅ | Business Transformation Progress and process efficiency. |
| Vibes Call-ID Tracker | ✅ | Granular call-level data for quality assurance. |
| Training Completion | ✅ | Real-time monitoring of agent certification & nesting. |
| Training Dashboard | ✅ | Overall training ROI and learning curve analysis. |
- SCD Implementation: All models utilize
ods_daterange_rosterfor accurate historical attribution. - Data Normalization: Strategic use of
UNION ALLandUNPIVOTto handle evolving data structures. - Defensive SQL: Robust
CASE,CAST, andTOFLOATlogic to prevent data-type mismatches. - Privacy by Design: High-privacy tables (PII) and specific financial reimbursements are excluded to comply with data protection standards.
AMEX-Operational-Intelligence-Suite/
├── modeling/
│ ├── quality-compliance/ # 6 scripts: Internal/External Audits & CX
│ ├── operational-efficiency/ # 5 scripts: Productivity, Shrinkage & Payroll
│ └── dimensions/ # 3 scripts: Universal Calendar & SCD Rosters
├── AMEX Elastic cube.png # System Architecture Diagram
├── .gitignore # Environment protection
└── README.md # Project Documentation
