A complete end-to-end data analytics project exploring Walmart’s sales performance using SQL, Python (Jupyter Notebook), and Power BI. This project uncovers key insights like top-performing categories, customer behavior trends, branch performance, and revenue patterns.
| File | Description |
|---|---|
| walmart.ipynb | Exploratory Data Analysis, Cleaning, Transformations |
| walmart_clean_data.csv | Final cleaned dataset used for SQL + Power BI |
| walmart_project.sql | All SQL queries + 7 business problem solutions |
| Walmart_Dashboard.pbix | Complete Power BI interactive dashboard |
Performed inside walmart.ipynb:
-
Removed missing values
-
Standardized categories
-
Converted
dateandtimecolumns -
Added new columns:
- DayType, MonthSort, Month
- Shift (Morning/Afternoon/Evening)
-
Created total →
total = unit_price * quantity -
Final dataset saved as:
walmart_clean_data.csv
All SQL queries + insights are included
Insight: Home & Lifestyle is the highest-revenue category consistently across branches.
Insight: Branch WALM001 has multiple declining months → performance instability.
Insight: Evening has the highest revenue and maximum invoices.
Insight:
- Fashion Accessories
- Home & Lifestyle
- Electronic Accessories These generate high revenue but have ratings below 6 → customer dissatisfaction.
Insight: Cash users have the highest average order value.
Insight: WALM004 has the highest average rating (≈7.0).
Insight: Weekdays outperform weekends in both sales volume and revenue.
The Walmart Power BI Dashboard:
| Insight Category | Key Finding |
|---|---|
| 🔝 Highest Revenue Category | Home & Lifestyle |
| 🏬 Most Inconsistent Branch | WALM001 |
| ⏰ Busiest Time of Day | Evening |
| 😕 High Sales but Low Ratings | Fashion, Electronics, Home & Lifestyle |
| 💰 Highest Avg Order | Cash payment |
| 😀 Best Customer Satisfaction | WALM004 |
| 📅 Higher Revenue | Weekdays |
Pandas, NumPy
Window functions, Aggregations, CTEs, Rankings
Interactive visuals, slicers, KPIs, DAX basics
VS Code, Jupyter Notebook, MySQL Workbench
git clone https://github.com/yourusername/Walmart-Sales-Analysis.git
cd Walmart-Sales-AnalysisOpen walmart.ipynb in Jupyter Notebook or VS Code.
Open walmart_project.sql in MySQL Workbench Use database:
USE walmart_db;Download Power BI Desktop, then open:
Walmart_Dashboard.pbix
- Add sales forecasting using ML
- Convert insights into a Streamlit dashboard
- Deploy dashboard online
- Build automated ETL pipelines
Harshita Pandey | SQL | Python | Power BI 📧 harshitapandey2910@gmail.com
