Pivot table widgets in Decision
Optimization
experiments
Last updated: Apr 04, 2024
Pivot table widgets in Decision Optimization experiments
You can add pivot tables in the Visualizationview to display data from an existing (input or
output) table aggregated in different ways.
To show data aggregated, select the table columns and rows that you want to display and select
the appropriate aggregator to compute the data for each cell.
For example, the JSON code that is generated for a pivot table is as follows:
An array of columns of the existing table that are used as pivot column headers
rows
An array of rows of the existing table that are used as pivot rows headers
tableRenderer
The type of table rendered. Choose from these options Table, Table
Heatmap, Table Col Heatmap, and Table Row Heatmap
aggregator
The function that computes the cells from the chosen columns and rows. Several choices are
available:Count, Count Unique Values, List Unique
Value, Sum, Integer Sum, Average,
Median, Sample variance, Sample Standard
Deviation, Minimum, Maximum, First,
Last, Sum over Sum, Sum as Fraction of Total,
Sum as Fraction of Rows, Sum as Fraction of Columns, Count
as Fraction of Total, Count as Fraction of Rows, Count as Fraction
of Columns
aggregatedCol1
aggregatedCol2
The name of the columns needed for those aggregators that require table columns to aggregate
the data.Count aggregators require no such column name. The Sum over
Sum aggregator requires 2 columns, and all other aggregators require one column.
About cookies on this siteOur websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising.For more information, please review your cookie preferences options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.