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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
gamma
New Member

.csv no headers

Hi,

I'm a new/novice user.  I started today with BI Service and uploaded a .csv file.  It used the column headers in Row 1 of the .csv to name the fields.

I then downloaded PBI Desktop and loaded the same .csv but my Fields in the Desktop just show "Column1, Column2, ..."

Very odd.  Help appreciated.

1 ACCEPTED SOLUTION
blopez11
Super User
Super User

In the query editor, select your query, then in the transform area, select Use First Fow As Headers

View solution in original post

2 REPLIES 2
StanOil
New Member

I solved this case in my own way:
1. I have created a file data_h.csv which contains column headers for the actual data file without headers: e.g. (id, header_1, header_2 etc.)
2. In Power BI - Power Query, add a query: from the txt/csv file (data_h.csv) (if present, remove the step: promote 1st row as headers)
3. add the 2nd query: from the txt/csv file - data file without header - (data.csv)
3. Add a query as a new one - combine rows from 2 tables as new ones: (1st: data_h.csv + 2nd: data.csv)
4. Use the 1st line as headings

blopez11
Super User
Super User

In the query editor, select your query, then in the transform area, select Use First Fow As Headers

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.