Skip to content

inamulhasan-stack/Retail_Sales_Project

Repository files navigation

📊 Dubai Retail Sales Analysis Dashboard

Project Overview

This project involves the comprehensive analysis of retail sales data for a Dubai-based company to drive data-informed business decisions. The solution was built using Power BI, leveraging Power Query for data transformation, Star Schema for data modeling, and Advanced DAX for calculating complex business metrics.


🛠️ Data Transformation (Power Query)

To convert raw "dirty data" into an analysis-ready format, the following steps were taken:

  • Handling Null Values: Removed unnecessary rows where critical information like CustomerID or ProductID was missing.
  • Data Imputation: Filled missing UnitPrice and Quantity values using mean/average imputation to maintain data integrity.
  • Text Standardization: Applied Trim and Clean functions to remove erratic spacing and non-printable characters.
  • Categorical Alignment: Standardized inconsistent entries for 'Gender' and 'Membership' by grouping missing values under 'Unknown'.
  • Date Normalization: Unified various date formats (e.g., MM-DD-YYYY, DD/MM/YYYY) into a consistent DD/MM/YYYY standard.

🏗️ Data Modeling

The project implements a robust Star Schema to ensure optimal performance and scalability:

  • Fact Table: Sales_Fact (Contains transactional data).
  • Dimension Tables: Customers, Products, Geography, and Calendar.
  • Relationships: Established 1: (One-to-Many)* relationships between dimensions and the fact table to enable seamless filtering.

📈 Key Business Insights

  • Customer Loyalty: A high Retention Rate indicates strong brand loyalty among existing customers.
  • Regional Dominance: The Central Region (Dubai) emerged as the primary revenue driver for the business.
  • The Profitability Paradox (Crucial Finding): While Electronics leads in total revenue, Furniture and Clothing offer significantly higher Profit Margins.
  • Strategic Opportunity (Clothing): Despite having the highest margins, Clothing accounts for less than 20% of total sales volume. There is a massive opportunity to increase overall profitability by focusing marketing efforts on this category.
  • Peak Sales Periods: Sales and footfall significantly spike during Weekends, suggesting a need for optimized staffing and targeted weekend promotions.

🧮 Advanced DAX Measures

  • Total Revenue: SUMX(Sales_Fact, [Quantity] * [UnitPrice])
  • Total Profit: [Net Revenue] - [Total Cost]
  • Retention Rate %: DIVIDE([Returning Customers], [Total Customers], 0)
  • Profit Margin %: DIVIDE([Total Profit], [Net Revenue], 0)

📊 Visualization

Retail Performance Overview

Category-wise Sales


🚀 How to View

  1. Download the .pbix file included in this repository.
  2. Open it using Power BI Desktop.
  3. Interact with the Slicers to filter data by Year, Month, or City to explore specific trends.

👨‍💻 Project by

Inamul Hasan Junior Data Analyst | Reporting Analyst

About

An interactive Power BI dashboard analyzing UAE's retail sales performance, featuring data transformation via Power Query, Star Schema modeling, and actionable business insights using DAX.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors