Tables in the classic Workbook Editor
This page covers the table object in the classic Workbook Editor. To show a table in a Data App instead, see Choose a chart.
A table shows exact values in rows and columns. A column can also show a value as an image, a link, a progress bar, an indicator icon or a mini chart, and conditional coloring can highlight cells or rows.

Add a table from the Visuals list and set it up on its tab in the properties panel, which has Data, Filter, Style and Layout tabs. For the Filter tab, see Filters. For adding objects and the Container settings every object shares, see Objects.
Choose a table type
Section titled “Choose a table type”The first section of the Style tab sets the table type. Its title names the current type.
| Type | What it shows |
|---|---|
| Table | A straight table: one row per combination of dimension values, one column per dimension or measure. |
| Expandable table | Row dimensions form a hierarchy that viewers expand and collapse. |
| Pivot table | Dimensions down the left as rows and across the top as columns, with the measures in the grid. |

The section appears only when the table’s data source supports expandable or pivot tables. If it is missing, the table is a straight table. Many settings depend on the type; this page notes where one applies to some types only. See Pivot and expandable tables for the settings of their own.
Add columns
Section titled “Add columns”On the Data tab, the column sections depend on the table type:
- Table: Columns. Select + to add a Dimension, Measure, Calculated column, Calculated conditional column or Action button. Drag a column’s handle to change the order.
- Expandable table: Dimensions and Measures.
- Pivot table: Rows, Columns and Measures.
Expand a column to set it up. Its switch turns it on or off.
Column settings
Section titled “Column settings”Dimension and measure columns share most settings:
- Custom label: replaces the column header with text you type or a variable’s value.
- Format (Format type on a dimension): how values are formatted.
- Visual representation: how each value is drawn. See Show values as images, links or charts.
- Show null values: includes rows where the value is null. On by default. Not shown for progress bars, indicators, images and mini charts.
- Hide column (straight table): keeps the column in the query and the table’s set-up but does not show it.
- Editable (straight table): lets viewers edit the cell as part of a writeback. See Write back 101.
- Events (straight table): Make selection on click (dimensions only) selects the value as a filter, Show tooltip on hover shows a tooltip, and Emit events sends on-click, hover and leave events that can run actions. The first two are on by default.
- Advanced calculation (measures in a straight table): running totals, period-over-period and similar calculations. See Chart calculations.
On a pivot table, a measure also has Always show labels.


Show values as images, links or charts
Section titled “Show values as images, links or charts”Under Visual representation, pick an icon:
| Representation | Column | What it shows |
|---|---|---|
| Text | Both | The value as it is. The default. |
| Html | Dimension | Markup from a field you pick as the HTML Field. |
| Markdown | Dimension | Markdown from a field you pick as the Markdown Field. |
| URL | Dimension | A link to the address in the value. The link text comes from another field (Field) or text you type (Custom). Text fields only. |
| Image | Both | The image at the address in the value. Set Max height, Fit type and a Fallback URL to load if the image fails. |
| Progress bar | Measure | A bar filled to the value. See Progress bars. |
| Indicator | Measure | An icon beside the value, chosen by ranges of values that you set. |
| Line chart | Measure | A mini chart for each row. See Mini charts (sparklines). |
| Bar chart | Measure | A mini chart of bars for each row. |
Expandable and pivot tables do not offer Html or URL. Dimensions across the top of a pivot table show text only. A measure on a text field shows a progress bar or indicator only when it is a count.

Progress bars
Section titled “Progress bars”By default, a progress bar runs from 0 to 100. Type the start and end values, or select Dynamic scale to take the range from the values in the table: from 0 to the largest value when all values are positive, from the smallest value to 0 when all are negative, and from the smallest to the largest otherwise.

Mini charts (sparklines)
Section titled “Mini charts (sparklines)”A mini chart draws a small line or bar chart in each row of a measure column, so the table shows a trend for every row without a separate chart.

- On the Data tab, expand the measure column.
- Under Visual representation, select Line chart or Bar chart.
- Pick the dimension that splits the measure into points, such as a date. In each row, the measure is calculated for each value of that dimension.
- Optional: set Data limit, the number of points per row.
- Optional: for a line, select Show data points or Include null values. When the dimension is a date, Use same start date starts every row’s chart on the same date.

To change colors and shapes, see Visual representation styles.
Calculate a column from other columns
Section titled “Calculate a column from other columns”These column types are available in a straight table.
Calculated column combines two measure columns of the table. Pick the first column, an operator (+ Add, - Subtract, * Multiply, / Divide or Growth) and the second column, then optionally set a Custom label and a format. The column lists offer every measure column in the table, including hidden ones. A common use is to compare the results of two advanced calculations: hide those two columns and show only the calculated column.

Calculated conditional column shows one value when a condition holds and another when it does not. Each condition compares a column with a value or with another column, using Greater than, Less than, Greater than or equals, Less than or equals, Equals or Not equals. Add condition adds up to three conditions, joined with And or Or. Type the results in Then and Else.
Add an action button column
Section titled “Add an action button column”An Action button column puts a button in each row of a straight table, usually to start a writeback or another action with that row’s values.
- Simple label: the same Label on every row. The default is “Click here”.
- Advanced label: a Prefix, the value of a Column and a Suffix, so each row’s button has its own label.
- Map variables: when a viewer selects the button, each mapped variable takes the row’s value from its column.
- Emit events and Actions: run actions when a viewer selects the button.


For variables, see Variables.
Sort a table
Section titled “Sort a table”The Sorting section of the Data tab sets the order:
- Drag the columns in the list to set which sorts first, and select a column’s arrow to change its direction. Reordering is available in a straight table only.
- Sort by measure (straight table) adds a measure that sorts the table without being shown.
- Disable interactive sorting stops viewers from sorting by clicking a column header.

For sorting a pivot table by a measure, see Pivot and expandable tables.
Show totals and a record count
Section titled “Show totals and a record count”In the Totals section of the Data tab, turn on Show totals to add a total row. In a straight table, Show record count then adds the number of rows to it. Style the total row under Totals on the Style tab.

Freeze columns
Section titled “Freeze columns”In a straight table, Number of the frozen columns under Display settings on the Data tab keeps that many columns on the left in view while viewers scroll sideways.
Style the table
Section titled “Style the table”The Style tab includes these sections after the table type:
- General: Conditional coloring, the font and size of the rows (13 px by default), Background (None, Single or Zebra, which alternates two colors), and Highlight on hover (Row, Column or Row and column, with highlight colors). In a straight table, Show row count column adds a numbered column on the left; rename it in Rank column label (“Rank” by default).
- Header: background, text, font, font style, Align and Border, plus Hide header and, in a straight table, Header as chip, which shows header cells as chips. In any table except a pivot table, viewers can drag column headers to reorder the columns.
- Row column (pivot and expandable tables): Responsive width for the row dimension column.
- Columns: pick Style all columns or one column, then set its background, text color, font style, horizontal and vertical alignment, Min column width, Divider lines (Auto, Show or Hide) and when the Sort icon and Filter icon appear: Active (when the column sorts or filters the table, the default), Always, On hover or Hide.
- Visual representation: styles for progress bars and mini charts. See Visual representation styles.
- Border: Table border with its color, line type and width, and Table radius.
- Divider lines: Auto, Show horizontal, Show vertical, Show all or No borders, and their Color.
- Totals: the total row’s background, text color and font style, and Show at top (the default) or Show at bottom.






Conditional coloring
Section titled “Conditional coloring”Conditional coloring opens a dialog with Dimension rules and Measure rules. Each rule sets a Text color and a Background color for cells that match. In a straight or expandable table, a rule can color the whole row, and a measure rule can compare with a variable’s value, so viewers can change the coloring. A measure rule can also color by a gradient across a range.



Visual representation styles
Section titled “Visual representation styles”The Visual representation section appears when a measure column uses a progress bar or a mini chart. If several do, pick the column from the list at the top.
- Progress bar: Background, Bar color, Show range labels (the start and end values), Show value with its Position (Outside, Inside, Left or Right) and Bar radius.
- Line chart: line color, line type and width.
- Bar chart: coloring method (Single, Categorical or Gradient), Bars color, Negative bars color, Bar padding, Bar radius and Y-axis start.





Set the layout
Section titled “Set the layout”The Layout tab sets column widths and row content:
- Columns: Fixed width (the default) uses the width set for each column on the Style tab; Auto-width sizes columns to their content, no narrower than Min width (70 px by default).
- Content:
- Merge cells by value (straight table): merges neighbouring dimension cells with the same value.
- Word wrap header row and Word wrap content: wrap text that does not fit. For content, a slider sets the maximum number of lines.
- Fixed row height: gives every row the same height, 34 px by default. Turn it off to size rows by their content.




Pivot and expandable tables
Section titled “Pivot and expandable tables”These settings apply to pivot tables, expandable tables or both:
- Always fully expanded (both, under Display settings on the Data tab): shows every level of the row hierarchy without viewers expanding each one.
- Measures (both, Layout tab): Column (the default) or Row. As rows, each measure gets its own row under each row value, with a Values heading you can rename.
- Visualization limit (both, Limiting section of the Data tab): limits the data fetched from the database, which does not match the number of visible rows one for one. The maximum is 100,000.
- Sort by measure (pivot, Sorting section): turn it on to order the table by a measure instead of by dimension values. Pick the Measure, the Direction (Ascending or Descending) and Apply to (Rows or Rows and columns). Show sort by measure chip shows this sort in the table.
- Apply to (pivot, Totals section): totals for Rows, Columns or Rows and columns. A pivot table has no record count.
- Show columns total at the end (pivot, Totals section of the Style tab, with Show at bottom): moves the column totals to the right-hand end.
- Dimension column (pivot): Merge, No repeat or Repeat for repeated row values.
- Indent mode (pivot, Layout tab): shows row dimensions indented in one column instead of side by side.
- Start scroll at the end (pivot, Layout tab): opens the table scrolled to the right.
- Column export limit (pivot): limits the columns in an export, from 20 to 1,000.
A pivot table exports with its pivot layout rather than as flat rows. See Export an object’s data.