Learning Objectives

By the end of this chapter, you will be able to:

  • Define BI and state what it answers that OLTP cannot.
  • Group BI flow into sources, pipeline, store, logic, and surface.
  • Group KPIs by finance, branch, and member with one threshold each.
  • Name BI tools by layer for a cooperative in Nepal.
  • Price a BI loop in NPR dated BS 2081.

One number that ties the shop to the loan

On 2081-08-12 Siddhartha Mart and Saving Cooperative opens one screen. Cooking oil margin in Pokhara falls, overdue in Sunwal is 4.6 percent, net VAT for Shrawan is Rs 17,150. Three sources gave that screen: POS, loan, and finance. BI is the collection, integration, analysis, and presentation that turns rows into a decision. It answers what happened, where, and why for past and present.

flowchart LR
  S1[POS and mobile] --> ETL[ETL]
  S2[Loan and account] --> ETL
  ETL --> DW[(Warehouse)]
  DW --> OLAP[OLAP and SQL]
  OLAP --> DASH[Dashboard with thresholds]

If any hop fails, the dashboard shows a pretty lie.

Framework 1: The BI pipeline, grouped

A. Sources, truth at entry

OLTP at counter: POS, loan, accounting, CRM, web. Quality set here. Duplicate MemberID or two codes for Butwal poison every chart tomorrow.

B. Pipeline, ETL

Extract from every source, transform by fixing codes, removing duplicates, applying 13 percent VAT logic, then load nightly with lineage so auditor traces branch VAT to bill lines.

C. Store, warehouse

Subject by member and product, integrated, time variant so 2081 compares to 2080, non volatile so last quarter does not shift.

D. Logic, OLAP and SQL

Slice by branch, dice by product and month, drill from quarter to week to bill.

E. Surface, dashboard

Charts that display KPIs with colour. Alerts fire when metric crosses threshold.

Hop Failure if skipped
Source Two phones for one member splits every KPI
ETL Butwal splits into two branches
Warehouse No history to plan 2082 stock
OLAP No drill to competitor discount
Dashboard Manager never sees cross threshold

Framework 2: KPIs and dashboards, grouped for a cooperative

A. Finance, money must tie to IRD

KPI Definition Threshold
Net VAT payable Output minus input Variance over Rs 5,000 before filing
Net interest margin Earned minus paid divided by assets Below 3.5 percent two months
Cash ratio Till plus bank divided by demand deposits Below 12 percent

B. Branch, where work happens

KPI Definition Threshold
Sales per branch Gross sales per branch per day Drop over 18 percent versus prior week
Overdue ratio Overdue divided by gross loans Above 4 percent, visit within 48 hours
Stock out Lines out of stock divided by lines ordered Above 5 percent, review reorder

C. Member, retention and risk

KPI Definition Threshold
Average bill value Revenue divided by bills Fall over Rs 120 for two weeks
Churn predicted Model score over 0.60 Outreach within 72 hours
Collection lag Days between due and receipt Average over 6 days

Tool mapping:

  • Excel plus Pivot: single branch test.
  • Looker Studio: free with Google.
  • Power BI: default in Nepal for MySQL and SQL Server, Rs 1,200 per user per month.
  • Tableau: heavier, for a bank with large warehouse.
Reporting Source count Time User Action
Operational One OLTP Now Teller Post and serve queue
BI Many through warehouse History to trend Manager Reallocate stock, visit branch

Nepal worked example: one dashboard on BS 2081-08-12 (NPR)

Pokhara cooking oil down 22 percent week on week, Butwal up 9 percent, overdue Sunwal 4.6 percent. Warehouse tells why: competitor discount Rs 35 per litre for five days in Pokhara, two micro borrowers delayed after paddy cost rise. Action costs: transfer 600 litres holding cost Rs 8,200, field visit and reschedule Rs 6,400, targeted offer Rs 18,000 = Rs 32,600. Benefit in fourteen days is holding Rs 4,80,000 margin and keeping Rs 9,00,000 loans from provision.

Finance side same date: taxable Rs 2,40,000, output = 2,40,000 x 0.13 = Rs 31,200, input Rs 14,050, net Rs 17,150. Branch split Butwal Rs 18,200 and Sunwal Rs 13,000 tied to same ETL. Last quarter sheet understated Rs 2,340 because Sunwal file late. Lineage blocks repeat.

Cost: warehouse VM Rs 2,400 a month, storage Rs 1,800, Power BI for four managers Rs 4,800, ETL build one time Rs 65,000, plus DBA Rs 5,000 a month already budgeted.

Self-check

Try this: from source to VAT (calculable)

Taxable Butwal Rs 1,40,000 and Sunwal Rs 1,00,000, input Rs 14,050 on 2081-08-12.

  1. Compute total taxable, output at 13 percent, net payable.
  2. Compute branch outputs and prove sum equals total.
  3. If late Sunwal file Rs 18,000 omitted, compute corrected total, corrected output, corrected net, understated. State which hop failed.
  4. Overdue 4.6 percent threshold 4 percent. Which KPI group and action within 48 hours?
Answer sketch 1. Total 2,40,000, output 31,200, net 17,150. 2. Butwal 18,200, Sunwal 13,000, sum 31,200. 3. Corrected total 2,58,000, output 33,540, net 19,490, understated 2,340. Failure is ETL extract or transform if file never entered. 4. Branch KPI. Above threshold, branch visit within 48 hours.

Summary

  • BI is pipeline from source to decision with ownership at each hop.
  • Warehouse holds history, OLAP slices, KPIs threshold, dashboards surface.

Key Takeaways

  • One pipeline, many sources, one history.
  • Thresholds turn numbers into work.
  • Lineage turns chart into evidence for IRD and NRB.

Exercises

Short answer

  1. Define BI and distinguish from operational reporting.
  2. List five BI hops and one failure each.
  3. Name one KPI per finance, branch, member and threshold.

Long answer

  1. Describe pipeline from source to dashboard with 2081-08-12. Show net Rs 17,150 from Rs 2,40,000 and branch split.
  2. Group KPIs into finance, branch, member. Show overdue 4.6 percent and Rs 32,600 actions.