
This blog post outlines a comprehensive guide to creating a data analyst portfolio project using MS SQL Server and Excel. It covers the process of building an interactive dashboard, validating data through SQL queries, and generating key performance indicators (KPIs) and charts based on pizza sales data.
In this blog post, we will explore how to create a complete data analyst portfolio project using two powerful tools: MS SQL Server and Excel. This project will involve building an interactive dashboard that visualizes pizza sales data, validating the data through SQL queries, and generating key performance indicators (KPIs) and charts based on the data provided by a client.
The final output of our project will be an interactive dashboard created in Excel. The dashboard will include various charts and KPIs that provide insights into pizza sales. The client has provided us with specific requirements, including different problem statements that we need to address using SQL queries and Excel functionalities.
The dataset we will be working with is a CSV file containing pizza sales data for the year 2015. The data includes various fields such as:
The dataset consists of approximately 48,000 rows, which we will analyze to derive insights.
PizzaDB.To import the data, right-click on the database, select "Tasks," and then choose "Import Flat File." Follow the prompts to select the CSV file and ensure that the data types are correctly assigned.
Once the data is imported, we will write SQL queries to validate the data and generate the required KPIs. Here are some of the key queries we will execute:
Total Revenue: Calculate the total revenue from pizza sales.
SELECT SUM(total_price) AS total_revenue FROM pizza_sales;
Average Order Value: Calculate the average order value.
SELECT SUM(total_price) / COUNT(DISTINCT order_id) AS average_order_value FROM pizza_sales;
Total Pizzas Sold: Calculate the total number of pizzas sold.
SELECT SUM(quantity) AS total_pizzas_sold FROM pizza_sales;
Total Orders: Count the total number of unique orders.
SELECT COUNT(DISTINCT order_id) AS total_orders FROM pizza_sales;
Average Pizzas per Order: Calculate the average number of pizzas ordered.
SELECT SUM(quantity) / COUNT(DISTINCT order_id) AS average_pizzas_per_order FROM pizza_sales;
To connect Excel to the SQL Server database:
Once the data is imported into Excel, we will perform data cleaning and processing:
We will create various charts to visualize the data, including:
Finally, we will design the dashboard in Excel, ensuring it is interactive and user-friendly. We will include slicers for filtering data by order date and other relevant parameters.
In this project, we have successfully built a data analyst portfolio project using MS SQL Server and Excel. We validated our data through SQL queries and created an interactive dashboard that provides valuable insights into pizza sales. This project not only showcases our technical skills but also demonstrates our ability to derive actionable insights from data, making it a valuable addition to our portfolio.
Paste a YouTube link and let Magica create the key takeaways.
Summarize another video