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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
jolondon
New Member

I am so frustrated!

I have imported the same Excel sheet 7 times in excel and csv form. Every time I do the name of the column shows up as column1, column2, etc. rather than the names in the first row. I have followed the instructions but nothing seems to work.  I clicked use first row as header but that wont' let me display the first rows as header. The first row is date names like jan-2015, feb-2015 etc. but that doesn't seem to matter.

 

This process is so much simpler with other tools. Am I doing something wrong? I want the first row names to be headers.  

 

thanks.

1 ACCEPTED SOLUTION
samdthompson
Memorable Member
Memorable Member

It can be super frustrating. A couple of things to try:

 

1. can you save as a table in excel and bring in?

2. rename each of the headers in the csv with say a preceeding space. It sounds like its a format thing and by changing it you might get some joy.

// if this is a solution please mark as such. Kudos always appreciated.

View solution in original post

4 REPLIES 4
samdthompson
Memorable Member
Memorable Member

It can be super frustrating. A couple of things to try:

 

1. can you save as a table in excel and bring in?

2. rename each of the headers in the csv with say a preceeding space. It sounds like its a format thing and by changing it you might get some joy.

// if this is a solution please mark as such. Kudos always appreciated.

@jolondon Yes try option 1 listed by @samdthompson

 

In Excel - click in any cell in the data => Ctrl-T => verify the range => check my Table has headers => give your table a Name

 

Then try importing again => and select the Table name NOT the Sheet name

I figured it out. You had to select the top row and click use first row as header that's at the left of the edit query screen. you cannot use the "use first row as header" button that's prominently displayed at the top of the screen (and the forum post suggested I use).  

my mistake. I thought you had tried that button which was my jumping to format conclusion. to early in the morning to be doing this.

// if this is a solution please mark as such. Kudos always appreciated.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.