Skip to the content.

Ben’s Pizzeria

Ben's Pizzeria

Table of Contents

View Interactive Dashboard

Objective

Create a comprehensive data management and analytics system for Ben’s Pizzeria to optimize operations and drive business decisions through:

Key Areas of Focus

Data Source

Data is sourced from learnbi.online/pizzaproject providing information on:

Project Stages

  1. Design
  2. Development
  3. Analysis
  4. Recommendations

Design

Database Design

Database-Mockup

Dashboard Components Required

Orders Management

Stock Control

Staff Management

Tools Used

Tool Purpose
Excel Initial data exploration
SQL Server Database creation and analysis
Power BI Interactive dashboard creation
GitHub Project documentation
QuickDBD Database schema design

Development

Database Structure

Orders Table

Row_ID      int         PK
Order_ID    varchar(50)  
Created_At  datetime    FK
Quantity    int
Delivery    boolean
Cust_ID     int         FK
Add_ID      int         FK
Item_ID     int         FK

[Additional table structures omitted for brevity]

SQL Views Created

Order Activity View

CREATE VIEW Order_activity AS
SELECT 
    orders.order_id,
    items.Item_Price,
    orders.Quantity,
    items.Item_Category,
    items.Item_Name,
    orders.Created_At,
    address.Delivery_Address1,
    address.Delivery_Address2,
    address.Delivery_City,
    address.Delivery_Zipcode,
    orders.Delivery
FROM Orders
LEFT JOIN items ON Orders.Item_ID = items.Item_ID
LEFT JOIN address ON Orders.Add_ID = address.Add_ID

Inventory Management View

CREATE VIEW Stock1 AS
SELECT
    S1.Ing_name,
    S1.Ing_Id,
    S1.Ing_Weight,
    S1.Ing_Price,
    S1.item_name,
    S1.order_quantity,
    S1.recipe_quantity,
    S1.order_quantity * S1.recipe_quantity as Ordered_weight,
    S1.Ing_Price/s1.Ing_Weight as unit_cost,
    (S1.order_quantity * S1.recipe_quantity) * (S1.Ing_Price/s1.Ing_Weight) as ingredient_cost
FROM [subquery omitted for brevity]

Staff Cost View

CREATE VIEW Staff_cost AS
SELECT
    rota.Date,
    staff.First_Name,
    staff.Last_Name,
    staff.Hourly_Rate,
    shift.Start_Time,
    shift.End_Time,
    ((HOUR(TIMEDIFF(shift.end_time,shift.start_time))*60) + 
    (MINUTE(TIMEDIFF(shift.end_time,shift.start_time))))/60 as hours_in_shift,
    [calculated staff cost column] as staff_cost
FROM rota
LEFT JOIN staff ON rota.Staff_ID = staff.Staff_ID
LEFT JOIN shift ON rota.Shift_ID = shift.Shift_ID

Visualization

Interactive Dashboards Created

Order Activity Dashboard

Order Activity Dashboard

Inventory Management Dashboard

Inventory Management Dashboard

Staff Management Dashboard

Staff Management Dashboard

Analysis & Discovery

Analysis of the data revealed several key insights:

Sales Patterns

Inventory Management

Staff Optimization

Recommendations

  1. Inventory Optimization
    • Implement automated reordering system
    • Adjust stock levels based on usage patterns
    • Review supplier contracts for high-use ingredients
  2. Staff Scheduling
    • Realign shift schedules with peak hours
    • Reduce shift overlap periods
    • Implement cross-training program
  3. Menu Engineering
    • Focus promotion on high-margin items
    • Adjust pricing based on ingredient costs
    • Streamline menu options during peak hours

Implementation Plan

Phase 1: Database Implementation (Weeks 1-2)

Phase 2: Dashboard Deployment (Weeks 3-4)

Phase 3: Process Optimization (Weeks 5-8)

Success Metrics

This project demonstrates the power of data-driven decision making in restaurant operations, providing a foundation for continued optimization and growth.