Forum Discussion
Anonymous
3 years agoNot applicable
Advanced Editor - Error
Hi All, I have this code below. I am not sure how to get rid of the Errors. I want all (Blank) to just say Blank and null to say N/A let Source = #"FACT TABLE", #"Detected Type Mismatche...
- 3 years ago
Hello - it looks like the script you are showing here is for the errors table that Power Query creates instead of the actual data table with th errors. Below is how you can replace blanks with Blank and nulls with N/A. You will need to do this on the actual data table.
- Select the column containing the values to be replaced.
- Either right-click on the column or go to the ribbon.
- Choose replace values.
- Enter the old value (don't enter anything to replace blanks, type the word null to replace nulls) and the new value (Blank or N/A).
- Click Okay.
Replace Blanks:
Replace Nulls:
jennratten
Super User
3 years agoHello - it looks like the script you are showing here is for the errors table that Power Query creates instead of the actual data table with th errors. Below is how you can replace blanks with Blank and nulls with N/A. You will need to do this on the actual data table.
- Select the column containing the values to be replaced.
- Either right-click on the column or go to the ribbon.
- Choose replace values.
- Enter the old value (don't enter anything to replace blanks, type the word null to replace nulls) and the new value (Blank or N/A).
- Click Okay.
Replace Blanks:
Replace Nulls:
- Anonymous3 years agoNot applicable
Thank you @jennratten,
It worked magic. I must remember to use the simplest solution first.
Much appreciate your help.
Best,
jiCAT