Skip to main content

 

ThoughtSpot

Create a formula in a worksheet

Overview

Explains what the feature is or what its benefits are to the user or customer.

Feature

You can create a formula in a worksheet by using the Formula Builder. When you do this, the result of the formula gets added to the worksheet as a column.

Use these steps to create a formula:

  1. Create a new worksheet, or edit an existing one.
  2. Click the + button next to Formulas.

    Figure: Create a new formula in a worksheet

    create_formula.png
  3. Type your formula in the Formula Builder.

    Figure: Use the Formula Builder

    formula_builder.png
    Note: Formulas elements are color coded by type and can include the formula operators and functions? (blue), the names of columns (purple)?, and/or constants? (black).
  4. If you want to change what your formula returns, use the Advanced settings.
    Depending on your formula, you may be able to change:
    • Data type
    • ATTRIBUTE or MEASURE
    • Aggregation type

    Figure: Advanced settings in the Formula Builder

    formula_advanced_settings.png
  5. You can see a list of formula operators with examples by clicking on Formula Assistant.

    Figure: Examples in the Formula Assistant

    formula_assistant.png
  6. Name the formula by clicking on its title and typing the new name. Click Save.
  • Was this article helpful?