i2tutorials

Power BI – Group rows

Power BI – Group rows

 

Consider an education enrollment dataset is grouped in this example. The data comes from an Excel workbook. Power Query Editor is used to get just the columns you need, rename the table, and make a few other changes.

Let’s see how many agencies each state has. In the Transform tab or the Home tab of the ribbon, select the Group By button in the State Abbr column. (School districts, regional service districts, and others can be included.) Both tabs offer grouping options.

Power BI - Group rows

A Group By dialog box appears. Power Query Editor creates a new column when it groups rows. There are several ways to adjust the Group By operation.

To add more groupings or aggregations to a Group By operation, select Add grouping or Add aggregation. To remove a grouping or aggregation, select the ellipsis (…) to the right of the row, and then click Delete. 

 

Exit mobile version