Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

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...
  • jennratten's avatar
    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.

     

    1. Select the column containing the values to be replaced.
    2. Either right-click on the column or go to the ribbon.
    3. Choose replace values.
    4. 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).
    5. Click Okay.

    Replace Blanks:

     

    Replace Nulls: