Skip to main content




The pivot table option in Power BI converts selected rows to columns. Let me show you how to create pivot table or convert non-pivot table to pivot table in Power BI with an example.

How to create a Power BI pivot table

To create a Power BI pivot table or convert a change to a pivot table, click the Edit queries option under the Home tongue.

pivot-table-in-power-bi-1-3672494

Clicking Edit queries The option opens a new window called Power BI Power Query Editor.

In this example, we are going to rotate the calendar year column based on the order quantity.

pivot-table-in-power-bi-2-7769779

To convert the table without divisions to a pivot table, go to Transform Tongue. In this tab, you can find the pivot column button as shown below.

pivot-table-in-power-bi-3-9924004

Clicking on the Dynamic Column button opens the following window.

pivot-table-in-power-bi-4-7678927

Let me select the order quantity as the value column

pivot-table-in-power-bi-5-9242498

Next, we select the sum as the value of the aggregate function

pivot-table-in-power-bi-6-7520588

Now you can see the pivot table

pivot-table-in-power-bi-7-7994216

What if your table has more than one static column (a column that will not change in the pivoting process)? For this, we add one more column called Product Id to this table.

pivot-table-in-power-bi-8-2271357

Let me select the Order Quantity column as the value column and Sum as the aggregate function

pivot-table-in-power-bi-9-7799314

Now you can see the pivot table in Power BI. Remember, having more than one static column without changes will make no difference in creating a pivot table.

pivot-table-in-power-bi-10-4739040

Then press the Close and apply option under the Home tab to apply these changes.

pivot-table-in-power-bi-11-4622104

In the following screenshot, you can see the dynamic columns.

pivot-table-in-power-bi-12-5153738




The pivot table option in Power BI converts selected rows to columns. Let me show you how to create pivot table or convert non-pivot table to pivot table in Power BI with an example.

How to create a Power BI pivot table

To create a Power BI pivot table or convert a change to a pivot table, click the Edit queries option under the Home tongue.

pivot-table-in-power-bi-1-3672494

Clicking Edit queries The option opens a new window called Power BI Power Query Editor.

In this example, we are going to rotate the calendar year column based on the order quantity.

pivot-table-in-power-bi-2-7769779

To convert the table without divisions to a pivot table, go to Transform Tongue. In this tab, you can find the pivot column button as shown below.

pivot-table-in-power-bi-3-9924004

Clicking on the Dynamic Column button opens the following window.

pivot-table-in-power-bi-4-7678927

Let me select the order quantity as the value column

pivot-table-in-power-bi-5-9242498

Next, we select the sum as the value of the aggregate function

pivot-table-in-power-bi-6-7520588

Now you can see the pivot table

pivot-table-in-power-bi-7-7994216

What if your table has more than one static column (a column that will not change in the pivoting process)? For this, we add one more column called Product Id to this table.

pivot-table-in-power-bi-8-2271357

Let me select the Order Quantity column as the value column and Sum as the aggregate function

pivot-table-in-power-bi-9-7799314

Now you can see the pivot table in Power BI. Remember, having more than one static column without changes will make no difference in creating a pivot table.

pivot-table-in-power-bi-10-4739040

Then press the Close and apply option under the Home tab to apply these changes.

pivot-table-in-power-bi-11-4194522

In the following screenshot, you can see the dynamic columns.

pivot-table-in-power-bi-12-5899958
R Marketing Digital