Forum Discussion

KAURM's avatar
KAURM
Helper I
5 years ago
Solved

Power Query to replace specific value in column based on value in another column

Hi,   I hope you are well.   From the below I am trying to replace the 'none of the above' values in characteristic 1 column to a blank or null if the characteristic 2 column does not equal 'none...
  • KAURM's avatar
    KAURM
    5 years ago

    Hi mahoneypat 

     

    Thanks for your reply 

    I managed to figure it out in the Power Query Editor, thank you though! 

    = Table.ReplaceValue(#"Changed format to text","None Of The Above", each if [Characteristic 2] <> null then null else "None Of The Above",Replacer.ReplaceValue,{"Characteristic 1"})