How Performance Measure Calculation Works in iDempiere
The Performance Measure Calculation window in iDempiere defines how specific performance indicators are calculated using data stored in the system. It is a core part of the Performance Measurement framework, which enables organizations to create key performance indicators (KPIs) and monitor business outcomes such as sales growth, customer counts, or operational metrics.
This window does not display results ; instead, it defines the SQL logic that retrieves the data used in performance measures and goals.
Performance Measure Calculation
Performance Measure Calculation specifies a SQL-based rule that tells iDempiere how to compute a performance measure value. Each calculation typically returns a single numeric value. For example, it might calculate total sales for the current month, count of new customers, or average lead time.

Performance Calculation Logic
Users define:
- SQL SELECT clause: which columns and aggregations are involved
- Table source: the table from which the data will be collected
- Optional WHERE clause: to restrict results (e.g., by date, product, organization)
- Date column: which date field anchors the measure over time
- Org / Business Partner / Product columns: which dimensions, if any, to segment the measure by
The SQL must return a single number (for example, sum, count, or average). iDempiere does not use raw table rows ; it interprets only the aggregated numeric outcome.
Calculation Execution Process
Once the calculation logic is set and linked to a Performance Measure and Performance Goal, iDempiere can:
- Evaluate the measure periodically (e.g., daily or at login)
- Compare actual values against targets
- Display performance indicators in dashboards and reports
The calculated result becomes the foundation for data-driven performance tracking.

Calculation Restrictions
Performance Measure Calculation respects date range restrictions from goals, organizational filters, and dimension filters (Business Partner, product, others). These enable the same SQL logic to yield context-specific results (region, department, product line).
In iDempiere, Performance Measure Calculation defines the how behind performance metrics ; it tells the system what number to compute and how to compute it, using SQL expressions and field mappings. It works together with Performance Measures, Performance Goals, and dashboards to drive real-time business performance insights.