Forum Discussion
aashton
Helper V
5 years agoEquivalent to LIKE
I'm going crazy trying to get a simple formula working. I want to say, if location_ID is like 'AA%' THEN Y ELSE N. I've tried: AA Site = IF(CONTAINS('CRM Sharepoint', 'CRM Sharepoint'[SP_ICIMS_Lo...
- 5 years ago
CONTAINS searches through a column of values for a particular value. You want to search text for a substring, so CONTAINSSTRING is probably closer to the function you want but LEFT might be a good choice for this situation too.
AlexisOlson
Super User
5 years agoCONTAINS searches through a column of values for a particular value. You want to search text for a substring, so CONTAINSSTRING is probably closer to the function you want but LEFT might be a good choice for this situation too.
aashton
Helper V
5 years agoYes, thank you, CONTAINSSTRING works!