| Equation Builder |
Contents:
1. Overview
2. Using Equation Builder
xx2.1 Measurements
(including Editing Measurement Values)
xx2.2 Parameters
xx2.3 Equations
3. Example Equation Setup
4. Attaching Equations to Performance Indicators
5. Pre-populated Equations
6. Using Performance Indicators in an Equation
7. Equation measurement workflow
8. Equation FAQ
Many performance indicators are defined by equations. Almost all of the BVPI's defined by the Department for Communities and Local Government (DCLG), for example, are defined by equations.
These equations can be quite simple, for example, "% of Council Tax Collected":
= |
Total amount of Council tax collected (numerator) | |||
| --------------------- | x |
100 |
||
| Total amount of Council tax due (denominator) |
Or more complex such as "Top 5% Earners: Women":
| = | (No. PT women employees earning top 5% salary/2) | + |
(No. FT women employees earning top 5% salary) | ||||
| ---------------------------- | -------------- | x |
100 |
||||
0.05 |
x |
((No. PT employess/2) | + | (No. FT employees)) |
Regardless of the equation's complexity, the Equation builder breaks an equation into its constituent measurements (in the first example above these measurements would be 'Total amount of Council tax collected' and the 'Total amount of Council tax due'). These 'measurements' are assigned to specific users. Note that measurements can be used multiple times for different equations.
Parameters, such as 'percent' or 'per 1000' can be added into the Equation builder module (these two come pre-populated with the Escendency system).
The equation itself is then constructed using operators ("+", "-", "x", {sum}, etc) together with 'measurements' and 'parameters' (the use, or not, of the latter depends on the equation). A 'constant', such as '2' in the second example above, can be added using the 'constant' operator.'
A completed equation can then be attached to a specific PI (provided that PI has been assigned as an equation type - see Performance Indicator help for setting up PIs). The PI can then be attached to a relevant target (the user given 'measurement' status for that target will not actually receive any measurement tasks unless they are assigned to input one of the equation measurements).
Escendency identifies and pre-populates an organisation's system with all the statutory performance indicators (PIs) the organisation might be required to measure and in turn creates equations for those PI's that are defined by equations. These can be used, edited, or not, by the organisation (see Pre-populated Equations).
An organisation can also create their own equations and link them to their own PIs. Equations can also be composed of PI's (see Using Performance Indicators to Create an Equation).
An organisation might decide that it is easier for them to perform a simple calculation themselves in which case they would not need to use the relevant pre-populated equation and could simply set up the (pre-populated) PI as a simple indicator (see Performance Indicator help for information on setting up PIs).
To access the equation builder module, select ' Equation Builder from the left hand menu bar. This will open the Equation Builder options page, which lists three options: Measurements, Parameters and Equations (figure 1).

Figure 1: Equation component selection page
2.1 Measurements: These form the components of equations that are entered on a regular basis. When the measurement option is selected, a list page showing all currently defined measurements is shown (figure. 2), this behaves in the same manner as other list pages in the system. The Escendency system comes pre-loaded with measurements used for statutory performance indicators relevant to the organisation.
Figure 2: Example of a pre-loaded list of measurements
Selecting an existing measurement or clicking ' add will open the measurement definition-editing page (figure 3.1).

Figure 3.1: Measurement Edit window showing example definition
A measurement definition consists of a title and description, along with a start-date
from which the measurement will be collected in the system. An interval for
measurement is also specified along with the post-holder who will be responsible
for entry of the measurement data.
Once a measurement is created, the responsible post holder will be prompted with a measurement task (the task header title will be 'Measurement' as opposed to 'PI Measurement' for a performance indicator measurement) to enter the relevant measurement value. Measurements do not have a target value or end date; they are merely recordings of an actual statistic. As such they remain active until deleted from the system.
To edit measurement values, return to the Measurement list (figure 2) and click on Edit icon of the measurement whose values need to be changed. This will bring up the Measurement Edit window again but this will now have an additional button 'Edit Measurement Values' (figure 3.2).

Figure 3.2: Edit Measurement window showing Edit Measurement option.
Clicking on the Edit Measurement button will bring up a list of current measurements and the option to put in new values (figure 3.3).

Figure 3.3: Example of an Edit Measurement Values window.
Note: Updating measurement values will not necessarily update a report that is based on those measurements if the outturns are already calculated. When new measurements are due and entered then the equation calculator will take into account any changes (and then only if the calculation uses a {sum} of the measurements). In most cases, it is probably best to additionally go into Add/View Target > Edit Measurements to change the calculated outturn directly. As in all reports, to update performance status in real time the overnight job would need to be run from Systems Tools > Recalculate Reports.xAt time of writing there is a development request to have equations recalculate any changed measurement values (JUDI 559).
2.2 Parameters: Some items of data that are relatively static are required for use in equations (for example percent, or per thousand, also a snapshot statistic such as population or household count that won't be reassessed during the target's duration, or a value with a currently known limit, for example number of possible web enabled transactions). Parameters allow such items to be defined once with a value that can then be used in several equations without needing to be redefined in every equation.
To define and edit parameters, select the ' parameters option from the equation builder options. A list of current parameters will be displayed (figure 4). Escendency systems come pre-loaded with parameters relevant to a specific organisation's statutory performance indicators.

Figure 4: Example of a pre-loaded list of parameters
Selecting an existing parameter or clicking ' add will open the parameter definition-editing page (figure 5).

Figure 5: Parameter edit page
A parameter definition consists of a title and an optional reference (which must be unique if supplied) together with the actual value of the parameter and an optional unit of measure. Parameter values remain static until modified by a system administrator.
2.3 Equations: Once
measurements and parameters have been defined, they can be used in multiple
equations. To define and edit equations, select 'equations' from the equation
builder options. A list of current equations will be displayed (figure 6). Escendency
systems come pre-loaded with equations for a specific organisation's statutory
performance indicators.
Figure 6: Example of a pre-loaded list of equations
Selecting an existing equation or clicking 'add' will open the equation definition-editing page (figure 7).

Figure 7: Equation definition page
An equation definition consists of a title and optional reference, along with the equation formula.
A formula is built using the measurement, parameter and constant fields.
To add a measurement to an equation, select the relevant measurement and click the ' select button alongside (or beneath) the measurement. The same process is used for adding parameters.
Constant values can be added to equations by typing the required number into the constant field and clicking the relevant select button.
Clicking on the mathematical operators (+ - / x) or the sum or bracket buttons
will add them to the equation. Brackets are used to give precedence of calculation
to parts of an equation - items within brackets are evaluated first.
The equation field shows a description of the equation with the elements of the equation displayed as they are selected (figure 8).
At the bottom of the page are save and cancel buttons, along with a ' clear button. This button clears the currently defined equation, allowing a new definition to be entered.
Caution! Careful use of operators is required. For example, this equation is incorrect in three locations:
{sum}(Number of full time equivalent fraud investigators)/(Average number of HB/CTB claimants)Per 1000
The {sum} operator is being told to sum a "(".
The "Per 1000" parameter has no operator (e.g. "x")
If the "Per 1000" parameter did have the correct operator, the entire clause would be multiplied by 1000 instead of divided by 1000.
The correct syntax would be:
({sum}Number of full time equivalent fraud investigators in post across quarters 1 to 4)/(Average number of HB/CTB claimantsxPer 1000)
4. Example Equation Setup: Consider an equation to measure the average percentage of household waste recycled. The component parts of this equation are:
o Household waste (tonnes) recycled a year (a measurement) |
o Total household waste (tonnes) collected a year (a measurement) |
1. Create the two measurements identified above; it would be sensible (though not essential) for them to have the same measurement interval.
2. Click ' add on the equation list page to create a new equation definition, enter the desired title and reference.
The correct equation for the average amount of waste recycled is:
The sum of all waste recycled divided by the sum total of all waste collected, all multiplied by 100.
3. To create this in the system, first click on the "(" button (keeping the equation in parentheses is good practice and in this instance stops the denominator being multiplied by 100)
4. Click on the ' sum button – this will cause the system to use the sum total of the next item defined.
5. Select the quantity of waste recycled measurement and click select.
6. Next click the ' / button.
7. Now click the ' sum button again, then select the total waste collected measurement and click select again.
8. Click the ")" button to add the final parentheses.
9. Finally click, the ' x button then select percent from the parameter list to multiply the fraction by 100 to obtain percent.
The equation description should look like this (figure 8):
( {sum}waste recycled / {sum}waste collected) x percent
Figure 8: Example of an equation. In this case, BV 82a Percent of household waste recycled
10. Click save to save the equation and return to the equation list.
5. Attaching an Equation to a Performance Indicator
To link an equation to a performance indicator, select the relevant performance indicator from the PI list page. Ensure 'Equation' is selected on the ' Indicator Measurement Type radio button (this can be either ' simple or ' equation . Simple indicators are those where the measurer enters the actual PI value. Equation indicators are those where the PI is calculated from an equation).
Select the relevant equation from the equation drop down. Associated targets will not appear for measurement, instead they will have their values calculated using the relevant equation.
When defining equation based indicators, the measurement type should be set to ' numeric (floating point) and the measurement interval should be no more frequent than the least frequent measurement in the associated equation.
Escendency identifies the statutory performance indicators that relate to a specific organisation and pre-populates them into that organisation's Escendency system. Measurements and equations are also pre-populated for those PIs that are defined by a formula. Such PI's are prefixed with lower case 'e' (e.g. eBV199a) whereas those not associated with a formula are prefixed with a lower case 's' for simple (e.g. sBV002a).
If an organisation chooses not to use any or all of those pre-populated PI's that are linked to an equation they can edit the relevant PI (see performance indicator help on creating and editing PIs) and check the 'Indicator measurement type' field as 'Simple' and / or select a blank (or 'none') from the 'Equation' dropdown list.
7. Using Performance Indicators to Create an Equation
It is possible to create an equation that contains one or more PIs (indirectly). This can be particularly useful if an organisation has created local indicators that, when combined, satisfy performance targets for statutory PIs. Some statutory PIs may also use other PI's in their formulas, for example for Local Councils both BV216b and BV219b use other PIs in their calculation (BV216a and BV219a respectively).
By linking a PI that is to be used in an equation to an equation that consists of just one measurement it is possible to include any number of PIs in an equation.
For example, the statutory local Government PI BV216b, "Number of sites for which sufficient detailed information is available to decide whether remediation of the land is necessary, as a percentage of all ' sites of potential concern' is defined by:
BV216b |
= |
Number of sites for which sufficient detailed (land contamination) information is available | ||
| --------------------- | x |
100 |
||
| BV216a: Number of land contamination sites of potential concern |
From the formula it is clear that the denominator, "Number of land contamination sites of potential concern" is actually BV216a.
By creating a 'measure' in the Equation Builder entitled "BV216a: Number of land contamination sites of potential concern" and then creating an equation that consists of nothing but that measurement it is possible to use a measurement as a simple PI.
A new PI, named BV216a, can be created and then, instead of defaulting its type as simple, be changed to an equation PI and linked to the equation composed of the BV216a measurement.
The BV219b equation can then be set up in the normal way with measurement BV216a included.
Note: When pre-populating such measurements that are, in actuality, performance indicators, Escendency uses the PI's reference as a prefix (e.g. "BV216a: Number of land contamination sites of potential concern" or "BV219a: Total number of conservation areas in the local authority area"). This helps identify these measurements in the measurement list when constructing equations that use them.
7. Equation measurement workflow
The steps for using an equation in the Escendency system are:
1. Identify a performance target that is defined by an equation.
2. Determine if the appropriate equation and/or components of the equation are pre-populated in the system.
3. Create the measurements and parameters that define the equation (if needed). Ensure responsibility for entering the measurements is correct and that all measurements share the same measurement interval.
4. Create the equation (if needed).
5. Locate the relevant peformance indicator to link to this equation (create it if it doesn't exist). Ensure the performance indicator's measurement interval matches that of the equation measurements.
6. Tag the relevant performance indicator as an equation type and attach it to the appropriate equation (see performance indicator help on setting up performance indicators).
7. Create a performance target in the usual way (see performance target help on setting up targets in the strategy map).
8. Give measurement responsibility of the target to the same post responsible for measuring one of the equation measurements. In practice, whoever is assigned target measurement tasks in the performance target set up won't actually receive them as they are assigned to the users responsible for the equation measurements.
Those users given the equation measurement tasks will receive a 'Measurement' task (figure 9) in their task tab that will lead to a Measurement entry page (figure 10). This page is distinct from the performance indicator Measurement Entry page in that it lacks additional tabs associated with data import, measurement history and graphs (the former two tabs may be added to equation measurment entry in later releases).

Figure 9: Equation Measurement Task

Figure 10: Equation Measurement Entry page
10. Equation Builder Frequently Asked Questions (FAQs)
1. Will an equation run without being attached to an indicator?
Answer: No, nor will it run if the indicator it is attached to is not attached to an active target.
2. If I assign measurement tasks but those measurements are not part of an equation will the user assigned the task still be alerted?
Answer: Yes, this is because measurements can be used in their own right and do not have to be part of an equation.
3. What actually comprises a performance target based on an equation?
Answer: A performance target is created and attached to an indicator as usual and that indicator has to be attached to an equation (in performance indicator edit window). The equation the indicator is attached to is comprised of one or more measurements and each measurement is assigned to a specific post for measurement entry.
4. If I set up an equation based target but one of the measurements in the equation has values entered before the target started will they show?
Answer: No, the equation will only use the measurement values relevant to the time the target is running.
5. Why use 'sum' in equations?
Answer: By default, the measurements in the equations preloaded by Escendency are summed. In practice, this means that each time the equation is run it will calculate a result based on the sum total of the equation's measurement values from the time the target started. This may, or may not be desirable and depends on how you are measuring your data (incremental or cumulative).
If 'sum' is omitted from an equation then each time the equation calculates the result will be a snapshot based on the latest available measurement/s.
6. The results produced by the equation appear to be wrong compared to the values we know we entered. Why is this?
Answer: There are three likely causes:
a) The equation is actually correct but is calculating results 'to date', i.e. it is summing all the data and calculating a result that takes into account the values measured up to the time measured and not the actual value for a discrete time period. Examples would be percentage of planning applications processed within 8 weeks. The value reported for the 3rd quarter is the percentage of all planning applications processed within 8 weeks for 3/4 of the year and not the percentage processed in the 3rd quarter.
b) The equation is incorrect. Check the syntax of the equation. Common mistakes are missing brackets in the equation, e.g. 'M1-M2/M1x100' instead of (M1+M2)/M1x100
c) The performance indicator is attached to the wrong equation. Check that the equation drop down in the performance indicator edit window is correctly linked.