Forum Discussion
Anonymous
4 years agoNot applicable
Calculated Column
Hey all, I've got a column containing e-mail adresses. I need to categorize this into three groups: An e-mail containing the string "unknown" should be categorized as "unknown" An empty cell sho...
- 4 years ago
Anonymous
Try
Type E-mail = SWITCH ( TRUE (), CONTAINSSTRING ( 'Data'[e-mail], "*onbekend*" ), "unknown", 'Data'[e-mail] = BLANK (), "unknown", CONTAINSSTRING ( 'Data'[e-mail], "*jnj*" ), "business", "private" )
johnt75
4 years agoSuper User
Check that the cells are truly empty as opposed to having an empty string or a space character or something