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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Ricsa
New Member

Importing text as null from excel worksheet

Hi all,

 

My report is being monthly actualized with information i gather from different sources into one excel database. I didn´t have any problems before but for this month it is importing a column from the database as "null" instead of the actual text in the column.

 

That specific column is used for a slicer so instead of having the whole production divided in categories, i have it as a whole in the category "Blank"

 

The excel doesn´t have any specific format, just "text" and i filled this month information as i did months before so i have no clue of what changed.   The left image shows how it is in the worksheet and how it should be and the right one is from power query importing the text as "null"

 

.image.pngimage.png

2 ACCEPTED SOLUTIONS
Anonymous
Not applicable

Consider that two of your Excek columns have the same name (Form.Prod). I bet your M code is looking for a different column name, instead finding the wrong name, and therefore making these values null. 
--Nate

View solution in original post

Anonymous
Not applicable

Hi @Ricsa ,

 

Are the names of the two columns I circled the same? Please try to change to a different column name.

2.png

 

You can clear the data source in the datasource settings and reconnect it.

3.png4.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

Hi @Ricsa ,

 

Are the names of the two columns I circled the same? Please try to change to a different column name.

2.png

 

You can clear the data source in the datasource settings and reconnect it.

3.png4.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

Anonymous
Not applicable

Consider that two of your Excek columns have the same name (Form.Prod). I bet your M code is looking for a different column name, instead finding the wrong name, and therefore making these values null. 
--Nate

Greg_Deckler
Super User
Super User

@Ricsa Tremendously difficult to troubleshoot. Can you provide the code from Advanced Editor? Can you share the Excel file? What happens if you create a brand new query with no operations other than selecting the Sheet (Navigation) step?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
Power BI Cookbook Third Edition (Color)

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.