-
Notifications
You must be signed in to change notification settings - Fork 12
SaaS Reporting Tutorial Action Worksheet
We'll show an example of how to create a query referencing data from the "Actions Worksheet". Specifically, we'll create an Answer that shows the actions Turbo has executed over the past 30 days.
-
Login to Thoughtspot.
-
Click on the
Search databutton on the top.

-
On the left, locate the
Sourcessection. Click on the wrench to select a source.

-
In the
Worksheetssection, check the box for theActionsworksheet. ClickDone.

-
Let's add some filters first to help speed up the query.
- On the left-hand side, hover your mouse over
Datetime (UTC)and click thefiltericon.
- From the drop-down, select
Last. Then fill out30andDays. ClickApply.
- On the left-hand side, hover your mouse over
Stateand click thefiltericon.
- A list of possible "states" will appear. Check the box for
SUCCEEDED. ClickApply.
- On the left-hand side, hover your mouse over
-
Now let's add some columns to our query. On the left-hand side, double-click on the following columns to add them to the query box at the top:
-
Datetime (UTC)- when an action was executed -
Description- a brief description of what the action was -
Type- the type of action taken (move, resize, delete, etc) -
Target Type- the entity the action was taken on (vm, container pod, volume, etc) -
Environment- the environment where the entity lives (cloud, on-prem, hybrid)
-
-
To run the query, click
Goin the top right corner. Data should now populate in the table showing all the actions that succeeded in the last 30 days.

-
By default, the
Datetime (UTC)is showing the data by Month-Year. Let's change that to show the day the action was executed. In the query bar at the top, typedailyand clickGo. -
In order to visualize this data, we need to add a metric. In the query bar at the top, type
unique count idand clickGo. -
Now let's take these query and add a visualization. Click on the
View Charticon beneath the query bar. -
A default visualization will appear. Let's make some modifications. Click on the
Change visualizationicon on the right. -
Select
Stacked Column. -
Click on the
Edit chart configuration(gear) button on the right. -
Drag the entities according to the following organization:
- X-axis:
Daily Datetime (UTC)
- Y-axis:
Unique Count Id
- Slice with color:
EnvironmentTarget TypeType
- Not visualized
Description
- X-axis:
-
Click
Apply -
Your query and visualization are complete! You can now see the trend of executed actions over the last 30 days organized by Environment, Entity Type, and Action Type.
-
Now let's save this visualization (Thoughtspot terminology: Answer). Click on the
Moreicon (three dots) and selectSave. Provide aNameandDescriptionfor your visualization and then clickSave Answer.- Name:
Action Execution Trend - Description:
Actions executed in the last 30 days organized by Environment, Entity Type, and Action Type.
- Name:
-
Now, let's assign this A 18
Embedded Reporting
SaaS Reporting
- Overview
- Official Documentation
-
Tutorials
- Creating Custom Answers
- Action Worksheet
- Entity Metrics Worksheet
- Cloud Entities Worksheet
- Import Community Answers/Pinboards
- Creating Custom Answers
- Community Answers & Liveboards