Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Sales Insights - Data Analysis using Tableau & SQL
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 details, 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 ⚙️
Advance Excel
MySQL
| SQL Server
Tableau
|
Power BI
Statistics
Certifications 📜 🎓 ✔️
Data Visualization with Tableau - by Simplilearn
Databases and SQL for Data Science with Python - by IBM
Statistics for Data Science with Python - by IBM
Data Visualization with Advanced Excel - by PWC
Project - India based Hardware company Sales Insights - Data Analysis performed on Tableau & SQL
Tableau Dashboard Link
🔗
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 breakdown 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?
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?
Data Analysis - Approach
Setup Process
Step 1: Download file:
db_dump.sql
ordb_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
Show all customer records
SELECT * FROM customers;
Show total number of customers
SELECT count(*) FROM customers;
Show transactions for Chennai market (market code for chennai is Mark001)
SELECT * FROM transactions where market_code='Mark001';
Show distinct product codes that were sold in chennai.
SELECT distinct product_code FROM transactions where market_code='Mark001';
Show transactions where currency is US dollars.
SELECT * from transactions where currency="USD"
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;
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";
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");
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
Creating Star Schema in Tableau
Tableau Dashboard - Revenue Analysis
Tableau Dashboard - Profit Analysis
Project References: 🔗
Related Projects:question: 👨💻 🛰️
Spotify Data Analysis using Python
📊Statistics for Data Science using Python
📊Python Lessons
📑Python Libraries for Data Science
🗂️