Skip to content

ParthShah7099/Practical_Test_Business_Case_Study

Repository files navigation

๐Ÿ† RETAIL INTELLIGENCE COMMAND CENTER

Sales Uplift: Strategy Insights from Multi-Region Retail Data

A Corporate Analytics Masterpiece by ๐Ÿ‘‘ THE PARTH SHAH

"Data doesn't speak to everyone.
It speaks to those who've trained their eyes to see beyond the numbers." โœจ

SQL Power BI Excel Dataset Revenue


๐ŸŽฌ THE STORY BEHIND THE STRATEGY

It began with a single question from a retail boardroom โ€”

"We have mountains of transaction data. But where do we grow next?"

150,000 transactions. 12,000 customers. 4 regions. 36 months of business reality.
The data existed. But the intelligence didn't โ€” until now.

Enter THE PARTH SHAH โ€” analyst, architect, storyteller.

What followed wasn't just a data project.
It was a corporate intelligence operation โ€” built from raw CSV chaos into a boardroom-ready command center where every query answered a question, every chart told a story, and every insight became a decision.

This isn't a school assignment.
This is retail strategy, engineered.


๐Ÿ’Ž KPI OVERVIEW โ€” THE NUMBERS THAT MATTER

KPI Banner

Six metrics. Six stories. One business truth โ€” this company has everything it needs to grow.


๐Ÿงฉ THE CHALLENGE

Transform 150,000 raw transactions into a Fortune-500-grade analytics system
capable of guiding a multi-region retail company's Q3 strategy.

The mission was clear โ€” and uncompromising:

  • ๐Ÿ” Extract the truth buried in โ‚น2.37 Billion of transaction data
  • ๐Ÿ—บ๏ธ Identify which regions win, which need help, and which are untapped
  • ๐Ÿ“ˆ Decode which categories are rising and which are silently dying
  • ๐Ÿ‘ค Find the loyal customers and protect them before the competition does
  • ๐Ÿ“Š Build a dashboard that a CEO would actually use on a Monday morning

Mission accepted. Mission completed. โœ…


๐Ÿง  THE INTELLIGENCE INSIDE

๐Ÿ—„๏ธ Dataset Architecture

Dimension Specification
Total Transactions 1,50,000 rows
Date Range January 2023 โ€” December 2025 (3 full years)
Total Revenue โ‚น 2,37,65,84,898 (~โ‚น237.7 Crore)
Unique Customers 12,000
Regions East ยท West ยท North ยท South
Categories 10 (Electronics, Fashion, Grocery, Furniture, Sports, Beauty, Appliances, Stationery, Toys, Accessories)
Products 90+ realistic SKUs across all price bands
Sales Channels Online ยท Offline (digital growth embedded)
Payment Modes UPI ยท Credit Card ยท Cash ยท Net Banking

๐Ÿ“‚ THE SYSTEM ARCHITECTURE

File Role
RetailTransactions.csv The foundation โ€” 150,000 rows of raw business truth
RetailAnalysis.sql 7 SQL queries + full DB setup + executive commentary
RetailAnalysis_Dashboard.xlsx 10-sheet Excel dashboard โ€” charts, KPIs, insights
DAX_Measures.txt 30 Power BI DAX measures โ€” every metric engineered
Insights.txt 7 strategic business findings, boardroom-ready
Executive_Report.txt Full consulting report โ€” findings, strategy, action plan
Data_Dictionary.txt Column definitions, business context, data lineage
images/ 8 premium dark-theme visualization screenshots
README.md This legendary document

๐Ÿ“ˆ VISUAL 1 โ€” MONTHLY REVENUE TREND

Monthly Revenue Trend

36 months of business rhythm captured in one chart.
Notice the October peaks every year โ€” Diwali doesn't lie.
And the steady climb in Average Order Value โ€” premiumisation is real and accelerating.


๐Ÿ—บ๏ธ VISUAL 2 โ€” REGIONAL INTELLIGENCE

Region Analysis

West owns the crown. 35.5% revenue share. Highest AOV at โ‚น18,750.
North is the white space. 13.1% share โ€” an underpenetrated market with โ‚น47M+ upside.
The donut tells the concentration story. The bar tells the AOV story.
Together, they tell the strategy.


๐Ÿ”ฌ VISUAL 3 โ€” SQL INTELLIGENCE โ€” 7 QUERIES, 7 REVELATIONS

Each query isn't just a SQL statement.
It's a business question answered with mathematical precision.

# Query Mission Business Revelation
1 Total sales per region โ€” last quarter Who ruled Q4 2025?
2 Top 5 best-selling products by revenue Which SKUs are carrying the company?
3 Monthly sales trend across all regions When does the business breathe hardest?
4 Region-wise contribution % to total Where is the concentration risk hiding?
5 Online vs Offline โ€” month-by-month How fast is the digital shift moving?
6 Category trend โ€” rising vs falling Which categories are the future? Which are the past?
7 Customers with 10+ purchases Who are the loyal soldiers driving the empire?

๐Ÿ† VISUAL 4 โ€” TOP 5 PRODUCTS BY REVENUE

Top 5 Products

Electronics dominates. All 5 top revenue generators are electronics SKUs.
iPhone 15 Pro alone drives โ‚น240M โ€” from just 1,843 orders.
These 5 SKUs = 40.4% of all company revenue.
Stockout any one of these? The P&L feels it the same day.


๐Ÿ“ฆ VISUAL 5 โ€” CATEGORY TREND โ€” RISING โ–ฒ VS FALLING โ–ผ

Category Trend

Beauty (+9.1%). Fashion (+8.8%). Electronics (+7.8%) โ€” The growth engines. Feed them.
Appliances (-7.7%). Stationery (-7.4%) โ€” The declining verticals. Prune them.
The arrows above each bar don't lie.
This chart is your portfolio reallocation decision, visualized.


โšก VISUAL 6 โ€” ONLINE vs OFFLINE โ€” THE DIGITAL SHIFT

Online vs Offline

The golden dashed line marks the inflection point โ€” June 2025.
Online revenue crossed offline for the first time in company history.
From 35.3% online share in Jan 2023 to 54.9% by Dec 2025.
This isn't a trend. This is a structural transformation.
The bottom panel tracks the online % in real time โ€” watch it climb past 50%.


๐Ÿ‘ค VISUAL 7 โ€” LOYAL CUSTOMERS โ€” LIFETIME VALUE CHAMPIONS

Loyal Customers

6,251 customers made 10+ purchases โ€” a 52% repeat rate that most retail businesses dream of.
The top customer (CUST00406) placed 67 orders worth โ‚น17.3 Lakhs over 3 years.
Gold bars = Platinum tier (โ‚น5L+ spend). These are not customers โ€” they are assets.
A VIP loyalty programme for this cohort alone can unlock โ‚น35M+ incremental revenue.


๐Ÿ” VISUAL 8 โ€” PAYMENT INTELLIGENCE & Q4 PERFORMANCE

Payment and Q4

Left: UPI dominates at 35% โ€” India's payment revolution reflected in the data.
Credit Card at 28% signals high-AOV transactions perfect for co-brand reward schemes.
Right: Q4 2025 region performance โ€” West leads at โ‚น72M, North trails at โ‚น26M.
That gap between West and North is your next growth campaign.


๐Ÿ† THE STRATEGIC ACTION PLAN

What a McKinsey partner would tell the CEO on page 1.

Priority Initiative Revenue Impact Timeline
๐Ÿ”ด HIGH North region targeted marketing +โ‚น47M Q1โ€“Q2 2026
๐Ÿ”ด HIGH VIP Loyalty Programme launch +โ‚น35M Q2 2026
๐Ÿ”ด HIGH Beauty & Fashion assortment expansion +โ‚น28M Q1 2026
๐ŸŸก MED Online UX & checkout optimization +โ‚น22M Q2 2026
๐ŸŸก MED Diwali early campaign (Oct 1 launch) +โ‚น18M Sep 2026
๐ŸŸก MED Appliances/Stationery SKU pruning +โ‚น12M margin Q1 2026
๐ŸŸข LOW Credit card co-brand programme +โ‚น15M LTV Q3 2026

Total Identified Revenue Opportunity: โ‚น177M+ over 12 months


โšก POWER BI SETUP โ€” THE INTELLIGENCE LAYER

Step 1 โ€” Import

Power BI Desktop โ†’ Get Data โ†’ Text/CSV โ†’ RetailTransactions.csv
Transform: Date (Date type) | TotalAmount (Decimal) โ†’ Load

Step 2 โ€” Date Table (Modeling โ†’ New Table)

DateTable = ADDCOLUMNS(CALENDARAUTO(),
    "Year", YEAR([Date]),
    "Month", FORMAT([Date], "MMMM"),
    "Quarter", "Q" & QUARTER([Date]),
    "Year-Month", FORMAT([Date], "YYYY-MM"))

Step 3 โ€” Theme DNA

{
  "name": "RetailDark",
  "dataColors": ["#4361EE","#4CC9F0","#06D6A0","#E94560","#F5A623","#7209B7"],
  "background": "#1A1A2E",
  "foreground": "#FFFFFF",
  "tableAccent": "#4361EE"
}

๐Ÿงฎ DAX MEASURES โ€” THE FORMULA ENGINE

30 professional DAX measures. Every metric the C-suite could ever need.

// Total Sales
Total Sales = SUM(RetailTransactions[TotalAmount])

// Average Order Value
Avg Order Value = DIVIDE([Total Sales], [Total Transactions], 0)

// Online Share %
Online Sales % = DIVIDE([Online Sales], [Total Sales], 0)

// Month-over-Month Growth
MoM Growth % = DIVIDE([Total Sales] - [Sales Previous Month], [Sales Previous Month], BLANK())

// Region Contribution
Region Contribution % = DIVIDE([Total Sales],
    CALCULATE([Total Sales], ALL(RetailTransactions[Region])), 0)

// Loyal Customers
Loyal Customers Count = COUNTROWS(
    FILTER(SUMMARIZE(RetailTransactions, RetailTransactions[CustomerID],
    "PurchaseCount", COUNTROWS(RetailTransactions)), [PurchaseCount] > 10))

โ†’ Full 30-measure library in DAX_Measures.txt


๐Ÿ—„๏ธ SQL SETUP โ€” THREE PATHS, ONE DESTINATION

MySQL

CREATE DATABASE RetailAnalyticsDB;
USE RetailAnalyticsDB;
LOAD DATA INFILE 'RetailTransactions.csv'
INTO TABLE RetailTransactions
FIELDS TERMINATED BY ',' ENCLOSED BY '"'
LINES TERMINATED BY '\n' IGNORE 1 ROWS;

SQLite (Fastest Path)

sqlite3 retail.db
.mode csv
.import RetailTransactions.csv RetailTransactions
.read RetailAnalysis.sql

PostgreSQL

CREATE DATABASE retail_analytics;
\c retail_analytics
\i RetailAnalysis.sql
\COPY RetailTransactions FROM 'RetailTransactions.csv' CSV HEADER;

โœจ THE PARTH SHAH DIFFERENCE

Because I don't analyze data โ€” I interrogate it.

๐ŸŽฏ Every query has a business purpose โ€” not just a syntax.
๐Ÿ“Š Every chart earns its pixel โ€” not just decoration.
๐Ÿงญ Every insight demands action โ€” not just observation.
๐Ÿ’ก Every file breathes intelligence โ€” not just information.

This isn't a submission.
This is a standard.

โ•”โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•—
โ•‘  "Don't just read the data.                                โ•‘
โ•‘   Make the data read the business โ€” and confess."         โ•‘
โ•‘                              โ€” THE PARTH SHAH โšก           โ•‘
โ•šโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•

๐Ÿงญ NAVIGATION GUIDE

  1. ๐Ÿ—‚๏ธ Start with RetailTransactions.csv โ€” understand the raw material.
  2. ๐Ÿ” Open RetailAnalysis.sql โ€” run the 7 queries, read the business commentary.
  3. ๐Ÿ“Š Explore RetailAnalysis_Dashboard.xlsx โ€” let the visuals do the talking.
  4. ๐Ÿงฎ Copy DAX_Measures.txt into Power BI โ€” build the live intelligence layer.
  5. ๐Ÿ“„ Read Executive_Report.txt โ€” present with the confidence of a consultant.
  6. ๐Ÿ’ก Summarize with Insights.txt โ€” 7 bullets that win any boardroom.

๐Ÿค CONNECT WITH THE CREATOR

๐Ÿ’ฌ Inspired by this creation?
Let's collaborate, build, and redefine how data is understood.

๐Ÿ‘‰ Connect with me on LinkedIn ๐Ÿ”—


โญ Crafted by THE PARTH SHAH โ€”
Because even retail data deserves a masterpiece.

Red & White Skill Education | Practical Exam | Business Case Study

About

๐Ÿ† A Fortune-500-grade retail analytics project โ€” 150,000 transactions | โ‚น237.7 Cr revenue | SQL + Power BI + Excel | 7 business queries, 8 premium dashboards & a full executive strategy report. Built by THE PARTH SHAH.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors