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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Kudoed Authors