Upper/Lower Case
Converts a string to all uppercase, all lowercase, or proper case (where the first letter of each word is capitalised).
Excel
Upper: =~UPPER!~(‹string›)
Lower: =~LOWER!~(‹string›)
Proper: =~PROPER!~(‹string›)
Tableau
Upper: ~UPPER!~(‹string›)
Lower: ~LOWER!~(‹string›)
NB. Proper/Title case is not available as a standard calculation in Tableau. The only workaround (other than manipulating the data at source, which is preferable) is to split out the value using space characters as delimiters, slice the first character from each string and convert it to upper case, then recombine all string fragments:
Alteryx
Upper: ~UPPERCASE!~(‹string›) Lower: ~LOWERCASE!~(‹string›) Proper: ~TITLECASE!~(‹string›)
OrgVue
Upper: ‹string›.value.~toUpperCase()!~
Lower: ‹string›.value.~toLowerCase()!~
NB. Proper/Title case is not available as a standard calculation in OrgVue. The only workaround (other than manipulating the data at source, which is preferable) is to split out the value using space characters as delimiters, slice the first character from each string and convert it to upper case, then recombine all string fragments.
tSQL
Upper: ~UPPER!~(‹string›) OR ~UCASE!~(‹string›)
Lower: ~LOWER!~(‹string›) OR ~LCASE!~(‹string›)
Python
Upper: ‹string›.~upper()!~
Lower: ‹string›.~lower()!~
Proper: ‹string›.~title()!~
Last updated
Was this helpful?