Custom reports

From MoodleDocs

Custom reports

Formerly a feature of Moodle Workplace TM, the Report builder feature allows administrators to create and share custom reports. This page is about the custom reports feature in Moodle LMS. For the Workplace version see Report builder

4.3 Custom report improvements


Custom reports introduction


4.3 improvements include:

  • Course categories as a report source.
  • Filtering on context level.
  • Filtering by enrolment name.
  • Participant report course completion criteria column.
  • Participant report enrolment method and enrolment entities.
  • Users included in custom report on comments on blog entries.
  • Tag support for badges custom report source.
  • Custom fields in cohort report entities.

Report sources

The complete list of report sources is as follows:

  • Badges - Badge details, badges issued, badges received and courses
  • Blogs - Blog content, tags, users and courses
  • Cohorts - Cohorts and cohort members
  • Comments - Comments and users
  • Course categories - New in 4.3
  • Course participants - Course, course category, user enrolments, group, course completion, course access
  • Courses - Courses, course category, tag, course image
  • Files - File, user
  • Groups - Groups, groupings, group membership visibility
  • Notes - Notes, recipients, authors, and courses
  • Tags - Tag collections, tags, tag instances, and tag authors
  • Task logs - Tasks and users
  • User badges - Badges issued to users in courses, including badge details
  • Users - Users and interests

Create a report

Note the tabs at the top: Edit, Audience, Schedules and Access:

  1. Click New report, give it a name and select your source (see above).
  2. Click Save. Depending on your source, you will be presented with columns relevant to the data you want. For example, clicking 'courses' will then show categories, course short and full names and ID number.
  3. Remove any columns you don't want and add columns which you do want.
  4. Change the options for Conditions, Filters, Sorting and Card view as required.
  5. Preview your report by clicking the Preview button top right.

Give access to reports

From Audience you can select a system role, cohort or manually selected users by clicking the + against who you want and then saving your choice.

You can check the actual users from the Access tab. If you have chosen the system role of Manager, then the Access tab will show you the names of any Managers you have on your site.

How to access reports

Users who have been given access to custom reports and who have the View custom reports capability can view them from the arrow top right next to their user profile image and clicking the link Reports.

Schedule reports

Once you have created a report and decided who has access, you can schedule it from the Schedules tab. The recipients will receive the report via email.

  1. Click New schedule;
  2. Give it a name and choose its format ( .csv by default);
  3. Decide when the report will first be sent out and how often to send it.
  4. The audience will already be selected if you have defined your audience.
  5. If desired, you can add a message to the recipients.
  6. In Advanced, decide what to do if there is nothing to report.

Custom report settings

From Site administration > Reports > Report builder, this page allows the admin to:

  • limit the number of custom reports.
  • disable live editing.

Both these actions will then have a beneficial effect on performance, if required.

Example reports

See also