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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Help with error in power query

Hello Power Query Power Users,

 

Can you help me get over this hump?

 

I get an error when I combine and transform from a folder.

 

Data Source: Excel file

 

The first rows are empty for Student Name and Student ID. It comes out empty from the database.

 

Student NameStudent IDWednesdayThursdayFridayMondayTuesdayWednesday
  1/4//231/5/231/6/231/9/231/10/231/11/23
Arriaga30311 PA A 
Baeza29152A P  P

 

 

Combine and Transform

Step 1: Get Data

Step 2: Folder

Step 3: Connect

Step 4: "insert file path"

Step 5: combine and transform data

Step 6: sample file>first file

 

 

The result is "Unexpected error occurred"

 

Attempted solution: Use the first rows as headers.

Result: "Unexpected Error occurred"

 

How do I fix the error? I believe the error is caused because of the empty first rows for Student Name and Student ID.

 

Any nudge is greatly appreciated.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Figured it out. 

 

The data had to come in as a table.

 

Power Query could not find the table name because there was none in my original upload.

 

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Figured it out. 

 

The data had to come in as a table.

 

Power Query could not find the table name because there was none in my original upload.

 

Anonymous
Not applicable

 

Here is a screen shot for more context.

 

quipmaster_0-1678224228904.png

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

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