Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Wildcard in search function

Hi all,   I'm trying to figure out how to use the wildcard within my search code as I don't want to repeat the code over and over so if I have Oranges it will put it in the Oranges catagory but if ...
  • amitchandak's avatar
    5 years ago

    Anonymous , I think it should be like

    SearchFeature = SWITCH (
    TRUE (),
    SEARCH ( "Oranges", 'Query1'[Column],, 0 ) > 0, "Oranges",
    "Others")

     

    Search return position