Create a Freehand Table
| Access Component Data in Advanced Dashboard Scripting for information on how to reference cells in a Freehand Table. |
A Freehand Table is an advanced component that provides greater layout flexibility than a Table or Crosstab, and also allows the use of formulas in table cells.
Convert a Table or Crosstab
Watch Video: Add Formulas to Table (Convert to Freehand Table)
This video might show an earlier version of the feature or operation that differs in minor ways from the current version.
You can create a Freehand Table by converting a Table or Crosstab. (This conversion cannot be reversed.) Follow the steps below:
-
Create a Table or Crosstab that is as close as possible to the result that you want. See Create a Table and Create a Crosstab for more details about these components.
The Table Editor and Crosstab Editor are simpler than the Freehand Table Editor, so it is recommended to use these tools for as much of the table design as possible. -
Right-click on the Table or Crosstab and select ‘Convert to Freehand Table’. Note: You can also access menu options from the ‘More’ button () in the mini-toolbar.

The Table or Crosstab is now a Freehand Table, and can only be edited with the Freehand Table Editor.
-
Press the ‘Edit’ button to open the Freehand Table Editor.

-
Proceed to edit the Freehand Table using the Editor as described in Create a New Freehand Table below.
Create a New Freehand Table
Watch Video: Add Formulas to a Table (Create New Freehand Table)
This video might show an earlier version of the feature or operation that differs in minor ways from the current version.
To create a new Freehand Table, follow the steps below:
-
Drag a Freehand Table from the Toolbox panel into the Dashboard.

-
Press the ‘Edit’ button in the top-right corner of the Freehand Table.

This opens the Freehand Table Editor.

-
Drag the desired fields from the data source into the table diagram in the binding dialog box.
A field name is not permitted to contain the “?” symbol when used in a Freehand Table. To display data from such a field, first create a copy of the field as a Calculated Field or as an Expression Column with a legal name (see Create a New Data Field in Prepare Your Data). 
If the Dashboard contains other Tables or Crosstabs, you can use the data in those components as the data source. Simply expand the ‘Components’ folder, and select the desired fields.
]There are two restrictions on binding a component to another component’s data:
-
This option is not available in meta-data mode. See Dashboard Options for information about meta-data mode.
-
You will not be able to filter the component using a Selection List or Range Slider. However, you can still filter the component by using a condition (see Add Conditions).
-
-
Optional: Click on any dimension that you want to group, and select the ‘Group’ option. Press the ‘Edit’ button next to the ‘Group’ option.
What is a dimension?
A dimension is used to break-down the dataset into multiple groups, often within a Crosstab, Chart, or Selection List. Adding a dimension to the ‘X’ region of a Chart distinguishes the different dimension groups by location on the X-axis. Adding a dimension to the ‘Y’ region distinguishes the different dimension groups by location on the Y-axis. You can add multiple dimensions into the ‘X’ or ‘Y’ regions of a Chart, or into the ‘Rows’ or ‘Columns’ regions of a Crosstab, to create multiple grouping levels. You can also distinguish groups in a dimension by using color, shape, size, or label in a Chart.

-
Specify the desired sorting and ranking for the group. Follow the steps below:
-
Optional: Click on any measure that you want to aggregate, and select the ‘Summarize’ option. Press the ‘Edit’ button next to the ‘Summarize’ option.
What is a measure?
A measure is generally used for aggregation, for example summation, averaging, correlation, etc., within a Crosstab, Chart, Text component, or Gauge. Adding a measure to the ‘Y’ region in a chart displays the computed aggregates by using locations on the Y-axis. Adding a measure to the ‘X’ region displays the computed aggregates by using locations on the X-axis. You can also display aggregates by using color, shape, size, or label.
Select the aggregation method. If you select a bivariate aggregation measure (e.g., ‘Correlation’, ‘Weighted Average’, etc.), select the second operand (column) from the ‘with’ menu. Optional: To display the measure as a percentage of the grant total, select the ‘Percentage’ option.
Watch Video: Add Formulas to a Table (Set Aggregation)
This video might show an earlier version of the feature or operation that differs in minor ways from the current version.
-
Press OK.
-
For any field that returns an array of values, Select ‘Expand Cell’ and set the expansion direction (‘Horizontal’ or ‘Vertical’).
Watch Video: Add Formulas to a Table (Set Cell Expansion)
This video might show an earlier version of the feature or operation that differs in minor ways from the current version.

If the cell expansion results in duplicated entries, enable the ‘Merge Expanded Cell’ option in the bottom left panel. This is a useful way to simplify the table when expanded cells all contain the same text, or when borders between the cells are undesirable. If the cells are not merged correctly by default, you may need to explicitly select the ‘Row Group’ or ‘Column Group’ for the merge. These settings determine which particular fields the merge should follow in the row and columns directions.

You may also need to set the appropriate ‘Row Group’ or ‘Column Group’ for the summarization, as shown below. To do this, click an aggregate field in the table diagram, and assign the desired grouping dimension from the ‘Row Group’ or ‘Column Group’ menus.

-
Optional: To populate a cell using script, press the ‘Edit’ button at the bottom of the dialog box. This opens the Script Editor and allows you to create a calculation based on cell values, parameter values, component values, or values from any accessible Data Worksheet.
Watch Video: Add Formulas to a Table
This video might show an earlier version of the feature or operation that differs in minor ways from the current version.

-
To add rows and columns, right-click on a cell in the table diagram and select the desired option from the context menu (‘Insert Rows/Columns’, ‘Insert Row’, ‘Append Row’, ‘Insert Column’, ‘Append Column’). To remove a row or column, right-click on a cell in the table diagram and select the desired option from the context menu (‘Delete Row’ or ‘Delete Column’).
Watch Video: Add Formulas to a Table (Add Rows or Columns)
This video might show an earlier version of the feature or operation that differs in minor ways from the current version.

To combine multiple cells into a single cell, Ctrl-click to select the desired cells in the table diagram, then right-click and select ‘Merge Cells’. This is useful when the addition of new rows or columns creates undesired blank cells. Merge these cells together so that a single label or value can be placed in the merged cell. This is typically used for static cells; see above for information on merging expanding cells.
-
To add formatting to any cell (column or row), select the desired cell or cells, and then select the Format tab in the left panel. See Add Visual Format and Add Data Format for more information about formatting options.
Watch Video: Add Formulas to a Table (Set Date Format)
This video might show an earlier version of the feature or operation that differs in minor ways from the current version.
-
Press the ‘Finish’ button to close the Editor.
Proceed to format and style the Freehand Table as you would for any Table. See Configure Table Appearance for more information about how to apply styles.
Apply Basic Sorting
| Sort and Rank above to sort groups within a Freehand Table. |
Freehand Tables do not have the ‘Sort’ button that you find in the column headers of Regular Tables. To perform simple column sorting on a Freehand Table, follow the steps below:
-
Right-click the Freehand Table and select ‘Sorting’ from the menu. Note: You can also access menu options from the ‘More’ button () in the mini-toolbar.

This opens the ‘Sorting’ dialog box.
-
Press the ‘Sort’ button next to field you want to sort.

Press once to sort the items in ascending numerical or alphabetical order. Press the button again to sort in descending numerical or reverse alphabetical order. Press the button a third time to reset the original order. When a column is sorted, its sort order is indicated by a ascending-sort arrow or descending-sort arrow next to the field name.
-
Optional: For fields with a sort option selected, change the sort priority by pressing the ‘Move Up’ button or ‘Move Down’ button .
-
Press OK to close the dialog box and apply the sorting.








