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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
FloK
Regular Visitor

Excel files 'null' when closed but with data when opened

Hi all,

 

I am importing several hundred Excel files from a folder into Power Query. Unfortunately, for some sheets within every file Power Query shows 'null' only. When I open the sample file and refresh the preview, it shows data. When I open the file and save it without doing anything (quick save), the file works fine. All others do not unfortunately.

 

I'm aware of a similar post that solved this problem by saving the file in proper .xlsx format. Unfortunately, this is not an option for me since I don't have editing rights on the folder in question.

 

However, I'm not even entirely sure it's an issue of the file itself. It is already saved as an .xlsx. The only thing I need to do is quick save it. Do you have any ideas how I could solve this?

2 REPLIES 2
FloK
Regular Visitor

Hi Pat,

 

Thanks for the tip. Unfortunately, I'm still confronted with the same problem.

 

When I go to 'get data' --> 'from folder' and on the next window go to 'transform data', this is what I'm seeing:

 

FloK_2-1687868927001.png

 

However, when I open the files and refresh the preview, it recognizes column headers and is filled with data.

 

FloK_1-1687868887369.png

 

If I close the files and hit refresh, I'm back to nulls again.

ppm1
Solution Sage
Solution Sage

I suspect something is named differently in the files showing null. Look at your M code in the Advanced Editor in the query editor and look for specific references to named things (files, tabs/worksheets, tables, etc.). Note that Power Query is case sensitive.

 

Pat

Microsoft Employee

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.