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
Anonymous
Not applicable

Replace blanks with null

Dear friends

 

i need to fill down column but its cant because its not "null" how can i convert blank cell into null.

thank in advance for any suggestions.

 

 

Screenshot (19).png

 

1 ACCEPTED SOLUTION
manikumar34
Solution Sage
Solution Sage

@Anonymous , 

Use replace to achieve this. 

manikumar34_0-1606380016791.png

Leave Value to Find as empty and replace with null. 

 

 

In M-Query it looks something like below. 

= Table.ReplaceValue(#"Replaced Value","",null,Replacer.ReplaceValue,{"COLUMN"})

 

Try replacing the column name and add the above line in advanced editor else use the first step.

Regards, '

Manikumar

 

If you find this is helpful, Accept as a Solution and leave a like.





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




View solution in original post

5 REPLIES 5
amitchandak
Super User
Super User

@Anonymous , null is blank in power query. Unless it is text null. If it text null then replace it null

or replace "" with null

https://www.howtoexcel.org/power-query/bulk-replace-values/

https://www.excelcampus.com/powerquery/fill-down-blank-null-cells-power-query/

manikumar34
Solution Sage
Solution Sage

@Anonymous , 

 

Awesome , you got the answer.

 

Your kudos will be appreciated 😊

Regards, 

Manikumar





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




manikumar34
Solution Sage
Solution Sage

@Anonymous , 

Use replace to achieve this. 

manikumar34_0-1606380016791.png

Leave Value to Find as empty and replace with null. 

 

 

In M-Query it looks something like below. 

= Table.ReplaceValue(#"Replaced Value","",null,Replacer.ReplaceValue,{"COLUMN"})

 

Try replacing the column name and add the above line in advanced editor else use the first step.

Regards, '

Manikumar

 

If you find this is helpful, Accept as a Solution and leave a like.





If this helps, Appreciate your KUDOS!
Did I answer your question? Mark my post as a solution!


Proud to be a Super User!




I have an entire Datamart with all strings stored in "Not NULL" columns. (blanks). Is there a way to change this somewhere Database or Table wide instead of changing this value on each individual field?

THanks for your help.  

Anonymous
Not applicable

thanks a lot @manikumar34  its work!

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.