{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":36180,"path":"now-intelligence/reporting/c_CreatingControlCharts.md","title":"Control reports","bundle":null,"doc_type":null,"release":"australia","body":"\n# Control reports\n\nControl reports visualize data over time using standard deviations to show statistical likelihood and identify outliers.\n\nControl reports display data as a series of connected points. The blue line at the center of the report is drawn at the mean. Upper and lower control limits, represented by red lines, indicate the thresholds at which activity is considered statistically unlikely. If the process is in control, all points are plotted within the control limits. You may want to investigate any activity outside these limits.\n\nThese reports use Z-scores to indicate statistical likelihood.\n\n```\nZ-score = (Observation - Mean) / Standard Deviation\n```\n\nThe upper and lower green lines indicate plus and minus two times the Z-score. The upper and lower red lines indicate plus and minus three times the Z-score.\n\n**Note:** When accessibility is enabled, this visualization includes a report that screen readers can interpret. For more information, see [Enabling accessibility features](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-user-interface/c_SetUpSect508ComplianceFeature.md).\n\n\\[Omitted image \"ControlChart.png\"\\] Alt text: Control report\n\n**Note:** The mean is the sum of the data points on the **Data Points** line divided by the number of points. These values depend on the aggregation \\(Count, Average, Sum, or Count Distinct\\). This mean can differ from averages in other reports based on the same data if the other reports use different aggregations. For example, the mean number of incidents \\(**Count**\\) per month over a period is different from the mean **Average** duration of those same incidents.\n\n**Parent Topic:**[Report types](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/report-types-creation-details-rd.md)\n\n## Create a control report\n\nCreate a control chart to determine whether a business process is in a state of statistical control.\n\n### Before you begin\n\nRole required: itil, report\\_user, report\\_group, report\\_global, report\\_admin, or admin. To create a meaningful report, you must have the right to access the data you want to report on.\n\n### Procedure\n\n1.  Navigate to **All** &gt; **Platform Analytics** &gt; **Library** &gt; **Data Visualizations** and select **New**.\n\n2.  On the **Data** tab, give the report a name that reflects the information being grouped.\n\n3.  Select the applicable source for the report.\n\n<table id=\"choicetable_t31_tst_1x\"><tbody><tr><td id=\"d53947e197\">\n\n**Data source**\n\n</td><td>\n\nAlso called a report source, a data source is a table with filters applied to provide a single source of information for all users. For more information, see [Report sources](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/c_ReportSources.md).**Note:** If you select a data source used by existing reports, a notification prompts you to view them.\n\n</td></tr><tr><td id=\"d53947e216\">\n\n**Table**\n\n</td><td>\n\nThe raw data from a table with no filters applied. When you select a table, its short description appears below the table name. For trend reporting, you can also select a remote table, which aggregates, in memory, data retrieved from an external source. Then select a **Trend by** field option to aggregate its data. To learn more about remote tables, see [Retrieving external data using remote tables and scripts](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/remote-tables.md)\n\n</td></tr><tr><td id=\"d53947e235\">\n\n**External import**\n\n</td><td>\n\nChoose an existing imported report source, or select the Upload icon \\(\\[Omitted image \"upload-icon.png\"\\] Alt text: Upload icon\\) to import a new file. See [Create a Core UI report from an imported Microsoft Excel document](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/create-report-with-imported-data-source.md).\n\n</td></tr><tr><td id=\"d53947e260\">\n\n**MetricBase**\n\n</td><td>\n\nMetricBase enables you to collect, retain, analyze, and visualize custom time series data on the ServiceNow AI Platform. For more information, see [MetricBase](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/metricbase.md).\n\n</td></tr></tbody>\n</table>4.  On the **Type** tab, enter **Control** in the filter, select the report type, and click **Next**.\n\n    The application shows a preliminary version of the report. To view the updated report at any time, select **Run**.\n\n5.  On the **Configure** tab, fill in the following fields and select **Next**.\n\n<table id=\"table_tnr_fth_bp\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nConfigure function field\n\n</td><td>\n\nConfigure fields based on calculation of multiple inputs including arithmetic functions. For more information, see [Report on function fields](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/function-fields-reporting.md). Function field results are calculated when the report is run. You can use the results for aggregations and grouping. You have to save the report before you can configure function fields.Configured function fields appear in the **Group by** and **Additional group by** lists after you save the report.\n\n</td></tr><tr><td>\n\nTrend by\n\n</td><td>\n\nTable field whose values you want to show in a time sequence. Select the info icon \\[Omitted image \"icon-info.png\"\\] for a description of the selected field. **Note:** If you selected a remote table in the **Table** field, the option you select in this field aggregates the data that was retrieved from an external source and aggregated in memory. To learn more about remote tables, see [Retrieving external data using remote tables and scripts](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/servicenow-platform/remote-tables.md).\n\n</td></tr><tr><td>\n\nper\n\n</td><td>\n\nTime period to group data by. The range of available time periods depends on the calendar that you selected. Time periods range from an hour to a year. You can also specify a date.**Note:** If reporting per week: When the report range includes more than one calendar year, inconsistencies result when a week is split between two years. To show data values more accurately according to ISO weeks, add and enable the **glide.db.aggregates.trend.use\\_iso\\_week** property in the System Properties \\[sys\\_properties\\] table.\n\n</td></tr><tr><td>\n\nAggregation\n\n</td><td>\n\nMathematical calculation to perform on the data. The default is **Count**, which shows the number of records selected.To show only unique records, select **Count Distinct**.\n\n Select **Average**, **Sum**, or **Count Distinct**, to show a list of fields from the selected **Table**. Select a field to **Aggregate by** from this list.\n\n If you group the report by a field and select an **Average** aggregate, you get the average of each group. If a Total value is shown, it is the average of these group averages, not of the individual field values.\n\n Select **Minimum** or **Maximum** to show the maximum or minimum value for each segment of the report.\n\n For more information on aggregation options, see [Aggregation in reporting](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/aggregation-reporting.md).\n\n If you choose **Average**,**Sum**, **Count Distinct**, **Minimum**, or **Maximum**, you may be able to aggregate on fields from extended tables. See [How to report on extended tables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/t_AccessFieldExtendedTable.md).\n\n For information about aggregating on FX currency values, see [FX Currency values in reporting](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/fx-currency-values-reporting.md).\n\n</td></tr><tr><td>\n\nSet Value Formatting\n\n</td><td>\n\nEnables you to configure how to show numerical values in reports, including decimal precision, rounding, minimum and maximum duration units, and abbreviations for duration units. See [Value formatting in reports](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/value-formatting-reports.md).\n\n **Note:** Decimal precision does not work on currency fields.\n\n</td></tr></tbody>\n</table>6.  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\\).\n\n    Select the filter icon \\(\\[Omitted image \"List\\_FilterIcon.png\"\\] Alt text: Filter icon for lists\\) and choose **Add Sort**.\n\n    1.  In the Sorting Order list, choose the field you want to sort on and then choose **a-z** or **z-a** for alphabetical order or reverse alphabetical order.\n\n        The list contains all possible fields from the report's source and fields on extended, or related, tables. 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\\).\n\n        **Note:** On fields from dot-walked \\(extended\\) tables, you can only sort on date fields.\n\n    2.  Select the sort plus icon \\(\\[Omitted image \"sort-order-plus-icon.png\"\\] Alt text: Sort plus icon\\) to configure additional sorting order conditions. \\(Select the sort minus icon \\( \\[Omitted image \"sort-order-minus-icon.png\"\\] Alt text: Sort minus icon\\) to delete configured sorting order conditions.\\)\n    3.  Select **Save**.\n    For fields of the type Choice list, sort order is not determined alphabetically based on Label, it is sorted based on the **Value** of the choice field. For multi-level pivot table and heatmap reports, sort order is determined by the sequence of the choices in the list.\n\n    \\[Omitted image \"choice-list-sort-order.png\"\\] Alt text: Report sorted by priority choice list\n\n7.  To limit the information displayed in the report, select the filter icon \\(\\[Omitted image \"List\\_FilterIcon.png\"\\] Alt text: Filter icon\\) and specify conditions to filter the report data.\n\n    To learn how to construct conditions, see [Condition builder](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-user-interface/c_ConditionBuilder.md).\n\n    **Note:** In aggregated and list reports, language-dependent filter conditions may return zero results on localized instances.\n\n8.  On the **Style** tab, fill in the fields as appropriate to configure the appearance of the report.\n\n9.  Click **Save** to generate the report.\n\n\n### What to do next\n\n-   Select the Report info icon \\(\\[Omitted image \"Form\\_ReferenceLookupIcon.png\"\\] Alt text: Info icon\\) and add a description of the report.\n-   Select the sharing icon \\(\\[Omitted image \"ShareIcon.png\"\\] Alt text: 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.\n\n## Control report style options\n\nChange the look of your control report.\n\nWhen 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**.\n\n<table id=\"table_h1l_1jh_yq\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td class=\"sub-head\" colspan=\"2\">\n\nGeneral\n\n</td></tr><tr><td>\n\nDisplay data labels\n\n</td><td>\n\nCheck box to show the value for each data point.\n\n</td></tr><tr><td>\n\nCustom chart size\n\n</td><td>\n\nEnable the option 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 show the chart.\n\n</td></tr><tr><td>\n\nChart width\n\n</td><td>\n\nWidth of the report in pixels. The default value is 600. This field is available when **Custom chart size** is selected.\n\n</td></tr><tr><td>\n\nChart height\n\n</td><td>\n\nHeight of the report in pixels. The default value is 450.This field appears when **Custom chart size** is selected.\n\n</td></tr><tr><td>\n\nChart size\n\n</td><td>\n\nChart 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 show the chart.\n\n</td></tr><tr><td>\n\nDrilldown view\n\n</td><td>\n\nList view to show when a user selects a segment of a report for which no drilldown report type is specified. This view is also used when the user reaches the lowest drilldown level of a report. See [Configure the list layout](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/platform-administration/t_ConfigureTheListLayout.md) . If you specify a **Report drilldown**, **Drilldown view** is ignored.For more information, see [Define a report drilldown](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/c_DrillingDownWithinReports.md).\n\n</td></tr><tr><td>\n\nDecimal precision\n\n</td><td id=\"decimalPrecisionEntry\">\n\nNumber 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.\n\n \\[Omitted image \"DecimalPrecision-BarReport.png\"\\] Alt text: Decimal precision - Bar report \\[Omitted image \"DecimalPrecision-DonutReport.png\"\\] Alt text: Decimal precision - Donut report\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nTitle\n\n</td></tr><tr><td>\n\nShow chart title\n\n</td><td>\n\nWhen the chart title is shown for the report.-   **Never**: Never show the chart title.\n-   **Report only**: Shows the chart title on reports.\n-   **Always**: Shows the chart title on reports, dashboards, and landing pages.\n\n</td></tr><tr><td>\n\nChart title\n\n</td><td>\n\nThe 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.\n\n</td></tr><tr><td>\n\nSize of the chart title\n\n</td><td>\n\nSize of the chart title in pixels. This field appears when **Report only** or **Always** is selected from the **Show chart title** list.\n\n</td></tr><tr><td>\n\nChart title color\n\n</td><td>\n\nColor of the chart title. This field appears when **Report only** or **Always** is selected from the **Show chart title** list.\n\n</td></tr><tr><td>\n\nCustom chart title position\n\n</td><td>\n\nCheck 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.\n\n</td></tr><tr><td>\n\nTitle horizontal alignment\n\n</td><td>\n\nHow the chart title is aligned horizontally. This field is available when the **Custom chart title position** option is cleared.\n\n</td></tr><tr><td>\n\nTitle vertical alignment\n\n</td><td>\n\nHow the chart title is aligned vertically. This field appears when **Custom chart title position** is cleared.\n\n</td></tr><tr><td>\n\nChart title X position\n\n</td><td>\n\nNumber 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.\n\n</td></tr><tr><td>\n\nChart title Y position\n\n</td><td>\n\nNumber 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.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nLegend\n\n</td></tr><tr><td>\n\nShow legend\n\n</td><td>\n\nEnable this option to show a chart legend. This check box appears when a **Group by** field is selected on the report form.Legends are truncated by default. To adjust truncation lengths, configure the properties **glide.chart.label.legend.truncate\\_to** and **glide.chart.label.legend.truncate\\_to.large**. For more information, see [Reporting properties](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/reporting-properties.md).\n\n</td></tr><tr><td>\n\nLegend horizontal alignment\n\n</td><td>\n\nHow the legend is aligned horizontally. This field appears when **Show legend** is selected.\n\n</td></tr><tr><td>\n\nLegend vertical alignment\n\n</td><td>\n\nHow the legend is aligned vertically. This field appears when **Show legend** is selected.\n\n</td></tr><tr><td>\n\nShow legend border\n\n</td><td>\n\nEnable this option to show a border around the legend. This check box appears when **Show legend** is selected.\n\n</td></tr><tr><td>\n\nLeft align legend text\n\n</td><td>\n\nEnable this option to left-align the legend text when the report is viewed in a browser. By default, the legend text is centered. When the report is exported to PDF, PNG, or JPG, the legend remains centered. This check box appears when **Show legend** is selected.\n\n</td></tr><tr><td class=\"sub-head\" colspan=\"2\">\n\nAxis\n\n</td></tr><tr><td>\n\nY axis and X axis\n\n</td><td>\n\nAxis to configure the titles, appearance, and labels for.\n\n</td></tr><tr><td>\n\nTitle\n\n</td><td>\n\nTitle for the axis.\n\n</td></tr><tr><td>\n\nTitle size\n\n</td><td>\n\nSize of the axis title in pixels. Default value is 12.\n\n</td></tr><tr><td>\n\nTitle bold\n\n</td><td>\n\nEnable this option to show the axis title in a bold typeface.\n\n</td></tr><tr><td>\n\nOpposite\n\n</td><td>\n\nOn the **X axis** tab, enable this option to show the X-axis title on the right side of the report instead. On the **Y axis** tab, enable this option to show the Y-axis title on top of the report instead of across the bottom.\n\n</td></tr><tr><td>\n\nDisplay grid\n\n</td><td>\n\nOn the **X axis** tab, enable this option to show horizontal grid lines on the report. On the **Y axis** tab, enable this option to show vertical grid lines on top the report.\n\n</td></tr><tr><td>\n\nGrid dotted\n\n</td><td>\n\nEnable this option to show dotted grid lines instead of solid lines.\n\n</td></tr><tr><td>\n\nX axis / Y axis label size\n\n</td><td>\n\nOn 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.\n\n</td></tr><tr><td>\n\nLabel bold\n\n</td><td>\n\nEnable this option to show the labels of the report in a bold typeface.\n\n</td></tr></tbody>\n</table>"}}