Create a pivot table data visualization in the Visualization Designer
Create a pivot table visualization to summarize large data sets by breaking them down by multiple dimensions in a single table. Cells show each row and column value combination and can also show subtotals.
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 and Platform Analytics roles.
About this task
For information about the use of a Pivot visualization in a dashboard, see the Developer Site. This site gives information about Pivot data visualization components in the UI Builder, and some configuration options may differ from the Visualization Designer.
Procedure
Navigate to All > Platform Analytics > Library > Data Visualizations, or open an in-line dashboard and select Edit.
Select Create data visualization.
Select the Pivot Table (
Pivot table icon\) visualization type.
- Configure the Header and border. Header and border options are the same for all data sources.
| Header and border fields | Description |
|---|---|
| Show border | Option to display a line around the component. |
| Show header | The visualization header, including title and icons. |
| Show header separator | Option to display a line separating the header from the rest of the component. |
| Chart title | Title of the visualization. |
| Title alignment | Choose Start to align the title with the start of line, End to align it with the end of the line, or Center for center alignment. |
| Description | A short overview about the visualization that the end user sees. Descriptions help users find the visualization. |
| Wrap title | Option to wrap long titles onto a second line. If false, displays an ellipsis to truncate long titles. |
| Wrap labels | Select to wrap long elements labels on the axis. |
| Max label size, px | Specify the maximum label size for element names on the axis. Default=100 px. |
| Line of truncation | Specify where to truncate long labels with an ellipsis. Options are 1, 2, and 3. |
| Bare | Option to remove padding around data visualization to provide more compact positioning on the page. Only available when Show border is turned off. |
| Show refresh option | Option to show or hide the refresh option from data visualizations. If cache is enabled on a dashboard, the Refresh option is always hidden. |
| Show export options | Option to show or hide the visualization's export types. |
| Header background color | Specify the color behind the title of the visualization. |
| Title color | Specify the text color of the title. The default title color is black, but you can choose a color that contrasts better with the header background. Only available when Header background color is selected. |
Choose a data source.
For general descriptions of the data sources, see Data sources for data visualizations.
Table (available in the base system). When you select a table, you can filter it by custom or preconfigured conditions. Custom conditions can include questions or Service Catalog variables.
Configured report sources appear in the Predefined conditions list. For more information, see Report sources.
To help you create a custom filter, there is a preview list of records that would be included in the visualization. You can change which fields are shown as columns and the width of columns in the list actions.
Preview record list for table source data visualization with list actions shown.
- Indicator \(available in the base system\). You can filter the indicator scores by breakdowns and elements. Automated indicators can be configured with selected breakdowns. Formula indicators inherit their breakdowns from the parent indicators. Data snapshots indicator breakdowns are configured in the indicator. In both cases, only those breakdowns are available when you configure a visualization based on those indicators.
**Note:** Benchmark indicators are not supported.
Conditional filter for indicator data source on data visualization.
**Note:**
You might have a multiple select \(is one of\) or dynamic \(is \(dynamic\)\) operator on the breakdown element filter. These operators require the indicator and breakdown to support them. For more information about the configurations that support these operators, see ["Is one of" and "Is \(Dynamic\)" operators on breakdown conditions in data visualizations](performance-analytics/condition-operators-ind-bkdowns.md).
Indicator types include Automated, Formula, and Manual indicators as well as Automated and Formula Data Snapshots. The Indicator Preview shows an example of the visualization and a list of the indicator's properties.
Indicator preview example with visualization example and list of properties including source type, indicator source, indicator type, additional conditions and available breakdowns.
- Usage Insights \(available with the User Experience PAR Integration application, to users with a required role\). Choose one of up to three KPIs included with this application, depending on the visualization type. For more information, see [Usage Insights data sources for data visualizations](uxa-data-sources.md).
**Note:** You can choose multiple data sources for this visualization. However, all data sources must be of the same type: table, indicator, or Usage Insights. For more information, see [Multiple data sources](multiple-data-sources.md).
Select the options for your data source.
- If your visualization represents table data, go to Table data options for pivot table visualizations.
- If your visualization represents indicator data, go to Indicator data options for pivot table data visualizations.
- If your visualization represents Usage Insights data, go to Usage Insights data options for pivot table data visualizations.
- Under Presentation, provide display and color information.
| Field | Description |
|---|---|
| Display settings | |
| Freeze row header | Allows users to keep the header visible while scrolling to another area in the visualization. |
| Freeze row footer | Allows users to keep the footer visible while scrolling to another area in the visualization. |
| Freeze first column | Keeps the first column visible while scrolling. |
| Show alternative row colors | Toggles a background color for alternative rows to make reading the visualization easier. |
| Show alternative column colors | Toggles a background color for alternative columns to make reading the visualization easier. |
| Display row lines | Displays border lines to separate rows. |
| Display column lines | Displays border lines to separate columns. |
| Table size settings | |
| Truncate first column \[truncateFirstColumn\] | When true, limits the width of the first column. First column contents beyond this width are truncated. First column headers are not truncated. Specify this width limit in First Column max width, in px. |
| First Column max width, in px | The maximum width of the first column, beyond which its contents are truncated. This maximum width cannot be less than the width of the first column header, which is never truncated. Values lower than the header width are ignored.Only takes effect when Truncate first column is active. Default value is 200px. |
| Wrap column headers | Breaks header text into lines matching content width, with a minimum limit of 100px. Does not apply to first column.You cannot both wrap and truncate column headers. |
| Truncate column headers | Truncates header text into lines matching content width, with a minimum limit of 100px. Does not apply to first column.You cannot both wrap and truncate column headers. |
| Colors | |
| Set color type |
If the visualization has more than one metric, you see the Colors per metric option instead. This option lets you select a single color for each metric. Alternatively, you can add a rule to define a dynamic color. For more information, see Create coloring rules for data visualizations. |
- Under Chart interaction, set what if anything happens when a viewer clicks a chart or a chart segment on the visualization.
| Field | Description |
|---|---|
| Allow chart interaction | Enable an event to occur when a user clicks in a visualization or one of its segments. |
| Action | Choose the event that occurs when a user clicks in a visualization or one of its segments. Choices depend on the visualization type and data source. Applies only when Allow chart interaction is on. For more information, see Chart interactions in a data visualization.
Note: The last level of drill down in the Platform Analytics experience is always a Core UI list. Records do not open in Workspace embedded lists. Drill down to chart supports only table data sources. |
Select Save.
Navigate to All > Platform Analytics > Library > Data Visualizations to return to the Data Visualization list.
Pivot table with multiple data sources
Consider a case where you want to present the following information, split up for each assignment group:
- Number of assigned open incidents
- The average age of the assigned open incidents
- The average number of times an incident was reassigned
You can present this information in a single pivot table. Each set of information is going to come from a different data source. You have to find either three tables or three Performance Analytics indicators with this information. You cannot mix and match different types of data sources! Fortunately, you find three appropriate indicators already defined in your instance. You select them as your data sources for a pivot table.
Data sources selected in pivot table visualization config panel
You want to see these indicator scores broken down by assignment group. Therefore, you select Assignment Group under Group By. Your three data sources are going to show as three columns, so you skip the Column field and select Assignment Group as a row.
Assignment Group selected as a breakdown to group by in pivot table config panel
Now you are done. Save the data visualization and use it in a dashboard.
Completed pivot table on a dashboard
What to do next
- Add a visualization to a dashboard from the Visualization Designer
- Share a data visualization in the Visualization Designer
Table data options for pivot table visualizations
When you select a table data source for a pivot table visualization, the following Data configuration options are available.- Indicator data options for pivot table data visualizations
When you select an indicator data source for a pivot table visualization, the following Data configuration options are available. - Usage Insights data options for pivot table data visualizations
When you select a Usage Insights data source for a pivot table visualization, the following Data configuration options are available. - 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.
Parent Topic:Creating data visualizations