The objective of this project is to gain insights into the Clothify business by quering and analysing the database using SQl and creating interactive visualizations with power BI. The project aims to answer questions related to customer behaviour, distributor performance, inventory management, order trends, and payment analysis. Clothify is an imaginary clothing database that I created, and the database contains several key tables, including customer, distributor, order, order item, product, product category, inventory, and payment.
Microsoft SQL Server Management Studio POWER BI
- Customer - it contains customer details including customerID, name, email, address, phone-no, gender, age
- Distributor - it contains distributor details including DistributorID, Name, Email, Address, Phone-No, Gender, Age
- Order Table - it contains order details including orderID, order date, customerID, status, order-no, total amount
- Product Category - it contains details of product category which includes categoryID, name
- Product - it contains details of product which includes productID, product name, description, price, distributorID, categoryID
- Inventory - it contains inventory details including InventoryID, ProductID, Quantity
- Order Item - it contains details of all order items which includes orderitemID, orderitem quantity, price, orderID, productID
- Payment - it contains details of payment made by customer inculding tax amount which includes paymentID, payment date, amount, orderID, customerID
CUSTOMER
- How many customers are there in total?
- How many customers are male and female?
- What is the average age of all the female customer?
- How many customer placed the order and among them which customer placed the maximum order?
- What is the distribution of customers by age group?
- What is the lifespan of customer gretaer than 5 months?
DISTRIBUTOR
- What is the distribution of distributors by gender?
- Which distributor have the highest number of product?
ORDER
- How many orders have been placed in total?
- What is the total revenue generated from orders?
- What is the Average Revenue Per order?
- How many orders are in each status category?
- What is the revenue distribution by product category?
- How many order have placed per date by customer detail?
PRODUCT
- What is the average price of products?
- What are the top selling product?
- What is the product distribution by category?
- How many products supplied by each distributor?
- What is the total revenue generated per product?
INVENTORY
- How many items are in the inventory for each product?
- Which products have low inventory quantities?
- How many items are in the inventory for each distributor?
- How does the inventory quantity change over time?
- What is the average inventory quantity per product category?
- What is the total value of inventory for each product?
ORDER ITEM
- What is the average price of items per order and product?
- How many items are in each order?
- Which products have the highest quantity ordered?
- How does the price of items vary across different orders?
PAYMENT
- What is the total amount after 10% Tax?
- how many payment made on each payemnt date?