Modificar README.md

This commit is contained in:
2026-05-22 13:13:56 +00:00
parent 6cd1eee6e4
commit c9a3200a3f
+236 -288
View File
@@ -1,49 +1,36 @@
# <div align="center">DHL – Power BI Logistics Analytics Dashboard</div> # <div align="center">DHL – Logistics Analytics Data Warehouse</div>
--- ---
## <div align="center">Overview</div> ## <div align="center">Overview</div>
This project consists of a complete Power BI Business Intelligence solution focused on logistics, sales analysis, shipment monitoring and customer analytics for DHL operations. :contentReference[oaicite:0]{index=0} This project consists of the development of a dimensional Data Warehouse model for logistics and sales analytics using a Star Schema architecture.
The solution integrates: The solution was designed to support Business Intelligence operations related to:
- Power BI dashboards - Sales analysis
- Data Warehouse modeling - Shipment analytics
- Star schema architecture - Customer analysis
- Interactive analytics - Product return monitoring
- KPI visualization - Profitability analysis
- Customer and logistics insights - Regional performance evaluation
- Shipment return analysis
The project was developed as an analytical platform capable of answering strategic business questions through interactive dashboards and dimensional modeling. The project integrates fact tables, dimension tables and analytical relationships optimized for Power BI reporting and KPI analysis.
--- ---
# <div align="center">Project Components</div> # <div align="center">Architecture</div>
| File | Description |
|:---:|:---:|
| `PBI.pbix` | Main Power BI dashboard |
| `PBI.pdf` | Exported dashboard report |
| `DataWarehouse.xlsx` | Data warehouse source data |
| `Diagrama de Estrela.jpg` | Star schema model |
| `README.md` | Project documentation |
---
# <div align="center">Data Warehouse Architecture</div>
## Star Schema Model ## Star Schema Model
The project uses a dimensional data warehouse model with: The data warehouse follows a classic Star Schema architecture composed of:
### Fact Tables ### Fact Tables
| Table | Description | | Table | Description |
|:---:|:---:| |:---:|:---:|
| FactSales | Sales transactions | | FactSales | Stores sales transaction metrics |
| FactReturns | Product return transactions | | FactReturns | Stores product return information |
--- ---
@@ -52,28 +39,159 @@ The project uses a dimensional data warehouse model with:
| Table | Description | | Table | Description |
|:---:|:---:| |:---:|:---:|
| DimCustomer | Customer information | | DimCustomer | Customer information |
| DimProduct | Product hierarchy | | DimProduct | Product hierarchy and categories |
| DimDate | Date dimension | | DimDate | Temporal analysis dimension |
| DimRegion | Geographic regions | | DimRegion | Geographic information |
| DimShipMode | Shipping methods | | DimShipMode | Shipment methods |
--- ---
# <div align="center">Entity Relationship Model</div> # <div align="center">Entity Relationship Structure</div>
The analytical model connects: The schema connects transactional data with descriptive dimensions through foreign-key relationships optimized for analytical queries.
- Customers The model supports:
- Products
- Sales
- Returns
- Shipping modes
- Geographic regions
- Time dimensions
through foreign-key relationships optimized for Power BI analytics. - Temporal analysis
- Geographic analysis
- Product analytics
- Customer segmentation
- Shipment analysis
- Return tracking
The architecture follows a classic star schema approach to maximize reporting performance and simplify analytical queries. ---
# <div align="center">Fact Tables</div>
## FactSales
Main transactional sales table.
### Attributes
| Attribute | Type |
|:---:|:---:|
| RowID | INT |
| Sales | DECIMAL(10,2) |
| Quantity | INT |
| Discount | DECIMAL(3,2) |
| Order Priority | VARCHAR(20) |
| OrderID | VARCHAR(50) |
| Profit | DECIMAL(10,2) |
| Shipping Cost | DECIMAL(10,2) |
### Foreign Keys
| Foreign Key | References |
|:---:|:---:|
| ShipOrder | DimShipMode |
| CodigoPostal | DimRegion |
| DateKey_Ship | DimDate |
| DateKey_Order | DimDate |
| CustomerID | DimCustomer |
| ProductID | DimProduct |
---
## FactReturns
Stores returned product transactions.
### Attributes
| Attribute | Type |
|:---:|:---:|
| ReturnID | INT |
| ReturnQuantity | INT |
| ReturnAmount | DECIMAL(10,2) |
| OrderID | VARCHAR(50) |
| Reason | VARCHAR(50) |
### Foreign Keys
| Foreign Key | References |
|:---:|:---:|
| CodigoPostal | DimRegion |
| DateKey_Order | DimDate |
| CustomerID | DimCustomer |
---
# <div align="center">Dimension Tables</div>
## DimCustomer
| Attribute |
|:---:|
| CustomerID |
| CustomerName |
| Segment |
| CodigoPostal |
| IsCurrent |
---
## DimProduct
| Attribute |
|:---:|
| ProductID |
| ProductName |
| Category |
| SubCategory |
---
## DimDate
| Attribute |
|:---:|
| DateKey_Order |
| DateKey_Ship |
| Year |
| Date |
| Semester |
| Week |
| Quarter |
| Month |
| Weekday |
---
## DimRegion
| Attribute |
|:---:|
| CodigoPostal |
| RegionName |
| CountryName |
| StateName |
| Market |
| CityName |
---
## DimShipMode
| Attribute |
|:---:|
| ShipOrderID |
| ShipModeName |
| Method |
---
# <div align="center">Business Objectives</div>
The model was designed to answer analytical questions such as:
- Which products generate the highest sales?
- Which regions generate the highest profit?
- Which customers spend the most?
- What is the impact of discounts on profit?
- Which shipment methods are most used?
- What are the main return reasons?
- How do sales evolve over time?
--- ---
@@ -81,228 +199,81 @@ The architecture follows a classic star schema approach to maximize reporting pe
| Technology | Purpose | | Technology | Purpose |
|:---:|:---:| |:---:|:---:|
| Power BI Desktop | Dashboard development | | Power BI | Dashboard visualization |
| Excel | Source data |
| SQL Concepts | Data modeling |
| Star Schema | Data warehouse architecture |
| DAX | KPI calculations |
| Power Query | Data transformation | | Power Query | Data transformation |
| DAX | KPI and measure creation |
| Excel | Data source |
| Data Warehouse Modeling | Analytical structure |
| Star Schema | Dimensional architecture |
--- ---
# <div align="center">Main Dashboards</div> # <div align="center">Data Warehouse Workflow</div>
## 1. Top Selling Products
This dashboard identifies the five products with the highest sales value. :contentReference[oaicite:1]{index=1}
### Example Results
| Product | Sales |
|:---:|:---:|
| Apple Smart Phone | €86,935 |
| Cisco Smart Phone | €76,441 |
| Motorola Smart Phone | €73,156 |
| Nokia Smart Phone | €71,904 |
| Canon imageCLASS 2200 | €61,599 |
---
## 2. Profit by Region
Regional profitability analysis across global markets. :contentReference[oaicite:2]{index=2}
### Main Regions
- Western Europe
- Eastern Asia
- Southern Asia
- Northern Europe
- Oceania
- LATAM
- USCA
---
## 3. Monthly Sales Analysis
Monthly sales distribution dashboard. :contentReference[oaicite:3]{index=3}
### Features
- Monthly sales trends
- Shipping method filtering
- Category filtering
- Market analysis
---
## 4. Discount Analysis
Average discount analysis by product category. :contentReference[oaicite:4]{index=4}
### Categories
| Category |
|:---:|
| Furniture |
| Office Supplies |
| Technology |
---
## 5. Shipment Mode Analysis
Analysis of the most used shipment methods for electronic products. :contentReference[oaicite:5]{index=5}
### Shipping Modes
| Mode |
|:---:|
| Standard Class |
| Second Class |
| First Class |
| Same Day |
---
## 6. Product Return Analysis
Analysis of returned products and return reasons. :contentReference[oaicite:6]{index=6}
### Main Return Reasons
| Reason | Quantity |
|:---:|:---:|
| Damaged Product | 234 |
| Other | 224 |
| Incorrect Size | 212 |
| Wrong Product | 207 |
| Late Delivery | 202 |
---
## 7. Customer Segment Analysis
Sales distribution by customer segment. :contentReference[oaicite:7]{index=7}
### Segments
| Segment | Sales |
|:---:|:---:|
| Consumer | €4.24M |
| Corporate | €4.21M |
| Home Office | €4.18M |
---
## 8. Top Customers Dashboard
Identification of the customers with the highest spending. :contentReference[oaicite:8]{index=8}
### Top Customers
| Customer | Sales |
|:---:|:---:|
| Igor Dutra | €13,716 |
| Gabriela Almeida | €10,552 |
| Barry Franz | €9,286 |
| Luiza Araújo | €8,167 |
| Aline Macedo | €7,383 |
---
## 9. Discount Impact on Profit
Subcategory-level analysis of discount impact on profitability. :contentReference[oaicite:9]{index=9}
### Product Subcategories
- Accessories
- Copiers
- Machines
- Phones
---
## 10. Market Performance Dashboard
Comprehensive sales, quantity, profit and discount analysis by market. :contentReference[oaicite:10]{index=10}
### Example Results
| Market | Sales | Profit |
|:---:|:---:|:---:|
| Europe | €1.41M | €176K |
| Asia Pacific | €1.40M | €157K |
| LATAM | €729K | €82K |
| USCA | €461K | €50K |
| Africa | €280K | €37K |
---
# <div align="center">Interactive Features</div>
The Power BI solution includes:
- Dynamic filters
- Drill-down navigation
- Cross-filtering
- Market selection
- Date range filtering
- Segment analysis
- Shipment filtering
---
# <div align="center">Power BI Features</div>
## Implemented Functionalities
| Feature | Description |
|:---:|:---:|
| DAX Measures | KPI calculations |
| Interactive Slicers | Dynamic filtering |
| Custom Visualizations | Advanced charts |
| Star Schema | Optimized analytics |
| Data Relationships | Fact-dimension modeling |
| Drillthrough | Interactive navigation |
---
# <div align="center">Workflow</div>
```txt ```txt
Excel Data Sources Operational Data
↓ ↓
Data Cleaning & Transformation Data Cleaning
↓ ↓
Star Schema Modeling Transformation
↓ ↓
Fact & Dimension Relationships Dimension Creation
↓ ↓
DAX Measure Creation Fact Table Population
↓ ↓
Dashboard Development Relationship Modeling
↓ ↓
Interactive Analytics Power BI Integration
↓ ↓
Business Insights Business Analytics
``` ```
--- ---
# <div align="center">Business Questions Answered</div> # <div align="center">Analytical Capabilities</div>
The dashboards answer questions such as: ## Sales Analytics
- Which products generate the most sales? - Revenue analysis
- Which regions generate the highest profit? - Profitability tracking
- Which shipping methods are most used? - Product performance
- What are the most common return reasons? - Customer segmentation
- Which customers spend the most?
- What is the impact of discounts on profitability? ---
- How are sales distributed across customer segments?
## Logistics Analytics
- Shipment mode analysis
- Delivery analysis
- Shipping cost monitoring
---
## Return Analytics
- Product return tracking
- Return reason analysis
- Return quantity monitoring
---
## Geographic Analytics
- Regional profit analysis
- Country-level analysis
- Market segmentation
---
# <div align="center">Advantages of the Model</div>
| Advantage | Description |
|:---:|:---:|
| Performance | Optimized analytical queries |
| Scalability | Easy integration of new dimensions |
| Simplicity | Easy BI dashboard integration |
| Flexibility | Supports multiple business analyses |
| Maintainability | Clear separation of dimensions and facts |
--- ---
@@ -310,53 +281,30 @@ The dashboards answer questions such as:
| Requirement | Description | | Requirement | Description |
|:---:|:---:| |:---:|:---:|
| Power BI Desktop | Required to open `.pbix` | | Power BI Desktop | Dashboard development |
| Excel | Source data management | | Excel | Data source handling |
| SQL Knowledge | Optional for extensions |
| Windows OS | Recommended environment | | Windows OS | Recommended environment |
--- ---
# <div align="center">How to Use</div>
1. Open `PBI.pbix` using Power BI Desktop.
2. Refresh the data model if needed.
3. Navigate through the dashboards.
4. Use slicers and filters interactively.
5. Analyze KPIs and visual insights.
---
# <div align="center">Future Improvements</div> # <div align="center">Future Improvements</div>
- Real-time logistics integration - SQL Server migration
- SQL Server connectivity - ETL pipeline automation
- Incremental refresh - Real-time analytics
- Mobile optimization - Incremental data refresh
- AI-based forecasting - Cloud data warehouse integration
- Shipment prediction models - Predictive analytics
- Customer churn analysis - Machine learning integration
- Power BI Service deployment
---
# <div align="center">Security Notes</div>
This project may contain operational and customer analytical data.
Users should:
- Protect sensitive datasets
- Validate analytical outputs
- Control Power BI sharing permissions
- Secure exported reports
--- ---
# <div align="center">Disclaimer</div> # <div align="center">Disclaimer</div>
This project was developed for Business Intelligence and analytical purposes. This project was developed for academic and Business Intelligence purposes.
Users remain responsible for validating all operational decisions based on the generated dashboards and KPIs. Users remain responsible for validating data integrity and analytical outputs before operational usage.
--- ---
@@ -364,4 +312,4 @@ Users remain responsible for validating all operational decisions based on the g
José Garcia José Garcia
Data Scientist Data Scientist
Business Intelligence & Process Digitalization Business Intelligence & Data Warehouse Engineering