This project analyzes supermarket sales data using SQL queries to uncover key business insights such as revenue trends, customer behavior, product performance, and time-based analysis. The results are presented in an interactive Power BI dashboard.
- Analyze supermarket sales trends and customer behavior.
- Identify top-selling products and peak sales periods.
- Provide actionable business recommendations.
- Database: SQLite
- Data Source: Supermarket Sales CSV File
- Query Language: SQL
- Visualization: Power BI
- Top-Performing Cities: Cities with the highest total sales.
- Product Insights: Best-selling products and product lines.
- Revenue by Payment Method: Most frequently used payment methods.
- Customer Types: Member vs. Non-Member purchasing behavior.
- Spending by Gender: Comparison of average spending by male vs. female customers.
- Monthly Sales Trends: Revenue over time.
- Peak Hours: Hours with the most sales activity.
supermarket_sales_analysis.sql
- All SQL QueriesCleaned_Sales_Report.csv
- Exported Data from SQLiteSupermarket_Sales_Dashboard.pbix
- Power BI Dashboard File
- Clone this repository to your local machine.
- Open
SupermarketSales.db
in SQLite. - Execute SQL queries from
supermarket_sales_analysis.sql
. - (Optional) Load
Cleaned_Sales_Report.csv
into Power BI for visualization.
- Focus marketing efforts on the top-performing cities and best-selling products.
- Increase sales promotions during peak sales hours.
- Offer loyalty programs targeting member and non-member customers.