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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

Automatically replace all blank values with N/D

Hello,

 

I know this is probably super simple but I don´t know why I cannot find anything.

I have a DashBoard that is meant to be updated whenever it is needed. Some of the cells in Power Query are blank or null, I wanted to replace them automatically with N/D. Can someone please help me? (Remember that when I upload another new CSV it atomatically do this process)

1 ACCEPTED SOLUTION
edhans
Community Champion
Community Champion

You would need to do two replacements. Right-click on the column and select Replace Values, then leave Value to Find empty

edhans_0-1655476802214.png

Then do it again and put null (all lower case) in the Value to Find box.

edhans_1-1655476852445.png

The first will find when it is empty, which is represented by "", the second will replace null values, which is not the same as empty. The term null in all lower case is a Power Query keyword. It will not look for the text "null."

 

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

1 REPLY 1
edhans
Community Champion
Community Champion

You would need to do two replacements. Right-click on the column and select Replace Values, then leave Value to Find empty

edhans_0-1655476802214.png

Then do it again and put null (all lower case) in the Value to Find box.

edhans_1-1655476852445.png

The first will find when it is empty, which is represented by "", the second will replace null values, which is not the same as empty. The term null in all lower case is a Power Query keyword. It will not look for the text "null."

 

 



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors