Add a Group by transformation

The group by transformation allows you to group rows that share the same values in one or more fields. It’s similar to the SQL GROUP by clause. Use this when you need to aggregate data based on one or more fields, such as grouping by a specific category or region.

To use the group by transformation, complete the following steps:

  1. Open your dashboard in edit mode.

  2. Click Transformations tab and click + Add transformation button.

  3. Select or search for Group by.

  4. Select Group by on the dropdown of the field(s) that you want to group by.

  5. To add various calculations on the other fields and apply the calculation to each group, select Calculate and a calculation type on the dropdown of the field(s) that you want to calculate.

  6. The transformation should be applied automatically. If not, click Refresh to verify the visualization looks as intended.

    The following image shows a group by transformation that groups all similar Region together and calculates the total Sales amount per region.

    Sales revenue visualization using the Group by transformation

  7. Save your dashboard.

More to explore (optional)

At this point in your journey, you can explore the following paths:

Group by

Calculation types


page 5 of 10