Skip to content

daiana-analytics/global_superstore_finance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📊 Global Superstore Finance — SQL & Power BI Project

ETL → Star Schema → KPIs → Dashboards (Power BI) with BI governance (read-only role & contract views).
Portfolio project simulating an enterprise-grade financial analytics pipeline.

⬇️ Download PBIT template · 📺 See dashboard pages · 📘 Detailed README

Power BI demo of the Global Superstore Finance dashboard (overview, trends, operations)

🔎 Business questions answered

  • Where does revenue come from (acquisition vs. returning) and which segments/categories drive margin?
  • Are sales improving MoM and YoY? Which quarters/months concentrate demand?
  • Which ship mode sells the most and at what logistics burden? Are we meeting the ≤ 4-day SLA?
  • Is there backlog (orders vs. shipments)?

🚀 Repository Structure

  • 📂 sql_scripts/ → SQL scripts organized by ETL, Modeling, BI, and Admin.
  • 📂 docs/ → Documentation, diagrams, and design notes.
  • 📂 dashboards/ → Power BI (.pbix/.pbit), screenshots, and visual themes.

📑 Folder Index


🎯 Purpose

This repository demonstrates a full Financial Analytics workflow:

  1. ETL → Load and cleanse raw data (STAGE → RAW → CLEAN).
  2. Modeling → Star schema (FACT + DIM) and financial KPIs.
  3. BI → Business views for Power BI dashboards.
  4. Admin → Security, performance, and governance.
  5. Docs → ER diagrams and design decisions.
  6. Dashboards → Final storytelling with Power BI.

🖥️ Power BI — Pages & insights

01 — Financial Overview

Revenue mix, segment performance & margin, discount vs. margin with thresholds.

Page 1 – Financial Overview: cards, revenue mix, segment margin and discount vs margin scatter

Key insights

  • Revenue mix:70% of revenue comes from returning customers consistently (2011–2014).
  • Segment performance: Consumer leads sales (≈ $6.5M); Home Office shows the highest margin (≈ 11.9%).
  • Category breakdown: Technology leads sales ($4.7M, margin ≈ 14%); Furniture sells similarly ($4.1M) with lower margin (≈ 6.9%).
  • Discount vs. margin: medians margin 13.8% and discount 9%; Tables falls in high discount / negative margin quadrant (avoid).

02 — Time & Seasonality

MoM/YoY trends, best quarters/months; heatmap by month/year.

Page 2 – Time & Seasonality: MoM/YoY line, seasonality by quarter, monthly heatmap

Key insights:

  • Crecimiento YoY sostenido (panel muestra ~47%), con aceleraciones entre ago–nov.
  • Q4 es el trimestre pico cada año (2014 Q4 ~$1.49M).
  • Diciembre domina el mes pico de ventas de forma consistente.

03 — Shipping & Operations

SLA (≤4 días) por modo, ventas vs. shipping %, órdenes vs. despachos (backlog).

Page 3 – Shipping & Operations: lead time by ship mode, sales vs shipping% by mode, orders vs shipments

Key insights

  • SLA (≤ 4 days): Same Day (0d), First (2d) and Second (3d) meet target; Standard = 5d → out of SLA.
  • Efficiency by mode: Standard drives sales ($7.6M) with lower shipping burden (8.1%) and $40.61/order. Same Day is the most expensive (≈17.2%, $86/order).
  • Orders vs. shipments: Year-end shipments > orders indicates backlog clearance; January rebalances.

DAX Highlights · KPI Dictionary.

  • Safe deltas: robust Safe % vs LM/LY against slicers and missing months.
  • Time intelligence: YTD, MoM, YoY measures.
  • Usability: context-aware tooltips, KPI labels, curated views for BI consumption.

Governance

  • Read-only BI user (bi_reader) with SELECT-only privileges.
  • Published contract views under the global_superstore_bi schema.

🧪 How to run (short)

1) SQL

  • Create the DB and run scripts in sql_scripts in order: etl/modeling/bi/admin/.
  • The read-only BI user bi_reader (role & grants) is created in sql_scripts/admin.

2) Power BI

  • Open the template: dashboards/powerbi/templates/GlobalSuperstore_Finance_Dashboard.pbit.
  • Point the connection to schema global_superstore_bi (contract views).
  • Refresh the model.

Need the full step-by-step? See Detailed README.


📌 Dataset


🛠️ Tech Stack

  • SQL (MySQL / compatible)
  • Power BI (DAX)
  • GitHub (documentation & version control)

👩‍💻 Author

Project by Daiana Beltrán
LinkedIn · GitHub

About

SQL + Power BI solution for financial insights: revenue, margin, cost & customer analysis.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published