Skip to navigation

Create actions that spread values (Beta)

View as Markdown

This documentation describes one or more public beta features that are in development. Beta features are subject to quick, iterative changes; therefore the current user experience in the Sigma service can differ from the information provided in this page.

This page should not be considered official published documentation until Sigma removes this notice and the beta flag on the corresponding feature(s) in the Sigma service. For the full beta feature disclaimer, see Beta features.

Workbooks support actions that let you spread a value entered in a pivot table cell across its underlying input table rows. For example, you can enter a quarterly revenue target into a pivot table subtotal, and have that target distributed across the products that make up that total.

This document explains how to configure a Spread values action. For more information about editable pivot tables, see Edit values in a pivot table. For more information about actions in Sigma, see Intro to actions.

System and user requirements

The following requirements apply to users who configure actions. Users who access and interact with a workbook can typically trigger all existing actions within it. Any restrictions are noted in this document.

The ability to configure actions requires the following:

  • You must be assigned an account type with the Full explore or Create, edit, and publish workbooks permission enabled.

  • You must be the workbook owner or be granted Can explore1 or Can edit access to the workbook.

1If you’re granted Can explore access to the workbook, you can configure actions in custom, saved, and shared views. Actions saved to views do not apply to the workbook’s published version.

To configure the action, the workbook must contain:

  • A pivot table to use as the trigger element.
  • An input table or Sigma table to target.

Limitations

  • The Spread values action effect is only available for sequences that use the On cell edit trigger, which is only available on pivot tables. See Action triggers for more information.

  • The Spread values action effect can only target input tables and Sigma tables. See Action effects for more information.

Configure an action that spreads values

  1. Open the draft, a custom view, or a saved view of a workbook. If you open a saved view, go to the workbook header and click Customize this view to enable changes.

  2. Select the trigger element (the element users must interact with to initiate the action). The trigger element must be a pivot table.

  3. In the editor panel, open the Actions tab.

  4. Create a new sequence, or locate an existing sequence that you want to modify.

  5. Select the default action (if creating a new sequence), or click Add action to add a new action to the sequence.

  6. In the modal, configure the required fields to define the response:

    FieldDescription
    ActionTo update an input table select Spread values. To update a Sigma table, select Spread values under Sigma tables.
    Spreading ruleSelect how the value you enter is spread. Select Proportional (based on existing weights) to allocate the value in proportion to each row’s value in the Weight column. Select Evenly distributed to divide the value equally amongst all the matching rows. Select Same value for every row to assign the same value to every applicable row.
    InSelect the target input table or Sigma table that the action must modify.
    Column to updateSelect the column in the target table to modify.
    Weight column(*If you selected Proportional spreading) Select the column that sets each row’s share of the entered value.
    Match rows byMap each pivot table column to the column in the target table that holds the same values.
    Value to spreadSelect what value to spread. Select Cell value to spread a specific number that you enter in the pivot table. Select Formula to spread a value that is calculated by a formula, and enter your formula in the formula bar.
    Additional conditionConfigure when to modify rows. Select All rows to use the spread values effect on every row that matches the edited cell. Select Column value matches criteria to add a condition, such as to update only rows with an “Active” status. Select Formula to update only matching rows that meet a formula you specify, such as rows where Revenue is greater than 100.
  7. In the document header, click Publish to apply the action to the published version of the workbook.