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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
Aurora-BI
Helper I
Helper I

How to Transpose / transform multiple rows into a few columns

Hi Everyone, 

 

I need a little help figuring out how to transpose or transform some data in my Power BI report.

AuroraBI_0-1708965918178.png

Every 19 rows, the data "repeats" so I am thinking I will need a table with 19 coulmns. "Date" , "Builder ID", "Part Number", etc. 

AuroraBI_2-1708966209672.png

 

But when I try to use transpose, I go to having 2 rows with 1000's of columns. Is there a step I am missing in formatting this data? Any assistance would be greatly appreciated. 

1 ACCEPTED SOLUTION
Aurora-BI
Helper I
Helper I

I figured this out, with help from @slorin 

 

The formula I needed was: 

= Table.FromRows(
List.Split(Your_Source[Column2],18),
List.FirstN(Your_Source[Column1],18)
)

 

View solution in original post

4 REPLIES 4
Aurora-BI
Helper I
Helper I

I figured this out, with help from @slorin 

 

The formula I needed was: 

= Table.FromRows(
List.Split(Your_Source[Column2],18),
List.FirstN(Your_Source[Column1],18)
)

 

Aurora-BI
Helper I
Helper I

I get this error when using my original data source: 

AuroraBI_0-1708978707473.png

 

slorin
Super User
Super User

Hi

 

= Table.FromRows(
List.Split(Your_Source[Column2],19),
List.FirstN(Your_Source[Column1],19)
)

 Stéphane

@slorin 

 

Thank you for the feedback. When I try to implement this solution, I get this error: 

AuroraBI_1-1708970458790.png

Is there perhaps something I have missed? 

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

Check out the April 2025 Power BI update to learn about new features.

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

Find out what's new and trending in the Fabric community.