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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

Reply
tecumseh
Resolver III
Resolver III

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

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

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 is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.