Giter Club home page Giter Club logo

mrankitgupta / sales-insights-data-analysis-using-tableau-and-sql Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 9.0 5.07 MB

India based Hardware company Sales Insights - A Data Analysis Project performed on Tableau & SQL

License: MIT License

analytics ankitgupta data-analysis data-cleaning data-science data-visualization excel mrankitgupta mysql powerbi rdbms sql sql-server tableau tableau-dashboards tableau-desktop tableau-public analysis 66daysofdata statistics

sales-insights-data-analysis-using-tableau-and-sql's Introduction

Sales Insights - Data Analysis using Tableau & SQL tableau

I am sharing India based Hardware company Sales Insights - A Data Analysis Project performed on Tableau & SQL in my journey into Data Science.

For more detials, refer: Data Analyst Roadmap โŒ›

About Project ๐Ÿ‘จโ€๐Ÿ’ป

  • Performed India based hardware company sales insights - A Data Analysis project.

  • Developed ETL mappings using SQL to extract the data from unstructured data and transformed it to the staging area to conduct data cleaning and design star schema data model on Tableau.

  • Developed a Tableau dashboard to perform analysis, producing quantitative visualizations in Tableau to draw valuable insights based on different parameters affecting the company performance year on year and further provide business solutions.

Technologies used โš™๏ธ

Certifications ๐Ÿ“œ ๐ŸŽ“ โœ”๏ธ

Project - India based Hardware company Sales Insights - Data Analysis performed on Tableau & SQL

Problem Statements

Sales director wants to know the performance of the company in various Indian states & accordingly provide some discount.

  • Q1. Revenue breakdown by cities.

  • Q2. Revenue brekdown by years & months.

  • Q3. Top 5 customers by revenue & sales quantity.

  • Q4. Top 5 Products by revenue.

  • Q5. Net Profit & Profit Margin by Market

Approach - Project Planning & Aims Grid

1. Purpose: What? Why? What do we want to achieve?

To unlock sales insights that are not visible before for sales team for decision support & automate them to reduced manual time spent in data gathering.

2. Stake Holders: Who will be involved?

  • Sales Director,
  • I.T. Team,
  • Customer Service Team,
  • Data & Analytics Team.

3. End Result: What do we want to achieve?

An automated dashboard providing quick & latest sales insights in order to support data driven decision making.

4. Success Criteria: What will be our success criteria?

  • Dashboards uncovering sales order insights with latest data available.
  • Sales team able to take better decision & prove 10% cost savings of total spend.
  • Sales analysts stop data gathering manually in order to save 20% of their business time & reinvest it in value added activity.

Data Analysis - Approach

Setup Process

Step 1: Download file: db_dump.sql or db_dump.xlsx

Step 2: Import it in MySql do ETL(Extract, Transform, Load) if required

Step 3: Download Tableau Public (Free) or Tableau Desktop (14 days trial) to perform Data Analysis

Step 4: Connect Tableau with MySql database or Excel database

Step 5: Save the file as (.twb or .twbx)

Data Analysis Using SQL

  1. Show all customer records

    SELECT * FROM customers;

  2. Show total number of customers

    SELECT count(*) FROM customers;

  3. Show transactions for Chennai market (market code for chennai is Mark001)

    SELECT * FROM transactions where market_code='Mark001';

  4. Show distrinct product codes that were sold in chennai.

    SELECT distinct product_code FROM transactions where market_code='Mark001';

  5. Show transactions where currency is US dollars.

    SELECT * from transactions where currency="USD"

  6. Show transactions in 2020 join by date table.

    SELECT transactions.*, date.* FROM transactions INNER JOIN date ON transactions.order_date=date.date where date.year=2020;

  7. Show total revenue in year 2020.

    SELECT SUM(transactions.sales_amount) FROM transactions INNER JOIN date ON transactions.order_date=date.date where date.year=2020 and transactions.currency="INR\r" or transactions.currency="USD\r";

  8. Show total revenue in year 2020, January Month.

    SELECT SUM(transactions.sales_amount) FROM transactions INNER JOIN date ON transactions.order_date=date.date where date.year=2020 and and date.month_name="January" and (transactions.currency="INR\r" or transactions.currency="USD\r");

  9. Show total revenue in year 2020 in Chennai.

    SELECT SUM(transactions.sales_amount) FROM transactions INNER JOIN date ON transactions.order_date=date.date where date.year=2020and transactions.market_code="Mark001";

Data Analysis Using Tableau

Tableau Public Dashboards: Revenue & Profit Analysis tableau

Creating Star Schema in Tableau

Tableau Dashboard - Revenue Analysis

Tableau Dashboard - Profit Analysis

Project References: ๐Ÿ”—

Sr.No. ๐Ÿ”ข References ๐Ÿ‘จโ€๐Ÿ’ป Links ๐Ÿ”—
1 Tableau Project Dashboard : Sales Insights - Data Analysis using Tableau Dashboard
2 Tableau Public Profile Tableau Public Dashboard
3 Tutorial YouTube 1
4 MySQL installation YouTube 2
5 OLTP & OLAP Geeks for Geeks
6 Star Schema: Fact Table & Dimension Table Microsoft docs.

Related Projects:question: ๐Ÿ‘จโ€๐Ÿ’ป ๐Ÿ›ฐ๏ธ

Spotify Data Analysis using Python ๐Ÿ“Š

Statistics for Data Science using Python ๐Ÿ“Š

Python Lessons ๐Ÿ“‘

Python Libraries for Data Science ๐Ÿ—‚๏ธ

Liked my Contributions:question:Follow Me๐Ÿ‘‰ Nominate Me for GitHub Stars โญ โœจ

For any queries/doubts ๐Ÿ”— ๐Ÿ‘‡

MrAnkitGupta_

MrAnkitGupta MrAnkitGupta_ AnkitGupta MrAnkitGupta

sales-insights-data-analysis-using-tableau-and-sql's People

Contributors

mrankitgupta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

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.