← Erwin Glenn Capitan II View repo

Project summary · Microsoft Fabric · PySpark · T-SQL · Power BI

End-to-End Retail Analytics on Microsoft Fabric

A full medallion lakehouse in Fabric — raw landing, PySpark cleanup, a T-SQL star schema in the Warehouse, and a deployment pipeline that promotes it all between workspaces.

Role
Personal build
Stack
Microsoft Fabric · PySpark · T-SQL · Power BI
Status
Complete
Repository
glcapitan / fabric-medallion-retail-pipeline

Why I built it

Job descriptions kept asking for Fabric plus a real promotion path between environments — not a single workspace with everything dumped in it. This project builds the whole stack the way a team would run it, including source control and CI/CD.

Questions it answers

How I built it

  1. Bronze landing. Raw retail source files land in a BronzeLH lakehouse, untouched, so any downstream mistake can be replayed from source.
  2. Silver cleanup in PySpark. A notebook standardises types, handles nulls and de-duplicates into SilverLH — the layer everything else reads from.
  3. Gold star schema in T-SQL. A fact table plus three conformed dimensions built in the Fabric Warehouse, with an aggregated view on top for the report to hit directly.
  4. CI/CD. A Fabric Deployment Pipeline promotes the workspace from GlcAnalyticsWS to CICDWS, so environment promotion is a button rather than a rebuild.
  5. Source control. The workspace is Git-backed, so the pipeline definitions and notebooks live in the repo alongside the documentation.
Medallion architecture across the Fabric workspace
Medallion architecture across the Fabric workspace
Deployment pipeline promoting the workspace to CICDWS
Deployment pipeline promoting the workspace to CICDWS

How I know it works

Honest notes

The dataset and the overall pattern come from Ansh Lamba's Fabric tutorial, which is attributed in the repo README. The pipeline build, the cleanup logic, the data model and the CI/CD setup are my own implementation.