Giter Club home page Giter Club logo

da_sales's Introduction

da_sales

Project Title

Analysing Sales for AtliQ Hardware

Problem Statement

AtliQ Hardware, a computer hardware and peripheral manufacturer which supplies hardware and peripherals to it's clients.

Head Office: New Delhi

Regional Offices: North, East, South, West (Pan India)

Challenges faced by Sales Director (Head Office):

  • Due to dynamic market growth issues are faced in terms of sales tracking.
  • Issues with business insights.
  • Regional Managers present a sugar-coated picture of respective regional salesto the Sales Director, in form of humongous excel files.

Project Planning & Data Discovery

Aim's Grid

Definition

  1. Purpose: To unlock sales insights (not visible before) for sales team for decision support & automate those to reduce manual time spent in data gathering.
  2. Stakeholders:
    • Sales Director
    • Marketing Team
    • Customer Service Team
    • Data & Analytics Team
    • IT
  3. End Result: An automated dashboard providing quick & latest insights in order to support data driven decision making.
  4. Success Criteria:
    • Dashboards uncovering sales order insights with latest available data.
    • Sales team able to take better decisions & prove 10% cost savings of total spends.
    • Reduce data gatering for Sales analysts in order to save 20% of business time and reinvest it in value added activity.

Data Discovery

  • The regional sales data (aggregated using sales systems) is stored in database instance (OLTP, mysql) and is owned by IT Team.
  • It is the job of the data and analytics team to reach out to IT team and ask them for data.

Tip:

  • Heavy and complex querying an OLTP instance may affect its performance.
  • Hence data warehouses are built (OLAP).
  • Data Engineers are responsible for handling OLAP(s).
  • ETL: the process of reformatting OLTP data in a way that it is best for performing analytical queries.
  • Some ETL tools:
    • Apache Nifi
    • Informatica
    • Talend
    • Python (pandas)

SQL Analysis

  • Analyse basic structure of each table.
  • Look out for anamolies or values of concern (for e.g. few transacations in our analysis are also done in USD).
  • Check for interesting aggreagates (sum, avg, count) with and without joining tables.

Data Cleaning & ETL

  • A good observation is that there are duplicate rows in transactions table with difference in currency values though (INR, INR\r and USD, USD\r), a query to identify this is:
    • select sales.transactions.customer_code, sales.transactions.market_code, sales.transactions.order_date, sales.transactions.product_code, sales.transactions.sales_amount, sales.transactions.sales_qty, count() from sales.transactions group by sales.transactions.customer_code, sales.transactions.market_code, sales.transactions.order_date, sales.transactions.product_code, sales.transactions.sales_amount, sales.transactions.sales_qty having count() > 1;
  • Load data in PowerBI
  • Extracted Schema diagram: star_schema
  • Clean & Transform Data:
    • Zone 'not equal' to blank
    • Only allow those transactions which have sales_amount 'greater than equal to' 1
    • It is found that records with currency='INR\r' >> currency='INR', consider records which have currency as INR\r and USD\r (each record with currency='INR' has a duplicate entry with currency='INR\r' vice versa not true though, same applies for USD\r and USD)
    • Normalize sales amount to INR (multiply normalize factor by sales_amount)

Building Dashboard (PowerBI)

  • Card visual for Revenue and Sales Qty
  • List visual for selecting Year
  • List visual for selecting Month
  • Line chart visual for Revenue trend
  • Stacked Bar chart visual for Revenue by market region
  • Stacked Bar chart visual for Sale quantity by market region
  • Stacked Bar chart visual for Top products by Revenue
  • Stacked Bar chart visual for Top customers by Products
  • report

Feedback

  • Bug: evaluation of revenue considers sales_amount, it should rather have considered normalized_sales_amount
  • Include a visual for overall profit margin
  • Include a visual for profit margin by markets
  • Just profit percentage does not give a clear picture, have a visual for contribution percentage to total profit margin by markets
  • A table with total revenue, revenue contribution %, profit margin contribution %, profit margin % instead of a stacked chart of top 5 cutomers by reveue.
  • Have a Customer Type distribution by Revenue using pie-chart.
  • Have a dynamic Performance Insights.
    • Have bar chart for Revenue by zone, Revenue Contribution % by zone
  • Have a dynamic target Profit % visual which helps to manipulate target Profit margin % and accordingly highlight Profit margin % chart bars with different color which don't satisfy target value.

Extra Inferences from post plotting Feedback visuals

  • Inferring from Profit % Mesaure: Delhi though gets you higher revenue values, but Bhuvaneshwar tops the list for profit percentage for the year 2020.
  • Inferring from Profit Margin Contribution Percentage Measure: Mumbai is the highest contributor to overall profit margin for year 2020, although Delhi region has the highest revenue for the same year.
  • Inferring from table visual: Though Electricalsara Stores provides you with a profit margin% of 0.37%, but the profit margin contribution in overall profit margin is quite high (11.92%) (this is due to high sales volume made to Electricalsara Stores, if they give you loads of orders which will raise their profit margin contribution you give them loads of discount hence low profit margin%).
  • Lucknow has negative profit %, clicking on it then referring the table will allow you to view stores within Lucknow, there is only one named as Insight and hence sales director can decide to not continue business with this store or negotiate the sell value or increase the sales volume.
  • Inferring from Customer Type distribution by Revenue pie-chart: High revenue is generated from Brick & Mortar cutomer type as compared to E-Commerce.
  • Inferring from Revenue by zone, Revenue Contribution % by zone:
    • North zone contributes to highest revenue.
    • Though South Zone is the least contributor to Revenue Contribution % (4.61%), but due to Surge Stores' high(inferring from table) Profit Margin Contribution % (11.95%) the metric value soars high for South zone too (18.51%). In simple terms: The biggest reason business is still being continued in South Zone is Surge Stores!!
  • Inferring from setting up a target Profit margin of 2%:
    • Bhopal, Surat, Delhi NCR, Kanpur and Lucknow do not satisfy this target, on further investigation Profit Margin % for Epic Stores (Bhopal) is too low (~-5%), and is major reason for skewing performance for entire Bhopal market, same reason is valid for Control and Zone (Kanpur). Business can be discontinued with these stores.

Credits

da_sales's People

Contributors

jayuchawla avatar

Watchers

James Cloos avatar  avatar

da_sales's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.