Advanced SQL & Window Functions
Use of analytical SQL patterns: window functions (SUM/AVG OVER, LAG), deterministic window frames, safe division, and robust NULL handling.
Production-style SQL analytics layer built on the Data Warehouse Gold model (Star Schema): KPI engineering, revenue segmentation, time-series growth analysis, and BI-ready reporting views.
This project focuses on the analytical layer: from a curated Gold Star Schema, it produces scalable KPI queries, segmentation logic, time-series indicators, and reporting views designed for BI consumption.
Stack: SQL Server, T-SQL, Window Functions, Star Schema, Reporting Views.
Model: Gold Star Schema (facts & dimensions)
Analytics: KPIs • ranking • part-to-whole • time-series • segmentation
Outputs: BI-ready views (customers & products)
Use of analytical SQL patterns: window functions (SUM/AVG OVER, LAG), deterministic window frames, safe division, and robust NULL handling.
Monthly aggregation, running totals, moving averages, and MoM/YoY growth computations to analyze trends over time.
Business-driven KPIs, customer/product reports, and consolidated views directly consumable by BI tools (e.g., Power BI).
I can share additional context (data model choices, KPI definitions, performance considerations, limitations, next steps) during a discussion.