KPI report has wrong Avg Outstanding Balance numbers

Description

An error in the SQL code results in the number of customers with outstanding balances being wrong (it is getting the number of customers with 0 or outstanding balances) - hence the average outstanding balance numbers are far too low.

Environment

None

Status

Assignee

Tim Anderson

Reporter

Tim Gething

Labels

None

Components

Fix versions

Affects versions

1.8

Priority

Trivial