Analyzing Kimia Farma Sales Trend with SQL and Interactive Dashboard


As a Big Data Analyst Intern who already understands the sales data for each Brand at Kimia Farma, I was asked to make a dashboard of the sales data in one year from the raw data that has been provided. The data needs to be applied to data processing from start to finish. By applying this process, I hope I can understand the work of a Big Data Analyst at Kimia Farma.

There are three tables provided, including:

  • penjualan (sales)
  • pelanggan (customer)
  • barang (goods/medicines)

First, I created the three tables with DDL by querying DDL_penjualan, DDL_pelanggan, and DDL_barang that I uploaded to this repository. Next for the EER diagram I made as shown below.

EER Diagram

Furthermore, so that we can find deeper insights from this sales data, I merged and aggregated the data. First, I merged all tables for each sale and create primary key for each sale. Second, I aggregated the number of items and the total per invoice transaction. Then third, I aggregated the total purchases of all transactions from each customer.

Then I visualize the data through the Google Data Studio tool, which can be seen in the dashboard image below.

image

The dashboard is publicy accessed at: https://datastudio.google.com/reporting/c662ce06-e4cc-4757-8adf-68cdce9b6e08