Skip to content

AnaMenkshi/PowerBI-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Power BI Northwind BI Project

Implementing a Business Intelligence (BI) System with Power BI

Project Overview

This project demonstrates the implementation of a Business Intelligence system using Power BI connected to a Northwind SQL Server database. The goal is to analyze business data and provide actionable insights through interactive reports and visualizations.

I followed these main steps:

  1. Installed SQL Server Developer Edition and SSMS.
  2. Set up and explored the Northwind database.
  3. Installed Power BI Desktop.
  4. Connected Power BI to SQL Server.
  5. Built the Physical Layer (data tables, relationships, and cleaning).
  6. Built the Business Layer (DAX measures, calculated columns, relationships).
  7. Built the Presentation Layer (interactive reports and dashboards).

Repository Structure

powerbi-northwind-bi/

├── Northwind_Project.pbix # Main Power BI file

├── docs/

│ ├── step_by_step_setup.docx # Documentation of dashboard creation

├── README.md # Project overview and instructions

Steps Performed

1. SQL Server Setup

  • Installed SQL Server and SSMS.
  • Created the Northwind database with tables and data.
  • Executed queries to explore tables and verify data integrity.

2. Power BI Setup

  • Connected Power BI Desktop to SQL Server.
  • Imported all tables into Power BI.
  • Defined relationships and cleaned unnecessary columns.
  • Added calculated columns such as:
    • Employee Full Name
    • Expected Days of Delivery
    • Remaining Days

3. Physical Layer

  • Verified table relationships in Model View.
  • Removed irrelevant columns and rows with missing data.
  • Manually formatted dates and merged columns for better reporting.

4. Business Layer

  • Created DAX measures for key metrics, such as:
    • Net Revenue per Order
    • Supplier with Most Products
    • Max Sales by Category
    • Average Order Cost
    • Country with Highest/Lowest Sales
    • Customer with Highest Quantity
  • Added calculated columns for discounts, gross revenue, net revenue, seasonal analysis, and inventory metrics.

5. Presentation Layer

  • Developed dashboards and visualizations:
    • Cards for key KPIs (Revenue, Orders, Discounts, Losses).
    • Line and column charts to track sales and orders over time.
    • Maps showing customer locations with revenue insights.
    • Matrix visuals for category and product-level performance.
    • Clustered and stacked bar charts for inventory analysis.
    • Pie charts for net revenue per category.
    • Tree maps for low-stock products.
    • Waterfall charts for employee performance contribution.
  • Added slicers for dynamic filtering by category, product, country, city, employee, and date.
  • Applied conditional formatting for better visual understanding.

Setting Up the Northwind Database

The Northwind sample database is available from Microsoft SQL Server samples on GitHub:
Northwind & Pubs sample databases

Steps to set up Northwind in SQL Server:

  1. Download the instnwnd.sql script from the GitHub repository.
  2. Open SQL Server Management Studio (SSMS).
  3. Connect to your SQL Server instance.
  4. Open the instnwnd.sql script in a new query window.
  5. Execute the script to create and populate the Northwind database.

Note: These scripts were originally created for SQL Server 2000 but are compatible with newer versions.

Once the database is installed, you can explore tables, relationships, and sample data before connecting it to Power BI.


Getting Started

  1. Open Northwind_Project.pbix in Power BI Desktop.
  2. Ensure SQL Server is installed and the Northwind database is available.
  3. Connect Power BI to the SQL Server database using the server name provided in your setup.
  4. Load the data and explore dashboards in the report view.

License

Notes

  • The .pbix file in /pbix contains the full BI project with all layers implemented.
  • Ensure that the SQL Server instance name matches the connection used in Power BI.
  • Follow the step_by_step_setup.md document for a ready-to-use setup of the project.

Author

Ana Menkshi

About

Power BI dashboard project using the Northwind dataset to analyze sales, customers, and product performance with interactive insights.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors