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
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
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

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

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