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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

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.