Forum Discussion
Find upper case string in multiple columns
- 3 years ago
Hi, Anonymous
Column:
Uppercase = IF ( [FirstName] = BLANK () && [LastName] = BLANK (), BLANK (), IF ( EXACT ( UPPER ( '132330'[FirstName] ), '132330'[FirstName] ) && EXACT ( UPPER ( '132330'[LastName] ), '132330'[LastName] ), "yes", "no" ) )Is this the result you expect?
Best Regards,
Community Support Team _Charlotte
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
amitchandak can this be combined with some of this code below at the beginning to not include empty cells giving a "yes" anwser?
Uppercase =
IF (
[FirstName] = BLANK ()
&& [LastName] = BLANK (),
BLANK (),
IF (
EXACT ( UPPER ( '132330'[Prefix] ), '132330'[Prefix] )
&& EXACT ( UPPER ( '132330'[FirstName] ), '132330'[FirstName] ),
"yes",
"no"
)
Anonymous , Try like
Uppercase =
Switch(True(),
[FirstName] = BLANK ()
&& [LastName] = BLANK (),
EXACT ( UPPER ( '132330'[Prefix] ), '132330'[Prefix] )
&& EXACT ( UPPER ( '132330'[FirstName] ), '132330'[FirstName] ),
"yes",
"no"
)
- Anonymous3 years agoNot applicable
amitchandak I get this error message:
Function 'SWITCH' does not support comparing values of type True/False with values of type Text. Consider using the VALUE or FORMAT function to convert one of the values.