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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
watkinnc
Super User
Super User

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


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!

View solution in original post

v-stephen-msft
Community Support
Community Support

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
v-stephen-msft
Community Support
Community Support

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.

 

 

watkinnc
Super User
Super User

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


I’m usually answering from my phone, which means the results are visualized only in my mind. You’ll need to use my answer to know that it works—but it will work!!
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?


@ 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!:
Mastering Power BI 2nd Edition

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors