Transpose a Table in Power BI

Transpose a Table in Power BI, The simplest way to transpose a table in Power BI is by utilizing the Transpose feature in the Transform tab within the Power Query Editor.

Here’s a step-by-step guide to help you transpose your data effortlessly.

Step-by-Step Guide: Transposing a Table in Power BI

Example: Transposing a Table in Power BI

Imagine you have a table named my_data in Power BI that displays the total sales and returns at a retail store over six consecutive years.

You want to change the table from a long format to a wide format, displaying the Sales and Returns along the rows and the Years along the columns. Here’s how:

  1. Open Power Query Editor
  • Click the Home tab on the top ribbon.
  • Click the Transform data icon to open the Power Query Editor.
  1. Use Headers as First Row
  • Click the Transform tab.
  • Click the dropdown arrow under Use First Row as Headers.
  • Select Use Headers as First Row. This will set the headers as the first row.
  1. Transpose the Table
  • Click the Transform tab again.
  • Click the Transpose icon to swap the rows and columns.
  1. Set First Row as Headers
  • Click the Transform tab.
  • Click the dropdown arrow under Use First Row as Headers.
  • Select Use First Row as Headers. This will set the first row (years) as the column names.
  1. Apply Changes
  • Exit the Power Query Editor.
  • When prompted, confirm by clicking Yes to apply the changes.

By following these steps, you’ll successfully transpose your table, displaying the Sales and Returns along the rows and the Years along the columns.

These instructions ensure a smooth and efficient transposition process in Power BI, making your data analysis more organized and insightful.

Power BI Archives ยป FINNSTATS

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

seven + 14 =

Ads Blocker Image Powered by Code Help Pro

Quality articles need supporters. Will you be one?

You currently have an Ad Blocker on.

Please support FINNSTATS.COM by disabling these ads blocker.

Powered By
100% Free SEO Tools - Tool Kits PRO