Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

Multiple search text in if function

Hi,   Have data in a column as  Category I need a help with PR approval I need help creating a Purchase Request (PR) I need help with a BuyNow contract I need help with a new supplier contract...
  • Floriankx's avatar
    Floriankx
    8 years ago

    Hello,

     

    you can try switch for your calculated column:

    SWITCH(
     FALSE(),
      ISERROR(SEARCH("Find",[Category])),"Find",
      ISERROR(SEARCH("Enable",[Category]),"Enable",
      "New")

    SEARCH only works with row context, so it is not recommended to be used in Measures.