Business Intelligence Application


Business Intelligence Integrated Framework

This is a proof of concept for an OFBiz integrated framework for business intelligence analysis. The idea is to define a set entities for business intelligence analysis in a separate (olap) database, accessible, in the same way as the main one (OLTP), via the delegator. The new olap database, will contain all the entities necessary to datawarehouse analysis: dimensions, facts and star schemas (that are view-entities). The dimensions, facts and star schemas are defined according to best practices for datawarehouses and best practices for OFBiz: they are defined as standard entities using the xml entity defs; clear and consistent naming conventions are used and they are documented by meta data descriptions (in the entity def). The best practices for datawarehouses are mainly taken from the great book "The Data Warehouse Toolkit - Second Edition" by Ralph Kimball. The data for dimensions and facts are maintained and kept up to date using standard OFBiz services (most of them written in minilang to facilitate customizations) and eca rules (easily customizable).

Current Status

The main low level services to post data to the datawarehouse, to map the operational keys with the datawarehouse ones, and to manage history of data changes are already implemented; they will be improved as the datawarehouse will grow (e.g. performance enhancements). The following dimensions (and data services) are defined: CurrencyDimension, DateDimension, ProductDimension; we will have to complete them and design the other ones (the total number of dimension will be probably around 20). Just one fact and one star schema are defined: SalesInvoiceItemFact and SalesInvoiceItemStarSchema.

Quick Start Guide

You can quickly initialize the datawarehouse by clicking on the link below: The CurrencyDimension, DateDimension, ProductDimension and the SalesInvoiceItemFact entities will be automatically populated. Then you can run the analysis using the report builder menu. The report builder is a very simple tool that allows you to run the analysis on all the star schemas defined in the system. However, right now there is just one star schema defined: SalesInvoiceItemStarSchema that is a simple "profit and loss" (P&L) analysis. Just select using the checkboxes the fields (columns) you want to see in the report and a simple report will be shown: according to the columns selected the data will be aggregated (drill up/down); all the descriptions you see in the report screens are pulled from the entity definitions.

Quick Init DataWarehouse (From Date ۲۰۲۳-۰۹-۰۱ ۰۰:۰۰:۰۰.۰۰۰ Through Date ۲۰۳۳-۰۹-۰۱ ۰۰:۰۰:۰۰.۰۰۰) The initialization is needed only once, because the product data and sales invoice data are kept updated by ecas: if you create/update a product or create a new invoice, the new information will be immediately included in the datawarehouse analysis.