<< Click to Display Table of Contents >> Manual > Monitoring system construction guide > Construction of main functions > Daily reports > Customization of daily reports and aggregation functions > Change the first separator time in a report |
Change the first separator time in a report
In the default settings of the daily report screen (report screen) of the screen library, the display units for daily reports are 0:00 to 23:00 (1:00 to 24:00), monthly reports are from the 1st to the end of the month, and annual reports are from January to December, but these specifications can be changed by settings. For example, you can change the first division time to create a daily report divided into periods from 8:00 am to 7:00 am the following morning.
To change the first separator time, change the settings of the following two properties.
Property Name |
Commentary |
SummaryOffset |
Aggregation time offset. Specify the time you want to shift by a unit lower than each aggregation unit specified by SummaryUnit.
|
ReportOffset |
Specify this when you want to change the display start time (date and time) in the report display. For example, if you specify 8 for a daily report, the display will be from 8:00 to 7:00 the following morning.
|
Example: When 8:00 is set as the first division time in the daily report
[RAW::DAY] SummaryUnit=1HOUR ReportOffset =8 ... [DAY::MONTH] SummaryUnit=1DAY SummaryOffset=8 ... |
*The above example is 8:00 when using the 0:00-23:00 format. When using the 1:00-24:00 format, it becomes 9:00.
Example: When the first division time is set to the 10th in the monthly report
[DAY::MONTH] SummaryUnit=1DAY ReportOffset =9 ... [MONTH::YEAR] SummaryUnit=1MONTH SummaryOffset=9 ... |
*Please specify 9, not 10, to specify the offset (i.e. 1 day + 9 = 10 days).
Example: When April is set as the first division time in the annual report
[MONTH::YEAR] SummaryUnit=1MONTH ReportOffset =3 ... |
*Please specify 3, not 4, to specify the offset (i.e. January + 3 = April).
*For annual reports, there is no need to set the aggregation offset (SummaryOffset).
By being able to set SummaryOffset and ReportOffset separately, it is possible to set the summary offset and the report display offset independently of each other. |