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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
tecumseh
Helper V
Helper V

Add Headers

Hi,

Using Power Query in Excel

I imported data from an Excel file.

I noticed Headers are stacked in the 8th column in rows 1:4, other Headers are missing.

So I thought I would create a separate Table with Headers, Transpose the original Table, Add a Column, Merge the 2, Transpose back.

 

The first Transpose is taking a long time, I just get a spinning wheel.

Is there a faster way to add the Header Row?

 

Thanks,

-w

 

7 REPLIES 7
tecumseh
Helper V
Helper V

9,159 rows

Ehren
Microsoft Employee
Microsoft Employee

Right. But how many columns?

 

It would be great if you could share a set of files (without any sensitive info) that reproduce the issue.

8 columns x 9,159 rows

Ehren
Microsoft Employee
Microsoft Employee

Ok. That certainly doesn't seem like a data size that should cause issues when transposing.

 

Can you share more details? For example, it would be helpful if you could share the M formula text of your queries, or some non-sensitive sample files that reproduce the issue, or even screen shots or a recording of your queries and the slow performance.

 

Without more info, it will be difficult to provide any helpful advice.

tecumseh
Helper V
Helper V

Hi Ehren,

I'm guessing you mean the non-header table which contains 9,159 rows.

Thanks,

-w

Ehren
Microsoft Employee
Microsoft Employee

How many columns? I'm wondering if it's trying to transpose a huge number of empty cells.

Ehren
Microsoft Employee
Microsoft Employee

How many rows does the headers-only table contain before you transpose it?

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.