Visualization
Where: Context › Visualization, then pick a database at the top right
Who can use it: Admins and Owners can edit. Users can view but not change anything. Viewers don't see the Context page.
The Visualization tab draws your data model as a graph. Each query table is a node with its dimensions and measures, and each line between nodes is a join. A wrong join or an unclear column name leads to wrong answers, so you can open and fix any dimension, measure, or join right where you spot it on the graph.
Node structure
Each node is one query table. The header shows the table name. Below it, the node has two sections:
- Dimension: the table's descriptive columns, listed by display name. You group and filter by these.
- Measures: the table's numeric columns, under Simple Measure, and the measures defined by an expression, under Custom Measure.
A long list scrolls inside the node. For what each item means, see dimensions, simple measures, and custom measures.
Add to a table
- Select + next to the table name.
- Pick what to add:
- Add Custom Measure: define a new measure with an expression.
- Add Join Relationship: join this table to another table.
- Add Alias: add another name for the table, so questions that use that name find it.
- Fill in the side panel and select Save. Fields marked with an asterisk (*) are required.
(1) Add to the table, (2) Add Custom Measure, Add Join Relationship, or Add Alias.
An alias can use only letters, numbers, and spaces. After you save, the Query Table panel shows the table's aliases and description. Tursio shows "Table information was updated successfully."
(1) Type the alias and select Add, (2) added alias, (3) Save.
Edit a dimension
- Select the dimension in the node. The Dimension panel opens in read-only mode.
- Select Edit.
- Change the fields you need:
- Display Name: the name shown in the graph and used for the column.
- Column Description: one or more rules, each with a description. Pick the rule type (Enforce, Priority, Hierarchy, or Simplify) and type the description. Select + Add more to add a rule.
- Value Type: Identifier, Description, or Continuous.
- Ontology: extra meaning for the column, such as Timeseries. The options depend on the data type and value type.
- Sample Values: example values from the column.
- Aliases: other names for the column.
- Select Save. Tursio shows "Dimension was updated successfully."
Column and Data Type come from the database and can't be changed.
(1) Dimension in the node, (2) Display Name, (3) Column Description rule, (4) Save.
Edit a measure
- Select the measure in the node. The Simple Measure or Custom Measure panel opens in read-only mode.
- Select Edit.
- Change the fields you need. For a simple measure:
- Column Description: rules and descriptions, as for dimensions.
- Aspect: COST, PERCENT, UNIT, or UNKNOWN.
- Currency and Precision: how values are shown. Currency applies to COST measures.
- Disabled Aggregator: aggregations Tursio shouldn't use on this measure.
- Alternate: the measure's display name.
- Aliases: type a name and select Add.
- Select Save. Tursio shows "Simple measure was updated successfully." or "Custom measure was updated successfully."
A custom measure also has Measure Name, Expression, and Expression Status. On a custom measure you added yourself, you can change Aspect Name, Currency, Precision, and Expression. On one Tursio generated in training, you can change Column Description and Aliases. Fields you can't change are greyed out.
(1) Measure in the node, (2) Alternate, (3) Aliases and Add, (4) Save.
Relationships (edges)
A line between two nodes is a join. A table with no joins has no lines. Each line has a label with the join type, such as left join. Hover over the label to see the join's Primary Key, Foreign Key, Join Type, and Status.
Join status
The Join Status legend at the top right shows what each line means:
- Dashed line: Pending. The join waits for review. Joins Tursio infers during training start as Pending.
- Solid line: Accepted.
Rejected joins aren't drawn.
(1) Join label, (2) Join Status legend, (3) zoom controls.
Edit a join
- Select the join label or the line. The Join Relationship panel opens in read-only mode.
- Select Edit.
- Change the fields you need: Join Type (LEFT or INNER), Status (Accept, Pending, or Reject), Primary Key, and Foreign Key. Join Table can't be changed.
- Select Save. Tursio shows "Join relationship was updated successfully." The line changes to match the new status.
(1) Join label, (2) Status, (3) Save.
Rejecting a join
A rejected join disappears from the graph. You can't bring it back from the graph or the Tabular tab.
Navigation
Search
Use Search by table or column names at the top left of the graph.
- Type a table name or a column's display name. Results update as you type.
- Select a result. For a table, the graph centers on its node and highlights it. For a column, the graph moves to its table and highlights the column.
Zoom and pan
- Use your mouse to pan across the graph and zoom in or out.
- Use the controls at the bottom right to zoom in, zoom out, or reset the view. The minimap next to them shows where you are in the graph.
Tips and limits
- Changes mark the database for re-training. The page shows "Changes detected in the '…' connection, please re-run the training from the Settings page." Re-train the database to apply your changes to answers.
- If Enable data model editing is turned off for your role in Personalization, you can view the graph but not edit it.
- Aliases for tables and measures can use only letters, numbers, and spaces.
- To review many items at once, use the Tabular tab.