Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
wkurten
New Member

I need to convert 8 columns into rows and keep an ID column repeating for the converted columns

Hi folks!

 

I have this table:

wkurten_0-1730929321451.png

And i need it should be transformed in a structure like this:

wkurten_1-1730929632531.png

Basicly transforming theme columns to rows while keep the number column repeated on all theme rows

 

I've tried to do this using basic transformations but i'm not able to achieve this, i think that only could be done with some formulas. but i dont know how.

1 ACCEPTED SOLUTION
Omid_Motamedise
Super User
Super User

Right click on the column Number, and select Unpivot other columns (Or select all the 8 columns, right click on one of them and pick unpivot columns)

View solution in original post

3 REPLIES 3
Omid_Motamedise
Super User
Super User

Right click on the column Number, and select Unpivot other columns (Or select all the 8 columns, right click on one of them and pick unpivot columns)

worked perfectly! thanks Sir!

 

result:

wkurten_0-1730979466224.png

 

wini_R
Resolver IV
Resolver IV

Hey @wkurten,

It seems you need to unpivot your table - just right-click the 'number' column and select 'Unpivot other columns'. Then you may need to remove an additional 'Attribute' column

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.