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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! It's time to submit your entry.

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.