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:
- Installed SQL Server Developer Edition and SSMS.
- Set up and explored the Northwind database.
- Installed Power BI Desktop.
- Connected Power BI to SQL Server.
- Built the Physical Layer (data tables, relationships, and cleaning).
- Built the Business Layer (DAX measures, calculated columns, relationships).
- Built the Presentation Layer (interactive reports and dashboards).
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
- Installed SQL Server and SSMS.
- Created the Northwind database with tables and data.
- Executed queries to explore tables and verify data integrity.
- 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 NameExpected Days of DeliveryRemaining Days
- Verified table relationships in Model View.
- Removed irrelevant columns and rows with missing data.
- Manually formatted dates and merged columns for better reporting.
- Created DAX measures for key metrics, such as:
Net Revenue per OrderSupplier with Most ProductsMax Sales by CategoryAverage Order CostCountry with Highest/Lowest SalesCustomer with Highest Quantity
- Added calculated columns for discounts, gross revenue, net revenue, seasonal analysis, and inventory metrics.
- 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.
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:
- Download the
instnwnd.sqlscript from the GitHub repository. - Open SQL Server Management Studio (SSMS).
- Connect to your SQL Server instance.
- Open the
instnwnd.sqlscript in a new query window. - 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.
- Open
Northwind_Project.pbixin Power BI Desktop. - Ensure SQL Server is installed and the Northwind database is available.
- Connect Power BI to the SQL Server database using the server name provided in your setup.
- Load the data and explore dashboards in the report view.
- The
.pbixfile in/pbixcontains 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.mddocument for a ready-to-use setup of the project.
Ana Menkshi