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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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