i2tutorials

Power BI – Pivot Columns

Power BI – Pivot Columns

 

Here’s an example. Each unique product (by name) is listed in the following Products_by_Categories table along with its category. Select the CategoryName column, then select Transform > Pivot Column to create a new table showing each category’s product count.

c

A dialog box appears letting you know which column values will be used to create new columns. When you expand the Advanced options, you can select the function that will be applied to the aggregated values (if the column name CategoryName isn’t shown).

In the Pivot Column dialog box, select OK to display the table based on the transform instructions.

 

Exit mobile version