Group a Table
Groups a table by a specified column and optionally aggregates other columns.
Last updated
Was this helpful?
Groups a table by a specified column and optionally aggregates other columns.
This procedure groups a table by the values in a specific column, and optionally aggregates other columns. This helps you organize and summarize data into meaningful categories. It's useful when you want to analyze totals, averages, or counts within each group, such as total sales by region or number of employees per department.
Below is a line-by-line overview of the automation syntax. Expand each line to learn more.
group the table by {thing}Groups the table by the specified column and applies optional aggregation on other columns.
This phrase should be written on a new line.
✅ Yes — This phrase is required.
✅ Yes — A reference to the table is required. Replace thing with the column to group by.
group the table by Projectthe other columns areProvides an optional list of columns with aggregation functions to apply.
Indented under group the table by <thing> with.
❌ No — This phrase is optional.
✅ Yes — Supported aggregation functions are Sum, Average, and Count. To specify aggregation, list the columns in this format: "{Column-Name}'s {Aggregation-Function}". For example: "Salary's Sum", "Name's Count", or "Score's Average". If not specified, a count of rows for each group will be returned.
the other columns are "Salary's Sum", "Age's Mean"create a sample table
group the table's rows by CityLast updated
Was this helpful?
Was this helpful?
group the table by City where
the other columns are "Salary's Sum", "Age's Mean"
