{"revision":"c10276e953456835cdbb1f3a60d58ae1980be353","document":{"id":36179,"path":"now-intelligence/reporting/c_CreatingBoxCharts.md","title":"Box reports","bundle":null,"doc_type":null,"release":"australia","body":"\n# Box reports\n\nBox reports, also called box plots, visualize the distribution of data including the maximum, minimum, quartiles, median, and mean.\n\nUse box charts to report multiple data sets from different sources that are related to each other.\n\nFor example, use a box chart to view the age range of all customers who attended a convention. The box chart helps you determine where most ages are grouped. With this information, you can attempt to increase attendance levels at future events by targeting advertisements at the age groups that had lower attendance levels.\n\n**Note:** On instances with Unified Analytics enabled, and on new Australia instances, both Core UI reports and Platform Analytics experience data visualizations are found in the Platform Analytics library. Navigate to **All** &gt; **Platform Analytics** &gt; **Library** &gt; **Data Visualizations**. For more information, see [Exploring the Data Visualizations library](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/explore-data-vis-library.md).\n\n\\[Omitted image \"BoxChart.png\"\\] Alt text: Box report\n\nA box chart displays the following information for each group of data:\n\n\\[Omitted image \"BoxChartScale.png\"\\] Alt text: 1. Sample maximum: 2. Upper quartile 3. Median 4. Mean 5. Lower quartile 6. Sample minimum\n\n1.  Sample maximum\n2.  Upper quartile\n3.  Median\n4.  Mean\n5.  Lower quartile\n6.  Sample minimum\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## Create a box report\n\nCreate a box report to show the distribution of values in a data set.\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### About this task\n\nBox reports enable you to show data organized by statistical averages.\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=\"d154526e251\">\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=\"d154526e270\">\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=\"d154526e289\">\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=\"d154526e314\">\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 **Box** 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_ctb_krs_jp\"><thead><tr><th>\n\nField\n\n</th><th>\n\nDescription\n\n</th></tr></thead><tbody><tr><td>\n\nGroup by\n\n</td><td>\n\nGroup 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. To group by fields on extended tables, see [How to report on extended tables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/t_AccessFieldExtendedTable.md). Select the info icon \\[Omitted image \"icon-info.png\"\\] for a description of the selected field. Configured function fields appear in this list after you save the report.\n\n **Note:**\n\n-   It is not possible to group or stack reports by the **Tags** field, or by certain field types, such as MEDIUMTEXT.\n-   Grouping or stacking by Variables or Questions fields is not supported for reports based on database views.\n-   Label names longer than 20 characters may show or print a truncated view.\n\n\n</td></tr><tr><td>\n\nAdditional group by\n\n</td><td>\n\nExtra fields to group the report by. When you select **Additional group by** fields or function fields, the report includes a control at the bottom that allows you to group the report by any one of the additional fields. To group by fields on extended tables as well, see [How to report on extended tables](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/t_AccessFieldExtendedTable.md). Select the info icon \\[Omitted image \"icon-info.png\"\\] for descriptions of the selected fields Configured function fields appear in this list after you save the report.\n\n**Note:**\n\n-   You can see choices in the **Additional group by** list that do not appear in the main **Group by** list. The report does not support grouping or stacking by the extra fields you see. Unlike the main **Group by** choices, the **Additional group by** fields are not filtered. If you select an unsupported field, it has no effect.\n-   The limitations listed for the main **Group by** field also apply to the **Additional group by** field.\n For more information, see [Add an additional group by or stack by](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/add-additional-group-by-stack-by.md).\n\n</td></tr><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\nMeasured by\n\n</td><td>\n\nField to use as a measurement for the data. Date and time fields are not supported for box charts. Select the info icon \\[Omitted image \"icon-info.png\"\\] for a description of the selected field.\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.  Select **Save** to continue editing the visualization, or **Save and close** to return to the Analytics Overview main screen.\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## Box report style options\n\nConfigure the look of your box 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\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\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\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\nFrom\n\n</td><td>\n\nSpecify 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.**Note:**\n\nDepending on configured [Highcharts](https://api.highcharts.com/highcharts/yAxis.min) settings, the minimum value may be rounded up or down. If you require the settings that affect this changed, contact the administrator.\n\n</td></tr><tr><td>\n\nTo\n\n</td><td>\n\nSpecify 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.**Note:**\n\nDepending on configured [Highcharts](https://api.highcharts.com/highcharts/yAxis.min) settings, the minimum value may be rounded up or down. If you require the settings that affect this changed, contact the administrator.\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>"}}