Note: You are currently viewing documentation for Moodle 3.8. Up-to-date documentation for the latest stable version of Moodle may be available here: Report builder (Audience).

Report builder (Audience)

From MoodleDocs
Revision as of 11:08, 7 February 2020 by Paul Holden (talk | contribs) (Relation to the report viewer.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

workplacelogo.png This feature is part of Moodle Workplace, which is available through Moodle Partners.


Overview

In addition to specifying which users can access a report, we can use the "Relation to the report viewer" report condition to limit which users are listed in any given report, relative to the person who is viewing it.

This can allow a manager to create a single report for others to view information about users in their own departments or reporting lines. The condition takes effect according to the user who is viewing the report, meaning it will return different results according to their own position within the organisation.

Configuring the condition

After adding the condition to a report, the default state is to list "All users". To change this we click on the select box and choose "Customise...". This presents the following options:

  • Reports to the report viewer: for users with a manager position, this will include users who report directly to the user viewing the report
  • In the same department as the report viewer: include users who are members of the same department (optionally including subdepartments) as the user viewing the report

If both of these options are selected, it is possible to combine them with boolean operators AND/OR to further refine the report content.