Thank you for your feedback.
Form temporarily unavailable. Please try again or contact docfeedback@servicenow.com to submit your comments.
Versions
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store
Close

Create a trendbox report in the Report Designer

Log in to subscribe to topics and get notified when content changes.

Create a trendbox report in the Report Designer

Create a trendbox report to show the distribution of values in a data set as with a box report, but within a specified time period.

Create a trendbox report in the Report Designer

Create a trendbox report to show the distribution of values in a data set, with a specified time period.

About this task

This task refers to Report Designer in the Jakarta release under UI15 and UI16. If you are using the Report Builder (Classic UI) in Jakarta for creating reports, select the applicable report from Creating reports to see instructions. If you are using an earlier UI or the Classic UI for creating reports in an earlier release, follow the instructions in the Helsinki documentation: Report types and creation details.
Report Designer UI Report Builder UI
Report designer UI example Report builder UI example

Procedure

  1. Navigate to Reports > Create New.
  2. On the Data tab, give the report a name that reflects the information being grouped.
  3. Select the applicable source for the report:
    OptionDescription
    Data source A table with filters applied to provide a single source of information for all users.
    Note: If you select a data source used by existing reports, a notification will display prompting you to view them.
    Table The raw data from a table with no filters applied.
    External import Choose an existing imported report source, or click the Upload icon (Upload icon) to import a new file. See Create a report from an imported Microsoft Excel document
  4. Click Next.
  5. On the Type tab, select Trendbox in the Other section and click Next.

    A preliminary version of the report is displayed. To view the updated report at any time, click Run.

  6. On the Configure tab, fill in the following fields and click Next.
    Table 1. Trendbox report configuration options
    Field Description
    Group by Group report data using the values of this field. For example, in an incident report grouped by Assignment group, all incidents that belong to Software, Service Desk, and Network are placed in separate groups.
    Note: It is not possible to group or stack reports by the Tags field.
    Note: Label names longer than 20 characters may show or print a truncated view.
    Trend by Table field whose values you want to display in a time sequence.
    per Time period to group data by. Time periods range from an hour to a year. You can also specify a date.
    Note: Reporting per Week is not supported when the report range includes more than one year. Inconsistent results are produced when a week is split between two years.
    Aggregation Mathematical calculation to perform on the data. The default is Count, which displays the number of records selected.

    To display only unique records, select Count Distinct. For example, if you want a report on the distinct number of users who have one or more of the roles in a given list of roles. Users with more than one role would be counted twice unless you use Count Distinct.

    Select Average, Sum, or Count Distinct, to display a list of fields from the selected Table. Select a field to aggregate by from this list. For example, if you select a duration field, such as Business duration on the Incident table, the aggregated data is expressed in days, hours, and minutes. If you select an integer field, such as Priority, the data is expressed as a decimal value number.

    If you choose Sum or Average, select Show related fields to aggregate on dot-walked fields. See Dot-walking

    Note: For duration values, the unit of measurement displayed in the aggregation axis cannot be customized.
  7. (Optional) Configure the sort order of the applicable fields in the report (column, row, Group by, Stack by or Trend by depending on the report type). Click the filter icon (filter icon) and select Add Sort.
    1. In the Sorting Order drop-down list, choose the field you want to sort on and then choose a-z or z-a for alphabetical order or reverse alphabetical order.

      The list contains all possible fields from the report's source. The only effective values, however, are the fields chosen for the current report (column, row, Group by, Stack by, or Trend by depending on the report type). Add sort cannot be applied to dot-walked fields.

    2. Click Add sort plus icon to configure additional sorting order conditions. (Click Add sort minus icon to delete configured sorting order conditions.)
    3. Click Save.
    For fields of the type Choice list, the sort order is determined by the sequence of the choices in the choice list, not alphabetically or numerically. For example, a priority choice list is often indexed from Critical to Planning as shown in the figure below. Report sorted by priority choice list
  8. (Optional) To limit the information displayed in the report, click the filter icon (filter icon) and select conditions to filter the report data.
    For more details on how conditions are constructed, see Condition builder.
    Note: Keywords is a special field used for text searches across all fields. It’s use in a filter or condition, in combination with other conditions, may return inconsistent results.
  9. On the Style tab, fill in the fields as appropriate to configure the appearance of the report.
  10. Click Save.
    The report is generated.

What to do next

  • Click the Report info icon (Report info icon) and add a description of the report.
  • Click the sharing icon (Sharing icon) to open the Sharing menu. On this menu, you can add the report to a dashboard, export the report to PDF, publish the report to the web, and set visibility and schedules. For more information, see Share a report – Report Designer.

Trendbox report style options – Report Designer

Change the look of your trendbox report.

When you create or edit a report, click the Style tab for options to configure the look of your report. The options are organized under two or more of the following tabs: General, Title, Legend, and Axis. To see how the report looks with the changed settings, click Save.

Table 2. Trendbox chart style options
Field Description
General
Custom chart size Check box to specify the width and height of the report in pixels.
Note: The chart size is ignored when you export the report to PDF. In PDFs, the full page width is used to display the chart.
Chart width Width of the report in pixels. The default value is 600.

This field is available when Custom chart size is selected.

Chart height Height of the report in pixels. The default value is 450.

This field appears when Custom chart size is selected.

Chart size Chart size. This field is available when Custom chart size is cleared. Options are Small, Medium, and Large.
Note: The chart size is ignored when you export the report to PDF. In PDFs, the full page width is used to display the chart.
Decimal precision Number of decimal places to show. You can show from zero to four decimal places. Default value: 2. To change the default value, create the system property glide.chart.decimal.precision and specify the value.
Note: Percentage labels do not change accordingly with the decimal precision specified.
Decimal precision - Bar reportDecimal precision - Donut report
Title
Show chart title When the chart title is shown for the report.
  • Never: Never show the chart title.
  • Report only: Shows the chart title on reports.
  • Always: Shows the chart title on reports, dashboards, and homepages.
Chart title The chart title has a maximum length of 40 characters. If no title is entered, the report name is used for the title. This field appears when Report only or Always is selected from the Show chart title list.
Size of the chart title Size of the chart title in pixels. This field appears when Report only or Always is selected from the Show chart title list.
Chart title color Color of the chart title. This field appears when Report only or Always is selected from the Show chart title list.
Custom chart title position Check box to specify X and Y coordinates for the position of the chart title. This field appears when Report only or Always is selected from the Show chart title list.
Chart title X position Number of pixels to adjust the chart title position right or left. By default the title appears at the center top of the chart. To move the chart title to the right, enter a positive value. To move the title to the left, enter a negative value.

This field appears only when Custom chart title position is selected.

Chart title Y position Number of pixels to adjust the chart title position up or down. By default the title appears at the center top of the chart. To move up the chart title, enter a positive value. To move the chart title down, enter a negative value.

This field appears only when Custom chart title position is selected.

Title horizontal alignment How the chart title is aligned horizontally. This field is available when Custom chart title position is cleared.
Title vertical alignment How the chart title is aligned vertically. This field appears when Custom chart title position is cleared.
Axis
Y axis and X axis Axis for which you want to configure the titles, appearance, and labels.
TitleTitle for the axis.
Title sizeSize of the axis title in pixels. Default value is 12.
Title colorColor of the axis title. Default value is Black.
Title boldCheck this box to show the axis title in a bold typeface.
OppositeOn the X axis tab, select this check box to display the X-axis title on the right side of the report instead. On the Y axis tab, select this check box to display the Y-axis title on top of the report instead of across the bottom.
Display grid On the X axis tab, select this check box to display horizontal grid lines on the report.

On the Y axis tab, select this check box to display vertical grid lines on top the report.

X axis / Y axis grid widthWidth of grid lines on the report. Default value is 1 pixel.
Grid colorColor of grid lines. Default value is LightGrey.
Grid dottedCheck this box to display dotted grid lines instead of solid lines.
From Specify a minimum Y-axis value to limit the amount of information in the report. If you select an aggregation field that is not of the type Number, the From and To fields are not available.
ToSpecify a maximum Y-axis value to limit the amount of information in the report. If you select an aggregation field that is not of the type Number, the From and To fields are not available.
X axis / Y axis label sizeOn the X axis tab, specify the size of the labels for the rows of the report.

On the Y axis tab, specify the size of the labels for the columns in the report.

Label boldCheck this box to show the labels of the report in a bold typeface.
Feedback