Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Dashboard Configuration: Configuring summarizers.

Dashboard Configuration: Configuring summarizers

From MoodleDocs

Back to index

Summarizers are automatic sums that will aggregate values in the output.

They are printed at bottom of the block, below the ouptut tables or plotted graphs.

summarizer settings.jpg

Summarizers

One or more summarizers can be defined using the aliases columns. This field can hold a semi-column separated list of output column names. Note that summarizers are only consistant with numeric aggregable data. Examples of non relvant information are :

  • Text fields
  • Pre-aggregated information (such as means)

Sums formatting

Alike many output descriptors, the final result of the sums can be post-formatted on base of the sprintf() function syntax. There should be here one formatting formula per defined column in a semi-column separated list. As usual, empty strings stands for unformatted raw output.

Sums Labels

To give end user consistency of the summarizer semantic, explicit labels can be used for display, rather technical column aliases. You mya define here a semi-column spaated list of summarizer visible names, one per defined summarizer.