Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76199

Aggregation callbacks in report builder

XMLWordPrintable

    • MOODLE_400_STABLE

      In Workplace report builder we had a function column::set_aggregation_callback()

      In the LMS report builder it is missing.

      I would like to have a possibility to define how the aggregated data is displayed.

      This is especially useful for the fields such as

      • boolean - when it is single value I want to display Yes/No, when it is "Average" - I want to display "70%" (for example)
      • integer - when it is "Average" it becomes float and I want to format it with a necessary number of decimal points
      • this is a integer field but we display custom values, for example, 0 - none, 1 - some, 2 - all - I want to be able to display something useful when "Average" is used and not just "1.5"

        1. Screenshot_2022-11-07 Marina(1)-1.png
          34 kB
          Paul Holden
        2. Screenshot_2022-11-07 Marina-1.png
          35 kB
          Paul Holden
        3. rb_aggregation.mp4
          1.16 MB
          Marina Glancy
        4. rb_aggregation_401.mp4
          1.67 MB
          Marina Glancy
        5. Screenshot from 2022-11-07 18-27-36.png
          27 kB
          Marina Glancy
        6. Screenshot from 2022-11-07 18-28-11.png
          22 kB
          Marina Glancy

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.