--- title: Pivot visualization example description: Pivot tables show multiple dimensions or variables of a data set. This visualization displays separate cells for each row and column value combination, as well as a column subtotal for each first-level row. Aggregate information is presented in the upper left. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/now-intelligence/dv-example-pivot.html release: australia topic_type: task last_updated: "2026-03-25" reading_time_minutes: 6 breadcrumb: [Pivot table visualizations, Create, Data visualizations, Platform Analytics experience, Platform Analytics] --- # Pivot visualization example Pivot tables show multiple dimensions or variables of a data set. This visualization displays separate cells for each row and column value combination, as well as a column subtotal for each first-level row. Aggregate information is presented in the upper left. ## Before you begin Role required: Anyone with access to data can create a visualization of that data on any dashboard that they can edit. Users with the itil, report\_user, admin, or viz\_creator role can create a visualization in the Visualization Designer. When you create a visualization in the Visualization Designer, it is saved to the Library. For more information on access, see [Report\_view access control](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/reporting/report-view-access-control.md) and [Platform Analytics roles](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/platform-analytics-roles.md). ## About this task Use this visualization type to show multiple variables in a single visualization. It can be useful for showing the relationship between different variables. In this example, you look at closed incidents grouped by assignment group, priority, and location. ## Procedure 1. Follow the first steps of [Create a pivot table data visualization in the Visualization Designer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/create-dv-pivot-ac.md): 1. Navigate to **All** > **Platform Analytics** > **Library** > **Data Visualizations**, or open an in-line dashboard and select **Edit**. 2. Select **Create data visualization**. 3. From the Multidimensional charts, select the Pivot Table visualization type. 2. For the moment, skip the header and border section and move to the data source. 1. Select **Add data source**. 2. Choose the Incident \[incident\] table. 3. Because this visualization shows completed incidents, let's add the Incidents.Closed condition in the Filters section. With this filter selected, the visualization only shows the non-active incidents. 4. Select **Run** to preview the records that the visualization will be based on. 5. Select **Add this source**. A pivot data visualization with the current value of the selected data appears in the Visualization Designer. Because the only information you've given is that the visualization represents closed incidents, you see only a single row. You add columns and rows in the next step. 3. Now that you can see the visualization, let's add some context for the user. 1. Expand the Header and border section. 2. Select **Show header** and provide the chart title `Completed incidents - Priority, Location and Assignment Group`. When **Show header** is selected, you can add a title and a description. The chart title isn't necessarily the same as the visualization name. The visualization name identifies it in the Visualization Designer and in a list. The chart title appears within the visualization. 3. Enter a description of the visualization: `Closed incidents of all assignment groups grouped by priority and location`. While the description and title fields aren't required, this information makes the visualization easier to understand on a dashboard and easier to identify in a list. 4. Select **Save** and give the report the title `Pivot - Closed incidents`. 4. Skip the Metric section. 5. Under Group by, add one column and multiple rows to show the data from multiple perspectives. 1. Add the **Assignment group** column to show the top level of information. \[Omitted image "dv-ex-pivot-one-column.png"\] Alt text: Pivot visualization with only one column configured 2. Add two rows: **Priority** and **Location**. 3. Show all totals. - **Show row total** provides the total count for each row in a new column. - **Show column total** provides the total for each column in a new row. - **Show parent row totals** shows the totals in each top level row of the elements in its column. For example, there are five Critical Marketing Systems Support incidents. When you expand that section, there is one critical incident in each of five different locations. \[Omitted image "dv-ex-pivot-group-by.png"\] Alt text: Pivot visualization with Priority and Location rows configured and row, column, and parent row totals selected 6. Under Sorting, choose the field to sort by and the order of the sorting. 1. Choose to sort by `Name`. The priority names each start with a number so they appear in the order 1 - Critical, 2 - High, 3 - Moderate, and so forth. 2. Choose `Ascending` for the sort order. The bars are ordered with 1 - Critical at the top followed by 2 - High, 3 - Moderate, and so forth. In addition, the locations also appear in alphabetical order. \[Omitted image "dv-ex-pivot-sort-by.png"\] Alt text: Pivot report sorted by priority in ascending order 7. Under Data update, configure how the audience interacts with the visualization. 1. Select **Follow filters**. This option enables the visualization to follow interactive filters on the dashboards it's placed on that are based on the same table. 2. Select **Show filter icon** to show the number of filters applied to the visualization. For example, if dashboard filters limit the value of the visualization, the icon indicates that you're seeing the number of open incidents that match the filters. You can then check to see which filters are in effect. 3. Under Chart interaction, select **Allow chart interaction**. From the Action menu, select **Drill down to chart** to let viewers navigate to relevant information by selecting a data point in the chart. Some visualizations only drill down to the list of associated data. Table data is generally restricted by access control lists \(ACLs\) and viewers may not see all of the associated records. 8. Play with the display settings. The settings in this section enable you to make the table easier to read with frozen rows and columns, lines and shading for rows and columns, and expanding or contracting the table when it's first viewed. 9. Play with the color settings. From Set color type, choose **Single color** to enable setting background colors and configuring color rules. 10. Configure a color rule for the visualization. This example deals with closed incidents, but in the case of open incidents, you want to define a dynamic color rule that changes the score's color based on its value. 1. Under Color Rules, select **+ Add rule**. 2. For the first color rule, choose the **Operator** `lower than`, enter the **Value** `6`, and choose the color `Green`, and select **Apply**. The value is up to the specified number but not including it. Retain the order 100. 3. To indicate a value that requires more attention, create a second rule with the **Operator** `between`, the values `5` and `25`, the color and icon color `Warning Orange`, and the order `50`. 4. To show values that require the highest attention, create a third rule with the **Operator** `greater than`, the value `25`, the color and icon color `Red`, and the order `25`. You have created three rules to show whether the value is in line with what you want to see. **Note:** Color rules only apply to the individual values, not to the total columns and rows which retain the specified color and background color. **Parent Topic:**[Create a pivot table data visualization in the Visualization Designer](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/now-intelligence/create-dv-pivot-ac.md)