GROUPBY is a DAX function that creates a summary table grouped by specified columns.
Syntax
GROUPBY(
Table,
[ GroupBy_ColumnName, ... ],
[ Name, ... ],
[ Expression, ... ]
)
| Argument | Properties | Description |
|---|---|---|
| Table | The input table. | |
| GroupBy_ColumnName | Optional, Repeatable | A column to group by. |
| Name | Optional, Repeatable | A column name to be added. |
| Expression | Optional, Repeatable | The expression of the new column. |