Forum Discussion

GabinAM's avatar
GabinAM
Frequent Visitor
2 years ago
Solved

Power Querry - Replace a boolean value True or False

Hello everyone ! ğŸ˜Š I'm trying to replace boolean values based on another column condition.However and despite the absence of error, there is no modification at all on the table (the formula works...
  • Ahmedx's avatar
    2 years ago

    pls try this

    = Table.ReplaceValue(#"Changed Type",each [Direct Contact],each if List.ContainsAny({"Jodie","Anthony","Jonathan"},{[Sales]}) then false else [Direct Contact]   ,Replacer.ReplaceValue,{"Sales", "Direct Contact"})