cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
Jtaylor95
Regular Visitor

Change Column into Row on Data Table

I have a data table listing below:

 

Screenshot 2022-11-24 at 16.51.18.png

 

Using this data, I have created a table on PBI Desktop like so:

 

Screenshot 2022-11-24 at 16.48.54.png

 

 

 

 

 

 

However I need to change how this is displayed so the 'branch' value is a column and the other values ('tabard' , 'deluxe polo' etc) show as rows (with a total column).

 

How do I do this? I've tried in power query but the only data I want to show is the totals of these columns.

So on the data table the columns in question are 'Branch' and all other uniform columns containing 'Quantity'

 

please help !

1 ACCEPTED SOLUTION
Bifinity_75
Solution Sage
Solution Sage

Hi @Jtaylor95 , try this:

 

- In Power Query select the columns that appear in the image, and choose unpivot other columns:

Bifinity_75_0-1669324954954.png

The result:

Bifinity_75_1-1669324980147.png

Bifinity_75_2-1669325106116.png

 

Best Regards

 

View solution in original post

1 REPLY 1
Bifinity_75
Solution Sage
Solution Sage

Hi @Jtaylor95 , try this:

 

- In Power Query select the columns that appear in the image, and choose unpivot other columns:

Bifinity_75_0-1669324954954.png

The result:

Bifinity_75_1-1669324980147.png

Bifinity_75_2-1669325106116.png

 

Best Regards

 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors