Skip to content

Pratik5767/customer_shopping_behaviour_analysis

Repository files navigation

🛒 Customer Shopping Behaviour Analysis

📌 Project Overview

Customer Shopping Behaviour Analysis is a data-driven Power BI project that examines customer purchasing patterns, sales trends, product preferences, and market performance to generate actionable business insights.

The objective of this project is to identify high-value customers, top-performing products, seasonal trends, and revenue distribution across different markets to support strategic decision-making and targeted marketing efforts.


📷 Project Architecture

architecture

🎯 Business Objectives

  • Identify top revenue-generating customers
  • Analyze product-wise sales performance
  • Understand market and zone-level revenue contribution
  • Track sales trends over time (yearly & monthly)
  • Evaluate customer purchasing behavior
  • Support data-driven business strategy decisions

🗂️ Dataset Description

The dataset consists of the following tables:

1️⃣ Customers

  • customer_code
  • customer_name
  • customer_type

2️⃣ Date

  • date
  • cy_date
  • year
  • month_name
  • date_yy_mmm

3️⃣ Markets

  • markets_code
  • markets_name
  • zone

4️⃣ Products

  • product_code
  • product_type

5️⃣ Transactions

  • product_code
  • customer_code
  • market_code
  • order_date
  • sales_qty
  • sales_amount
  • currency

🔗 Data Model

  • Customers ↔ Transactions (customer_code)
  • Products ↔ Transactions (product_code)
  • Markets ↔ Transactions (market_code)
  • Date ↔ Transactions (order_date)

Star schema model implemented for optimized performance.


📊 Key Metrics (DAX Measures)

Revenue = SUM('public transactions'[sales_amount])

Sales Qty = SUM('public transactions'[sales_qty])

Average Revenue per Customer =
DIVIDE([Revenue], DISTINCTCOUNT(customers[customer_code]))

Top 5 Customers Revenue =
TOPN(5, SUMMARIZE(customers, customers[customer_name], "Total Revenue", [Revenue]), [Revenue], DESC)

📈 Dashboard Features

  • KPI Cards (Total Revenue, Total Sales Quantity)
  • Revenue by Market (Bar Chart)
  • Sales Quantity by Market
  • Revenue Trend Over Time (Line Chart)
  • Top 5 Customers Analysis
  • Top 5 Products Analysis
  • Year & Month Slicers for filtering
  • Dynamic filtering across all visuals

🛠️ Tools & Technologies Used

  • Power BI Desktop
  • PostgreSQL (Data Source)
  • DAX (Data Analysis Expressions)
  • Power Query (Data Transformation)
  • Star Schema Data Modeling

📌 Key Insights Derived

  • Identified highest revenue-generating markets
  • Recognized top-performing customers contributing major revenue
  • Observed seasonal sales trends across years
  • Analyzed product performance distribution
  • Evaluated sales quantity vs revenue patterns

🚀 Business Impact

  • Helps management focus on high-value customers
  • Supports inventory planning based on product performance
  • Enables targeted marketing campaigns
  • Improves regional sales strategy
  • Enhances overall data-driven decision-making

📷 Dashboard Preview

dashboard

📂 How to Use

  1. Open the .pbix file in Power BI Desktop
  2. Refresh data connection if required
  3. Use slicers to filter by year or month
  4. Explore interactive visuals

👨‍💻 Author

Pratik Vishwas Salunkhe


⭐ If you found this project useful

Feel free to star the repository and connect with me!

About

Customer Shopping Behaviour Analysis is a data-driven project that examines customer purchasing patterns, sales trends, product preferences, and market performance to identify buying behavior insights.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors