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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
Anonymous
Not applicable

Converting repeating rows into columns

I have a table which looks like this - (just giving an example and this repeats for multiple times)

 

A.1Order no123
A.2ProductLaptop
A.3Revenue135
A.4Margin25
A.1Order no234
A.2ProductServer
A.3Revenue200
A.4Margin25
A.1Order no456
A.2ProductLaptop
A.3Revenue135
A.4Margin2

 

I would like it to be transformed into this - 

 

A.1A.2A.3A.4
Order noProductRevenueMargin
123Laptop13525
234Server20025
456Laptop1352

 

Can you help me with the steps to achieve this while I am transforming data? 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try pivot

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
dannytan111289
Frequent Visitor

Hi,

 

Did you have any answer to your case? if you have the solution, do u mind to put it here? Thanks

amitchandak
Super User
Super User

@Anonymous , Try pivot

https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi,

 

I don't really understand the link that you gave. If we do transpose directly, the result would be 12 columns of A1-A4 repeatedly. Any idea how to make it became 4 columns and multiple rows ? Because i have the same problem. Thanks sir

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.