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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
petermb72
Helper IV
Helper IV

Data from excel showing up with zeros instead of blank, I want the blanks to show

I have a excel spreadsheet that pulls data from other tabs into the one sheet.  If there is no data the field is blank (but there is a formula in the field to get the data from another tab).  When I pull this sheet into power query editor, all of the blank fields are replaced with a zero.  I would prefer that they were blank or Null. 

 

The data in excel(formulas in all fields) looks like this :

DataJanFebMarAprilMay
West017  
East123  

When it is in power query editor the same data looks like:

DataJanFebMarApril May
West01700
 12300

 

When I Use Power query editor, I want to be able to remove all of the months that do not have data in them yet.  Where there is a zero, I can tell the editor to remove zeros, but it will remove West's 0 in January.  

 

So my question again is, why does PQE bring zeros in where it should be blanks or null?  Sencond question is, if I can't fix this, how can I remove the months that should have blanks but are coming in with zeros?

 

Thanks,
Peter

 

2 REPLIES 2
petermb72
Helper IV
Helper IV

I tried as explained above and All it did was shift the zeros to left justified (turned them to text).  It did not remove them.  Thanks for the tip but, no dice.

Anonymous
Not applicable

Hi @petermb72 

Based on your description, when you enter the power query editor, it will change the data type automatcially, you can remove the change type step.

vxinruzhumsft_0-1715132208662.png

Then all the data types will be text, and the blank column will keep blank, then you can set the data type by yourself. e.g you can set the data type of all the blank columns to text, then change the data type of other columns to number so that you can remove the blank column.

 

Best Regards!

Yolo Zhu

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

 

 

 

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

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 community update carousel

Fabric Community Update - June 2025

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

Top Solution Authors