Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.79 KB

File metadata and controls

36 lines (21 loc) · 1.79 KB

IBM DB2 & Cognos Analytics Waste Management DW & BI Project

Technologies: SQL (IBM Db2), BI (IBM Cognos Analytics w/ Watson)

Normalized waste management dataset and loaded into IBM DB2 database. Created a data module in IBM Cognos Analytics to connect to data warehouse and built simple dashboard highlighting key data and metrics.

Project Files:

  • initial-waste-management-data.csv - Sample of starting data set.
  • DimDate.csv - date dimension CSV data.
  • DimStation.csv - station dimension CSV data.
  • DimTruck.csv - truck dimension CSV data.
  • FactTrips.csv - fact CSV data surrounding waste collected in tons and related primary/foreign key IDs.
  • dim-and-facts-table-create.sql - SQL to create the dimension & fact tables.
  • max_waste_stats-mqt.sql - SQL to create MQT in Db2 for max waste stats by city, stationid, and truck type.
  • debug-db2-reason-code-1.sql - SQL statements used to diagnose issue with error "reason code 1" from trying to query certain tables.

Sample of initial data:

initial-data-sample-image

Loading the CSVs into IBM DB2:

Loading the CSVs in IBM DB2

Load CSVs Complete IBM DB2

Creating connection between DB2 data warehouse and Cognos Analytics:

IBM Cognos Data Module DB2 Database Connection

Dashboarding: IBM Cognos Dashboard