Using a Table Visualization
This applies to: Managed Dashboards, Managed Reports
A table visualization lets you display data from a metric set using a tabular view. A table is also known as a data grid or data table, and it is the default type of visualization used when first selecting data if you did not choose another type.
Elements of a Table
The figure below shows the main elements of a table visualization.
Adding a Table
Drag a Database Table or Spreadsheet
One way to create a table visualization is to drag a table or sheet from under a data connector in the Explore window to the canvas of a metric set or dashboard.
This method of adding a table is mostly for previewing data because it uses the raw data retrieval mode, which means it has some limitations.
Re-visualize
If you already have a visualization of a different type, you can Re-Visualize it from the toolbar to a Table. It is listed near the beginning of the options.
After you have selected a re-visualization, all of the existing data is displayed as a table using the default settings.
Note: To visualize an existing metric set with a different default visualization as a table on your dashboard or other view, select Data Visualization > Table in the toolbar, and drag the metric set from Explore onto the empty table.
Add Data
To create your own new table:
If you are editing a view such as a dashboard, navigate to Data Visualization in the toolbar and choose Table if you know you want a table, or in other types of views where data is visualized as a data label by default.
Expand to find a data cube or data connector in the Explore window, and find a table column or a cube's measure or dimension/hierarchy listed below it.
Drag it to the canvas of a new metric set, onto the canvas of a dashboard you're editing, or onto an empty table visualization if you already added one. You can also click to select it as your starting data in a new metric set.
It will initially appear as a table visualization. Numeric data will appear as a single cell showing an aggregated value such as the sum; otherwise, it will appear as a single column of hierarchy values.
Now drag more data anywhere on the table, or onto the Data Analysis Panel.
Your data may be re-visualized automatically according to the recommendation engine if you haven't chosen a visualization yet. To keep using a table, you can drag data onto one of its labeled areas, such as Row Header for non-numeric data like country names.
If needed, you can always click the highlighted Re-visualize button in the toolbar and change it back to Table.
Like all visualizations, the table displays its data using a metric set, which determines the data to display and data-related settings.
Row Headers Versus Flat Columns
Non-numeric data is usually displayed as row headers, but can also be displayed as a 'flat' column like numeric data. See the table elements diagram to compare them.
Row headers are always displayed on the left (and frozen there when scrolling horizontally), and they display how data is grouped using cells that span multiple rows instead of repeating the same value in consecutive rows. Viewers can drag and drop their column headers to re-order them and change the grouping, and expander buttons can expand or collapse values. The order of these columns is maintained when sorting, unless you choose to change it.
Flat columns of regular cells have a wide variety of customization options. They can be placed in any order (to the right of any row headers), and dragging and dropping their column headers is unrelated to how the data is grouped. When sorting non-numeric data in a flat column, it is automatically grouped so that it takes priority for sorting.
Flat Columns
To change how non-numeric is displayed, you can right-click a row header column, select Re-Visualize, and then Flat Column.
Similarly, you can select Row Header Column on a flat column.
Alternatively, open the Visualization tab of the Data Analysis Panel and move a hierarchy from Row Header to Column or vice versa.
Note: Hold Shift on the keyboard while dragging to move it instead of copying it.
Flat Table
To quickly change the entire table to flat columns, select the table and find Flat Table in the toolbar under Re-Visualize.
For a table with flat columns, you can choose Row Header Table.
Note: This re-visualizing affects the entire table and can reset column ordering and properties.
Table Properties
Some important properties for customizing your table can be accessed from the toolbar, such as row header layout, how to display totals, and auto- fitting of columns.
Use the Quick Access Properties popup to customize properties such as colors and fonts by right-clicking where you want to make a change, such as on a row header or an alternating row back ground.
Users with access to the Properties window can customize every aspect of the table's appearance and layout. Some important properties are described in the sections below.
Note: In the Properties window, hover over (or long-tap) a property to see its description in a tooltip popup.
Column Properties
Cell columns ('flat' columns) have a wide variety of settings you can use to customize them.
Under Columns, select a cell column to customize in the Properties window in the General tab. You can also click directly on a column in the table, or right- click and select Column Properties.
Note: Row Header Columns are displayed differently and have fewer settings as they are primarily for indicating the data grouping. You can choose to display data as flat columns instead of row header columns.
If you want to add new columns, you can use the Data Analysis Panel's Visualization tab. Alternatively, you can click the + button in the Properties window shown above to add a new column there and configure it entirely through its properties such, as Custom Text.
Column Type
By default, flat column values are displayed as text, but you can change the column type to one of the other supported column types:
Image – Displays images at URLs/addresses from or based on your data, similar to a data image, as set in the
Image Pathproperty.Hyperlink – Provides clickable links to navigate to URLs or addresses from your data.
State Indicator – Uses a state indicator in each row to display symbols or other visuals based on each row's states.
Bullet Graph – Displays a bullet graph type of gauge in each row.
Data Bar – Displays a simple horizontal bar chart in each row.
Checkbox – Visualizes data as a checkbox that is checked or unchecked based on values such as True or False, or zero or non-zero.
For example, change the Column Type property to Data Bar. The table now shows data bars in the LineTotal column instead of text values.
Instead of using the Properties window, you can also change the column type from the context menu.
Right-click the table column to open its context menu, select Re-Visualize, and then select the new column type, for example, Bullet Graph Column.
Some of the column's properties in the Properties window will be specific to the selected column type. For example, you can further customize State Indicator, Data Bar, and Bullet Graph columns by selecting the Customize option.
Data Bar and Bullet Graph columns also have the Header Axis option, which replaces the column header text with an axis and can be further customized by selecting Customize axis.
To customize how measures and other data are visualized by a data bar, bullet graph, or state indicator column, select the column and open its Data Analysis Panel to the Visualization tab. The same visualization options are available as for an individual chart, bullet graph, or state indicator.
Frozen Columns
The Frozen property is in Layout & Spacing.
This puts the column to the left of non-frozen columns. Similar to row header columns, the position of frozen columns will not change when you scroll the table.
Note: This property is not available when using Columns in the metric set or assigning data for Column Headers.
State Styles
You can set up states on your metric set and use State Styles on table columns to change the appearance of different cells based on conditions. The article Set Up States on a Metric Set demonstrates this using a table visualization.
When using state styles, you can choose to apply them to the whole row instead of just the cells of that column by using the Apply State Styles To Entire Row property.
Note: When using column grouping with this feature, the style will be applied to the row within that column group, not the whole table.
After selecting this option, you can also choose to apply the state styles to the row headers in each row by selecting the property Apply State Styles To Row Headers that appears.
This will apply to row headers that do not span multiple rows. For row headers that span multiple rows, consider setting up color rules on the column in the table's Row Header Columns property instead.
Color Rules
Change the color of each cell in a column according to its data using color rules. Expand the Color Rules category of a column's properties.
There are three types of color rules you can apply:
Auto Color Rule - Automatically determines colors and corresponding ranges based on the values in the cell. Click the + button to add to a measure column.
Range Color Rule - Sets up each range of values and its corresponding color yourself. Use the menu icon to the right of the property to choose this rule type.
Discrete Color Rule - Sets up the corresponding color for a hierarchy member. Click the + button to add a rule for each value of a hierarchy column.
Select the added color rule to further customize the applicable range or values, color, and legend text. Color rule properties are the same in all visualizations. See Apply colors to data points or series using color rules for more details and examples.
Note: There is a similar Color Rules property in the table's Row Header Columns that supports adding a discrete color rule for each value.
Custom Text
You can go to the text properties of a column to customize its cells' text. There are separate options you can open for headers vs. cells/rows.
For cells, the Text property is read-only and indicates what data this column is connected to.
If you want to change the cell text, use the Custom Text property. When unset, it will display the data connected to this column. You can set it using one or more placeholder keywords for the data added to the Data Analysis Panel, and you can combine this with regular text. Keywords also support optional formatting if you don't want to use a time dimension's or measure's formatting options. See Display Date Only on Column Instead of Date/Time, and Formatting Text for more on keywords.
Use the Header Text property to change the text displayed in the column header. This property supports regular text, as well as keywords such as [Product] to refer to a hierarchy placed on Columns in the metric set.
Note: Custom text and formatting set up in visualization properties are not included when exporting to Excel, but the metric set format settings are.
HTML Formatting
If your data contains HTML tags that you want to apply for formatting rather than display as text, select to Allow HTML From Data.
This option is located below the Custom Text property described in the previous section, and it is only available when no custom text is set.
Custom Groups
In the column's text properties, open the Group Header settings and set Group Text to display another header with your provided text above the regular column header.
Add the same Group Text to other columns to group them together.
Go to the Lines & Fills category to customize the other group header appearance.
Note: The Right Border Color of the group header will take precedence over the Left Border Color of the following group header.
Tooltip
When you hover over or long-tap a table cell, a tooltip appears by default showing the data associated with that cell/data point. Switch to View mode first if editing a view.
Customize which data is shown in this tooltip, including adding data not already displayed directly in a column's cells. In the Data Analysis Panel, select Visualization and expand Tooltips to find the data assigned for each column. This same interface is used for customizing various aspects of all visualizations. See Setting Up the Visualization. Select the paintbrush icon next to the heading as a shortcut to the corresponding property described next.
The Properties window provides more options and control over the formatting of the tooltip text. In the columns text properties, open Cell Font & Text to find the Tooltip property. Like the Custom Text property, this can be set using both regular text and placeholder keywords for inserting data. For more information on keywords including formatting options, see Formatting Text.
Column Headers
The General tab of the table's properties contains several options determining which column headers should be displayed.
Use the Design tab instead to customize their styling, including options like rotated column header text.
Redundant Column Headers
A table with a hierarchy placed on Columns in the metric set, such as Product, repeats the column headers for each columns' hierarchy value. For example, repeat OrderQty for each Product value.
This is displayed for consistency even if there is only one column while you perform your analysis, and this single column header is repeated in this case.
You can hide these column headers by unchecking the Show Redundant Column Headers property.
The above functionality will work even if two column headers have been previously merged into a single column header via the Allow Column Header Merging property.
Merging
When your table has two adjacent columns with the same header text, you can merge the text into one header by selecting Allow Column Header Merging.
For example, in a table with two columns that correspond to the same data, where one displays values directly as text and the other shows state indicators, you can merge their two column headers into a single one spanning the columns.
Column Hierarchy Headers
When working with data organized into columns, you may want to identify each row of headers displaying the values of a hierarchy placed on Columns in the metric set.
Select the Show Column Hierarchy Headers property to identify each of these rows to their left.
Under the Column Hierarchy Headers property that appears, select a hierarchy to customize how its headers appear.
If the hierarchy has multiple levels, click to add a Level Customization for each level you want to customize.
Expanders
If you want to hide expanders from a table's row headers, click to edit the column from the table's Row Header Columns and select Hide Expander, located under Animation & Interaction.
For other options, go to the overall table properties, switch to the Design tab, and expand Animation & Interaction.
Uncheck
Allow Collapsing Separate Hierarchiesto show expander buttons only when displaying an upper level from a multi-level hierarchy.Select the
Show Expanders Only On Hoveroption if you want to show expander buttons only when hovering over them or after tapping their cell.
To change the color of the expander buttons in row or column headers:
Go to the Design tab of the overall table properties.
Under Header, Row, & Cell Styles, click to edit
Row HeadersorColumn Headers.Under Lines & Fills, set the
Expander Color.
.
Sorting and Filtering
Hover over column headers in view mode to access sorting and filtering options. Select the menu icon that appears to view the Sort and Filter menu.
In edit mode, you can choose to show only the Sort options or only the Filter options in this popup: in the General (or Main) tab of the table's properties, expand Sorting & Filtering and uncheck Show Filtering Options or Show Sorting Options.
Hide the menu altogether by unchecking Show Sort & Filter Menu.
Note: For more information about sorting, see Sorting a Table Visualization.
You can use an icon over column headers to indicate when filtering is applied.
Choose how this indicator appears for filtered columns using the Indicate Indicate Filtering property:
On Hover – A filter indicator will appear when hovering the mouse cursor over a filtered column or after tapping it.
When Filtered by Viewers (default) – A filter indicator will appear on its own, but only if the filtering was applied by viewers of a checked in metric set (not while checked out to you).
Always – A filter indicator will always be present for a filtered column.
Totals
The settings that determine which totals are displayed are on the metric set, for example, to show them only for some hierarchies, or only on rows or columns.
When totals are enabled, the table's properties described below can customize where they're displayed. To customize their appearance, see the total style properties in the Design tab.
Freeze Total Rows
In the Design tab, expand Layout & Spacing to find the Freeze Total Rows property. You can also toggle this easily from the toolbar as shown below.
When enabled, the grand total and nearest subtotal are always displayed at the edge of the table, even when scrolled out of view.
Show Totals at Start or End
You can decide between showing total rows at the top or bottom, and total columns left or right.
Enable or disable the Show Totals At The End property, found in the Design tab under Layout & Spacing, or use the toolbar as shown below.
Item Counts in Subtotals
When working with any table that includes subtotals, you can hover over its cell to view the number of items that made up that subtotal amount. Subtotals are displayed if enabled in tables with multiple hierarchies or multiple levels, including when a member is expanded.
This can be helpful as context for the subtotal amounts when doing analysis.
If you prefer to display this item count in the cell text of the table itself, enable the Show Item Counts In Subtotals property, found in the Design tab of the table's properties, under Font & Text.
Design
The Design tab of the table's properties is the main place for customizing the styling for each part of the overall table.
Expand Header, Row & Cell Styles to find a list of different parts of the table that each have their own settings as described in the following sections. These styles are are also indicated by icons when you move the mouse over a table in edit mode. You can select the icon to jump to the setting in the Properties window.
Some appearance properties are also available on individual columns, which take priority when set.
Note: There are a variety of built-in table styles within the Styles > Shared folder that you can apply as a shortcut.
Column Header Style
Use the Column Header Style to change the appearance for column headers displayed directly above data cells, as well as for any additional column headers displayed when a hierarchy is placed on Columns in the metric set.
Use the categories to access all the options. For example, under Font & Text, you can enable Rotate Column Header Text and set a rotation angle.
Total Styles
To change the appearance of rows or columns containing totals, use the total, grand total, and frozen style properties:
Total Rows- Change the appearance of rows containing the grand total and subtotals, with separate settings for row headers vs. regular cells.Grand Total Rows- Change the appearance of the whole row containing the grand total. These properties take precedence over the Total Rows style when set.Frozen Rows- Change the appearance of total rows that are displayed as frozen at the edge of the table when scrolled out of view (if enabled), with separate settings for row headers vs. regular cells.Grand Total Columns- Change the appearance of the grand total column, with separate settings for column header vs. regular cells.
Corner Area Style
The corner area of a table visualization is above the row headers and to the left of the column headers, used to display headers identifying each column of row headers (and column hierarchy headers if enabled).
The Corner Area style applies to this area.
Alternating Row Style
To add or customize alternating row styling in a table, use the Alternating Rows style properties.
You can change the background color of the alternating rows, for example.
The alternating row style is applied to the cells displayed to the right of any row headers when the Row Header Layout is set to Columns. General cell styles including the alternating row style are also appy to row headers when this property is set to Indented instead.
Cell Note Style
When you add a note (annotation) on a table cell, the note appears as a small, red triangle in the top right corner of the cell. Hover over this triangle indicator in view mode to see the details of the note.
To customize the appearance of the cell note, go to the Cells style, and find cell note settings under Layout & Spacing and Lines & Fill.
Animate Cell Value Changes
When a measure value (number) changes, its cell can be animated to call attention to viewers. This can be useful when the table is set up to automatically refresh, or as a result of filtering or other interactions. Animations apply where the measure value corresponding with a particular hierarchy value changes (not when the hierarchy values change).
Go to the Design tab of the table properties and under Animation & Interaction, enable Animate Cell Value Changes and select the Animation Type:
Highlighttemporarily changes the background color of the changed cell. This animation type comes with the option to select the highlight color.Slidemoves the values in the direction of the change. Values that go up will slide up, and values that go down will slide down.
Layout
Row Header Layout
In the Design tab under Layout & Spacing, is the Row Header Layout property. You can also use the toolbar to change this property as shown below.
By default, this is set to Columns, which means each hierarchy or hierarchy level has a separate column with its own column header.
When the row header layout is set to Indented, row headers are displayed compactly in the same column, and each hierarchy or level is indented separately within it.
You can control the width of this column and the amount of indenting using the properties Indented Column Width and Indentation respectively.
You can customize the Indented Header Text shown above this single column of row headers in the Font & Text category.
The indented option requires the following:
Totals must be enabled on the metric set. To find this setting, select the Edit button in the Data Analysis Panel and set Shown Totals. If you want to hide the grand total you can use the table's
Hide Grand Totalproperty instead.Totals should also not be disabled on the hierarchies displayed as row headers. Each hierarchy listed in the Data Analysis Panel has its own Shown Totals setting you can click to edit.
The table must be set to show totals at the top, because each level is indented below.
Auto Fit Columns to Fill
By default, columns are automatically sized to fit their content. When you resize a table wider than is needed, you'll see an area of white space.
In the Properties window Design tab under Layout & Spacing, select the Auto Fit Columns To Fill option for the columns to expand to fit the table's available width. You can also use the toolbar.
For more information, see:
Comments
0 comments
Please sign in to leave a comment.