While working in Virtuous Analytics, you have the option to use "Actions" to work further with your data. Actions are user-defined interactivity that you can configure within and across workbook elements using Conditions, Triggers, and Effects. By automating responses to specific user interactions, you can create efficient workbook workflows that produce quick and relevant data insights. This article will outline what Conditions, Triggers, and Effect are and how you can work with Actions.
To access Actions, select an Element in your Workbook and find the Actions tab in the Element Properties.
Example
In the example below, the Action defined reads as "When selecting cells in the 'Contact Name' column, a specific Sigma doc (Virtuous Analytics Workbook) will be opened. That specific destination being the "Major Giving Performance" Workbook. A specified section of the workbook has not been defined, but you have the option to do so. This workbook will open in a new window.
Understanding Actions
Every action consists of a Trigger and an Effect. The Trigger is the user interaction with a specific Element (the Trigger element), and the Effect is the defined response to the interaction. Actions have the option to include a Condition to determine when an Action or sequence of Actions executes.
Action Conditions
You can define an optional Condition for any Action sequence to control the circumstances in which the Actions in that sequence should take effect. The Condition can be a custom formula or, if you are configuring an Action for a Control, the Condition can be the value of the Control.
To make an action sequence conditional, click the 3 dots of your Action sequence, then click Add condition when creating or editing the action.
Action Triggers
Most Element types can be configured as action triggers. The following table describes the user interaction that can trigger an effect for each element type.
Element Type | Interaction |
Data: Table, Pivot Table, or Input Table | User selects a cell in a specific column. |
Chart | User selects a data point or category on the chart. |
UI Element (Button or Image Only) | User clicks the element. |
Control Element | User changes the control value. |
Modal Layout | User clicks the primary or secondary button or closes the Modal. |
Action Effects
The following table lists the types of actions you can configure on a trigger element and describes the corresponding effect.
Type | Action | Effect |
Navigation | Open URL | Navigates to an external link or destination within Virtuous Analytics. |
Open Sigma Doc | Navigates to a different Virtuous Analytics workbook. | |
Navigate in this Workbook | Shifts the focus to the top of a specific page or an individual element in the current workbook. | |
Download and Export | Initiates a direct download or an export to email, Slack, webhook, or cloud storage. | |
Controls | Set Control Value | Sets the value of a specific control element in the current workbook. |
Clear Control | Clears the values of a specific control element in the current workbook. | |
Elements | Modify Element | Modifies an element's columns, groupings, properties, or axis scale. |
Refresh Element |
Refreshes the data of a specific element in the current workbook. Note: This action doesn’t apply to materialized elements. |
|
Input table Modification | Insert, Update, and Delete Rows in Input Table | Inserts, updates, or deletes a new row in an existing input table. |
Modals and tabbed containers |
Open Modal |
Opens a modal in the current workbook. |
Close Modal | Closes an open modal. | |
Select Tab | Displays a tabbed container opened to a specific tab. |
Action Configurations
Actions feature versatile configurations to support responses that are highly relevant to your specific needs and preferences when working in Virtuous Analytics.
A few examples include...
- Configure the Open URL action to open a static link, or utilize dynamic text to generate URLs that adjust to control or column values in the current workbook.
- Configure the Set control value action to filter the trigger element itself, or create a cross-element action that filters a child element.
- Configure the Open Sigma doc action to open another workbook in its published state, or pass values to control elements in the destination workbook to open a custom, drilled-down view.