Versions Compared

Key

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

...

  1. Once the Calculation Formula popup opens, the user can either create a formula immediately or select “Cancel”. Selecting “Cancel” will save the Project Indicator with no calculation formula, allowing the user to return and set the formula at a later time.

  2. In the Calculation Formula popup, use the “Select Indicator”picklist to select the first source Project Indicator. Only active Project Indicators with the same geographic level, reporting frequency and disaggregation level are shown in the picklist.

  3. Use the Select “Select an OperationOperation”picklist to select the desired operation.

...

Note

Alphabets and other special characters (#, & etc) typed on the keyboard WILL NOT be displayed on the calculation formula popup.

Only numbers and the 3 mathematical operators (+,-,*) are allowed as input.
The “/” operator can only be selected via the picklist since it is a Salesforce keyboard shortcut to search.

  1. An incomplete formula - for example, “Number of lamps +” will not be saved. If the user tries to save an incomplete formula, an error message will appear in response to the formula that is not mathematically possible. We recommend avoiding illogical formulas to ensure accurate results.

  2. After clicking “Save and Exit” popup, a banner will display and confirm the successful creation of the calculated indicator. The new Project Indicator will appear in the “Selected Indicators”table on the Manage Indicators page. If a user clicks on the “X” in the right-hand corner of the popup, or selects “Cancel”, before saving then the popup will close and the indicator will save with no formula entered. 

Info

The header, body text, operators in the picklist and button labels in the “Customize Calculation” popup are controlled by custom labels. Reach out to your System Administrator to know more.

...

Manage Calculated Indicators
Status
colourPurple
titleLightning Web Component

...

  1. This will open the “Customize Calculation” popup where the source indicators or operators can be edited.
    <Confirm with PG Should we put a note about not editing calculation formula after result records have been generated to avoid data inconsistencies?>

  2. Once a Project Indicator is deactivated, it cannot be used in the formula for a calculated Project Indicator. The calculation formula popup will not display the deactivated source Project Indicator when the user clicks into the search bar to create the formula. If the user types a deactivated Project Indicator in the search bar, the message “No matching records found” will display in the dropdown. 

Info

Additionally, if a calculated Project Indicator uses an source indicator in its formula and the source indicator is later deactivated or deleted, then the user would be notified that the formula contains a deactivated or deleted Project Indicator through a toast message.

...

Update Calculated Indicator Results

...

Before starting, please ensure the following:

  • The relevant system permissions must be assigned to the user attempting to run the query.

  • A logical calculation formula has been entered for every Calculated Indicator.

  • Source Indicators are marked active and Results for source Project Indicators have been entered/calculated. Click here to know how to add results.

...

  1. Click on the “Update Results” option in the dropdown located next to the particular Project Indicator in the Selected Indicatorstable. Note that this option will only be shown if the Project Indicator is calculated or aggregated.

  2. A popup will open displaying the date and time of any previously run calculation. It is displayed in the user’s locale. If no calculations have been run previously, then the date and time field will be blank. 

Info

The header, body text, and button labels in the popup are controlled by custom labels. Reach out to your System Administrator to know more.

  1. Click on “Update Result” to calculate the result(s) for the Project Indicator.

  2. While the result(s) are being updated, users cannot edit, delete or deactivate the calculated Project Indicator. The following buttons are greyed out on the Manage Indicator page:

    • The dropdown menu button next to the calculated indicator

    • “Update Results” button

    • It is also recommended to refrain from using the “Update Results” or “Submit Results” button on the Add Results while the results are being updated.

  3. Once the results are updated:

    1. The buttons will display again

    2. The result(s) will be populated for the corresponding calculated Project Indicator on the Add Results page. Refresh the Add Results page to see the most accurate results. The last calculation date field will also be updated.

Note

Ensure that the source project indicators are active before updating results. Click on “Edit” → “Save and Edit Calculation” and if the source project indicators have been deleted or deactivated then users will receive a warning highlighting the deactivated/deleted project indicator.

...

Calculate Results for multiple Calculated Indicators  

...

  1. Click on the Update Resultsbutton to run a batch update for all Calculated and Aggregated indicators, as shown in the screenshot below. 

Info

Note, this This button will not display if there are no aggregated or calculated indicators in the Selected Indicators table.

  1. A popup will display to confirm the batch. Click “Confirm” to run the batch.

    Image Added
Info

The header, body text, and button labels in the popup are controlled by custom labels. Reach out to your System Administrator to know more.

  1. On confirmation, the batch runs for all aggregated and calculated indicators in the project.

  2. While the batch is processing, users cannot edit or delete the calculated and aggregated Project Indicators. The following buttons are greyed out:

    • The dropdown menu buttons next to all Calculated and Aggregated Indicator(s)

    • “Update Results” button on the Manage Indicator page.

  3. The user is notified via email when the batch is complete and results are updated.

  4. When batch is complete, the:

    1. The buttons will display again and

    2. The results for the corresponding calculated and aggregated Project Indicator(s) will be populated on the Add Results page. Refresh the Add Results page to see the most accurate results. The last calculation date field will also be updated.

Info

Time to wait: We recommend that users don’t update results or submit results via the AddResults page while the batch is running. Users can navigate away from the ManageIndicators page until the batch is completed.

Note

Ensure that the source project indicators are active before updating results. If source project indicator(s) are deactivated or deleted, new Result records will not be created or updated.


Calculating Results for Calculated Indicators Dependent on other Calculated Indicator(s)

...

  1. Navigate to the Add Results page and click on the drop-down on the right.

  2. In the dropdown, select the option to “Update Results”.

  3. A confirmation popup will be displayed to confirm that the Calculated and Aggregated Project Indicator results will be updated for the current Geographic Area and Reporting Period.

Info

The header, body text, and button labels in the popup are controlled by custom labels. Reach out to your System Administrator to know more.

  1. While the batch is processing, users will not be able to submit or update the results for these indicators. The “Submit Results” and “Update Results” buttons will be greyed out.

  2. A clock icon will be displayed next to the Calculated and Aggregated Indicators to display that they are being updated.

...

  1. Image Added
Info

We recommend users to refrain from editing indicators and updating their results vai via the MaangeIndicator page while the the batch is running.

  1. The user is notified via email when the batch is complete and results are updated.

  2. A success message is displayed once the batch is updated. The buttons will display again and users can refresh the Add Results page to see the most accurate results. The last calculation date field will also be updated.
    <<add screenshot>>

    Image Added
Info

Time to wait: We recommend that users don’t edit or update results for Calculated and Aggregated Indicators indicators via ManageIndicators while the results are being updated. Users can navigate away from the AddResults screen until the batch is completed.

...

  1. The “Add New Custom Indicator” and “Aggregation Criteria” popups have a slightly different interface.

  2. To edit a Calculated Indicator from the Visualforce page, users can click on the “wrench icon” next to the corresponding indicator.

  3. To update results for a single Calculated Indicator from the Visualforce page, users can click on the or wrench icon “refresh icon” next to the corresponding indicator.

  4. Users can also update results for all Calculated and Aggregated Indicators using the “Refresh Indicators” button from the Manage Indicators page.

  5. On the pop-up select “Calculated” to update results for only Calculated Indicators

...