Report Generator

Maytas 5 Report Generator allows you to create your own reports which can be run from the reports library. This page details the key features of Report Generator and how to use them.

Definitions

The following terminology is used throughout this page. It is recommended that you familiarise yourself with these terms before continuing.

Table

A table is a collection of fields within a specific area of the database, such as learners, employers, claims or invoices. Using a separate table for each area means that the data is only stored once, which makes the database more efficient and reduces data-entry errors. In Report Generator, selecting a table will list the fields within it for use in the report. If fields from more than one table are required, you can join from one table to another.

Table Joins

See the Report Table Joins page for full details.

Tables are joined by fields which are unique for each row of both tables. For example, each learner has a learner ID which is unique to them, and so tables with learner data can be joined via this field. Report Generator handles this in the background, which means all you need to choose is which table you wish to join to.

Report Generator lets you choose different ways to join two tables, allowing for advanced and efficient reporting.

Filters

Conditions can be specified for each field in the report to filter data. For example, using the Begins with function on the learner surname field would allow you to only show learners whose surname begins with a particular letter (or letters).

Parameters

Parameters are options that you can choose before running a report to filter data. For example, a parameter can be added to let you choose a specific learner to run a report for.

Create a Report

There are two ways to create a report:

The report wizard, which lets you choose a series of options to produce the report. The report can be manually amended if required after the wizard has finished. Details can be found in the Create a Report Using the Wizard tutorial.

Manual report creation, where are all fields are added and configured from scratch. This is intended for more experienced Maytas users and allows for advanced report design. Details can be found in the Create a Report Using the Manual Method tutorial.

Report Designer Overview

1 – Table List

This is the list of available tables for use in the report. The top table (Trainee basic details in the example above) is the master table that was chosen when creating the report. Note the icon next to the table, which means it is selected and fields from that table can be added to the report. The tables in the tree view below it can be joined, allowing their fields to be used as well. Information on how to join a table can be found in the Joining a Table section.

2 – Design Area

This is where the report is designed. There are four tabs at the bottom of this area:

3 – Reports Generator Ribbon

The ribbon for Report Generator has a number of useful features:

Additional Features

Report Properties

The Report tab at the bottom of the report designer lets you alter the basic properties of the report.

See Report Properties for further details.

Table Joins

The list of tables is shown on the left side of the screen. To use fields from more than just the master table you have selected, you will need to join to other tables.

See Table Joins for further details.

Adding Fields to a Report

Once the appropriate tables have been joined, fields can be added to a report:

  1. Click the dropdown list above the table joins section.
  2. There are options to show only tables, only fields, or both. Select Fields for this example.
  3. You will now see a list of fields on the left, ordered by the table name and field name.

    To view the names as they are stored in the database, rather than their display names, click the button.

    To search for a particular field, click the button and enter the field name (both the display name and the field name in the database will work).

  4. To add a field to the report, first click the Design tab at the bottom of the screen.
  5. Drag a field from the list to the design area (indicated by the arrow below). Additional fields can be dragged to the design area as required.

  6. To change the order of fields in the report, simply drag and drop them into place. You can also select a field and then use the up and down arrows to the left of it.

Configuring Fields

There are many configurable options for fields which allow you to tailor reports to your needs.

See Configuring Report Fields for further details.

Summary Reports

Summary reports (also referred to as matrix reports) show a count or a total of data by row groupings and column groupings, similar to a pivot table.

See Summary Reports for further details.

Using Custom SQL Functions

Custom SQL functions can be used to manipulate report data in advanced ways. This is most useful in situations where your data requirements are too complex to be achieved with the standard criteria. Please note that this requires a basic understanding of SQL.

See Custom Report SQL Functions for further details.

See List of Custom Report Functions for an extensive list of available custom functions.

How to Change Field Labels

If field names are displaying with a 'technical' label rather than a user-friendly label (e.g. SERIALNUMBER instead of Learner Reference Number), this can be rectified by following the How to change field and table labels in Report Generator guide.

Export / Import a Report

Report Generator reports can be exported to a .m5rdx file which can be imported into another Maytas system. Note that the standard Reports Library reports and other Reporting Services reports created outside of Report Generator cannot be exported in this way.

  1. Go to Home on the toolbar and click Edit on the Reports panel of the ribbon.

  2. Select the report category on the left and then select the report to export on the right.
  3. Click Export.
  4. Choose where to save the report, enter a filename and click Save.
  5. Reports that have been exported to .m5rdx can be imported on this screen by clicking the Import button. Click OK when finished.

Delete a Report

To delete a report:

  1. Go to Home on the toolbar and click Edit on the Reports panel of the ribbon.
  2. Browse to and select the report to delete.
  3. Click Delete Report.
  4. Click OK to confirm deletion.
  5. Click Cancel to close the reports window.

Auto-Communication

The Reports Centre allows you to schedule a report which will automatically send an email or SMS to a list of learners, assessors or employers in the report. This is done by creating a mail merge report in Report Generator, configuring it for auto-contact and then deploying it in the Reports Centre.

See here for details.