> For the complete documentation index, see [llms.txt](https://help.qtech.co.nz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.qtech.co.nz/datran/datran-vi-scada/datran-reporting/templates.md).

# Report templates and examples

The 11 report templates that come with DATRAN Reporting V6, how to load them, and the kinds of report customers build from them.

Reporting v6 has 11 template reports. The templates are provided for two key reasons:

1. To provide “out of the box” functionality for common tasks
2. To provide you with a solid basis for making/amending your own reports

{% hint style="info" %}
**Applies to:** DATRAN Reporting V6.x.
{% endhint %}

## The templates

| Template                              | Shows                                                                                                               | Data from                    |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
| 01 Accumulated Flow Report            | Shows all the Daily Flow type of Point between selected dates                                                       | vwAnalog                     |
| 02 Alarm Report                       | Shows all alarms excluding Run Point between selected dates                                                         | vwDigital                    |
| 03 Communications Failure Report      | Shows all the Comms Fail type of Point between selected dates                                                       | vwDigital                    |
| 04 Instantaneous Flow Report          | Shows all the Instantaneous Flow type of Point between selected dates                                               | vwAnalog                     |
| 05 Point Report                       | Shows all the Point description for every equipment in each Site                                                    | tblPoints                    |
| 06 Pump Run – Basic                   | Shows all the Pump run Point for a desired date range                                                               | vwDigital                    |
| 07 Pump Run Hours Trend               | Shows the Pump Run trending in a graphical presentation                                                             | vwAnalog                     |
| 08 Pump Run Report                    | Shows all Pump Runs point of every Site for a specific date cover                                                   | vwAnalog                     |
| 09 Top 10 Alarm Report                | Shows the alarms with the highest occurrence, for specified date range and provides a total duration for the alarms | tblDigital, tblPoints        |
| 10 Top 10 Operators with longest acks | Shows a list of the 10 Operators with the longest times to acknowledge alarms                                       | tblDigital                   |
| 11 Operator List Report               | Shows the list of all the DATRAN Operators including their Aliases and provides a total number of operators.        | tblOperator, tblSMSMessaging |

Report SQL Query, Template 01: `WHERE ( vwAnalog.strPoint LIKE '%dai%flow%' )`. Template 03: `AND ( vwDigital.strPoint LIKE '%Com%Fail%' )`.

## Load the templates

The files are available for download at support web page of [www.Qtech.co.nz](http://www.Qtech.co.nz) site.

1. Once downloaded, open windows explorer and locate Qtech\DATRAN Reporting folder under Program Files (Program Files (x86) in some computer). Create new folder and named it 'Qtech Report Template v6' (note: do not include single quotes when naming the folder). Copy-paste the downloaded files into newly created folder.
2. Log in to the DATRAN Reporting v6, and go to Report Explorer. We can create new folder by clicking the folder image just below the File menu or by clicking **File > New > Folder** in the menu. Rename the folder as Qtech Report Template v6.
3. Just click the new report image or go and click **File > New > Report**. It will take you to a Report Builder Enterprise: New Report window. Go to **File > Load From File**. Select the target rtm file you like to load which can be found in the Qtech Report Template v6 folder that was created in step 2. We will select the Template 01 - Accumulated Flow Report.rtm as our sample.
4. The target rtm file will then be loaded into the report builder. The next step to do is to save it. Click the save button. A Save New Report As window will pop up. Choose Qtech Report Template v6 folder name in the Save in portion and in the Name Box manually type Template 01 - Accumulated Flow Report, then click Save button.
5. Close the Report Builder Enterprise window by clicking the X button. And now you can see that the new Report Template is now available in the DATRAN Reporting v6.
6. Just follow steps 3 to 5 to load the remaining report templates.

![Template reports in the Report Explorer](https://3621580088-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fa5hMAUl7E1cWeN5Rghg0%2Fuploads%2FyMy3tWKNipJjPqDcQIY0%2Freporting-templates.png?alt=media)

## Kinds of report customers build

DATRAN Reporting provides the ability to create and schedule operational and regulatory reporting from DATRAN VI SCADA systems. This includes regular reports such as:

| Report                        | What it shows                                                                                                       |
| ----------------------------- | ------------------------------------------------------------------------------------------------------------------- |
| Resource consent reports      | A consent report with the DAILY TOTAL (m3/day) and DAILY MAXIMUM (l/sec) for each date in the period                |
| DWSNZ compliance reports      | A UV report with the flow, turbidity and UV intensity counts, the percentage compliant, and Pass for each check     |
| All alarms for a given period | All Water alarms for the previous 24hour period                                                                     |
| Top 10 alarms                 | Shows the alarms with the highest occurrence, for specified date range and provides a total duration for the alarms |
| Comms fail reports etc        | Shows all the Comms Fail type of Point between selected dates                                                       |

QTech is available to assist you in providing custom reports to your own specification.
