Forum Discussion
Wildcard in search function
- 6 years ago
Anonymous , I think it should be like
SearchFeature = SWITCH (
TRUE (),
SEARCH ( "Oranges", 'Query1'[Column],, 0 ) > 0, "Oranges",
"Others")Search return position
Anonymous , I think it should be like
SearchFeature = SWITCH (
TRUE (),
SEARCH ( "Oranges", 'Query1'[Column],, 0 ) > 0, "Oranges",
"Others")
Search return position
- Anonymous6 years agoNot applicable
Thanks all for the super pointers 🙂
I tried amitchandak change and this worked a treat for me as I now see the results as expected including adding a ? for the wildcard, this picks up the other oranges big small etc
SearchFeature = SWITCH ( TRUE (), SEARCH ( "Oranges?", 'Query1'[Column],, 0 ) > 0, "Oranges", "Others")appreciate the fast replies 🙂
- Icey5 years ago
Community Support
Hi Anonymous ,
Glad to hear that. Please accept your solution above so that people who may have the same question can get the solution directly. Your contribution is highly appreciated.
Best Regards,
Icey