Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview - Dimension tables surrounding fact tables

A representation (slightly out of date) of how DW 1.0 solves the gnarly aspect of reporting on transaction totals and arrears aging information at MFI/Branch/Loan Officer/Center levels on current and historical date ranges is ...

...

Table Name

Description

ETL Approach

 

dw_mfi_configuration

currently contains:
loan_lateness_days - no. of days before a loan is considered in bad standing (is used in arrears reporting)
savings_dormancy_days - no. of days before a savings active is dormant before it is considered inactive (not currently used in mifos or DW)

Loaded from prd_type mifos table

 

dw_loan_schedules

loan schedule details (was a 'fact' table but decided against that as found it very hard to keep schedule entries tracked to the dim_loan entries.

Transactions simply extracted from mifos equivalent.  Only links to the loan_account_id not a specific entry in dim_loan. Need to be updated if the schedule dates change (if disbursed on a date different to the expected date).

 

dw_account_charge_type

Indicates the type of fee...charge/fee/penalty - use on the fee transaction tables
Values are
1 Periodic and Upfront Fees (get fee frequency info from dim_fee)
2. Misc. Fees/Charges
3. Misc. Penalties

preloaded with DW.

 

Info

Fees haven't been incorporated into this DW yet because we haven't got to them