Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/sanjinkurelic/antennadistribution

Antenna Distribution is a project that shows how to run business analysis tools on a set of a data.
https://github.com/sanjinkurelic/antennadistribution

business-analytics business-intelligence dwh etl etl-automation etl-framework mssql olap olap-cube powerbi ssas ssis

Last synced: 8 days ago
JSON representation

Antenna Distribution is a project that shows how to run business analysis tools on a set of a data.

Awesome Lists containing this project

README

        

# Antenna Distribution

Antenna Distribution is a project that shows how to run business analysis tools on a set of a data. Data is consistent of several information:

- positions of 5G antennas on island of Krk, Croatia (location data is scrambled)
- information about each antenna (capacity, radius, traffic etc.)
- list of every region on island, and how many antennas does it cover
- list of connected customers and their static locations (measuring home-box internet)

Data is stored in CSV files in data directory [here](https://github.com/SanjinKurelic/AntennaDistribution/tree/main/data).

Data will firstly be loaded to the relation database, called *AntennaDistribution_STAGE*, using the ETL generator. Extract, transform, load (ETL) is the general procedure of copying data from one or more sources into a destination system which represents the data differently from the source or in a different context than the source. After that, ETL will transform data to dimensions and fact tables to another database called *AntennaDistribution_DWH*. Those tables will be used in OLAP (Online analytical processing) and also as a ground for showing graphical BI reports.

DDL for *STAGE* and *DWH* tables is located in ddl directory [here](https://github.com/SanjinKurelic/AntennaDistribution/tree/main/ddl).

A graphical representation of tables is shown below.

#### ER diagram

![](https://github.com/SanjinKurelic/AntennaDistribution/blob/main/image/AntennaDistribution_ER.png)

#### Relation Schema

![](https://github.com/SanjinKurelic/AntennaDistribution/blob/main/image/AntennaDistribution_RS.png)

## Getting started

### Requirements

This project use MS SQL database to store the data and Visual Studio for transforming the data. Also, graphical diagrams are done in Power Bi application.

- MS SQL with Management studio
- Visual Studio, 2019 or newer, with Integration services and Analysis service for multidimensional and data mining
- Power BI

### Running

Before any process is started, DDL scripts for *STAGE* and *DWH* (mentioned above) should be created. DDL-s does not contain database creation, so this step should be done manually.

#### ETL

*AntennaDistributionETL* directory contain Visual Studio solution which defines all ETL tasks. After opening the solution, connection sources should be updated. Pay attention to use the same encoding as I did:

Run Stage, Dimensions and Fact tasks in mentioned order.

Some stages are graphically shown below:

#### OLAP

After ETL is done with filling required data to *DWH* database, OLAP analysis can be done. Directory *AntennaDistributionOLAP* contain Visual Studio solution which defines all dimension and fact tables and their relationships.

Star schema for given tables is show on the picture below:

![](https://github.com/SanjinKurelic/AntennaDistribution/blob/main/image/AntennaDistribution_DWH.png)

By using these definitions, various reports could be easily done, ex:

**Analysis 1:** For given date-time period, show capacity and max traffic of antenna in some region:

![](https://github.com/SanjinKurelic/AntennaDistribution/blob/main/image/antennaCoverage.png)

**Analysis 2:** For given customer in region connected to some antenna show speed and traffic in some period of time:

![](https://github.com/SanjinKurelic/AntennaDistribution/blob/main/image/antennaCoverage.png)

#### Power BI

File *AntennaDistributionReports.pbix* given in this repository can be opened in Power BI application. Power BI application can be used for presenting analysis to management by using the diagrams and other graphical elements. Some examples are shown below:

**Analysis 3:** Show various customer information:

![](https://github.com/SanjinKurelic/AntennaDistribution/blob/main/image/powerBICustomerDetails.png)

**Analysis 4:** Show various antenna information:

![](https://github.com/SanjinKurelic/AntennaDistribution/blob/main/image/powerBIAntennaDetails.png)

## License

See the LICENSE file. For every question, write to [email protected]