An open API service indexing awesome lists of open source software.

https://github.com/shawonsimon/superstore-sales-data-engineering

A comprehensive data engineering solution that transforms sales data from PostgreSQL into a star schema, moves it to Azure Synapse Analytics via Blob Storage, and creates Power BI dashboards for business insights.
https://github.com/shawonsimon/superstore-sales-data-engineering

apache-airflow azure-synapse-analytics blob-storage data-engineering postgresql powerbi wsl-ubuntu

Last synced: 3 months ago
JSON representation

A comprehensive data engineering solution that transforms sales data from PostgreSQL into a star schema, moves it to Azure Synapse Analytics via Blob Storage, and creates Power BI dashboards for business insights.

Awesome Lists containing this project

README

          

# SuperStore-Sales-Analysis

## Project Overview
This data engineering project implements an end-to-end data pipeline for sales analytics, transforming raw transactional data from a PostgreSQL OLTP database into actionable business insights using a modern cloud-based data warehouse and visualization solution.

## Dataset
The original dataset was obtained from the [GTS.AI](https://gts.ai/dataset-download/superstore-sales-dataset/) website. It contains 9993 sales transactions that occurred from 2019 to 2022. This dataset encompasses a wide range of information, including order specifics, geographical data, and product-related data. There are no missing values or any irrelevant data types and values

## Technology Stack:
- Database: PostgreSQL
- ETL Orchestration: Apache Airflow
- Cloud Storage: Azure Blob Storage
- Data Warehouse: Azure Synapse Analytics
- BI Tool: Power BI
- Local Development Environment: Windows Subsystem for Linux (WSL)

## Project Architecture
![Project Architecture](https://github.com/ShawonSimon/SuperStore-Sales-Data-Engineering/blob/main/screenshots/ProjectArchitecture.jpg?raw=true)

1. Source Database: PostgreSQL stores transactional sales data.
2. ETL Process:
- Extract: Data fetched from PostgreSQL.
- Transform: Data cleaning, deduplication, Standardizing data formats and creation of fact/dimension tables (star schema).
- Load: Processed data uploaded to Azure Blob Storage.
3. Data Warehousing:
- Data moved to Azure Synapse Analytics.
- Dedicated SQL pool (shawonDSQL) tables populated with cleaned data.
- Analytical queries run for insights.
4. Visualization: Power BI dashboards for presenting KPIs and trends.
5. Orchestration: Airflow DAG automates the ETL and data movement processes.

## Screenshots
![Airflow DAG runs](https://github.com/ShawonSimon/SuperStore-Sales-Data-Engineering/blob/main/screenshots/AirflowDAGrun.png?raw=true)
![](https://github.com/ShawonSimon/SuperStore-Sales-Data-Engineering/blob/main/screenshots/salesERD.png?raw=true)
![Data extracted successfully](https://github.com/ShawonSimon/SuperStore-Sales-Data-Engineering/blob/main/screenshots/ExtractTask.png?raw=true)
![files in WSL file system](https://github.com/ShawonSimon/SuperStore-Sales-Data-Engineering/blob/main/screenshots/FilesAirflow.png?raw=true)
![synapse workspace role assignment for blob storage access](https://github.com/ShawonSimon/SuperStore-Sales-Data-Engineering/blob/main/screenshots/RoleAssignment.png?raw=true)
![Data analysis](https://github.com/ShawonSimon/SuperStore-Sales-Data-Engineering/blob/main/screenshots/DataAnalysis.png?raw=true)
![](https://github.com/ShawonSimon/SuperStore-Sales-Data-Engineering/blob/main/screenshots/Dashboard2.png?raw=true)
![](https://github.com/ShawonSimon/SuperStore-Sales-Data-Engineering/blob/main/screenshots/Dashboard.png?raw=true)