This content has been marked as final.
Show 3 replies
-
1. Re: How I concatinate several character strings in a calculated field?
Aman Lamba Feb 12, 2014 3:11 AM (in response to Enrique Kelijman)If you want the result to be T-2012 try creating a calcualted field with this formula:
Contract type + "-" + STR(YEAR([Contract Date]))
Hope it helps!
-
2. Re: How I concatinate several character strings in a calculated field?
Eric McDonald Feb 12, 2014 4:08 AM (in response to Aman Lamba)1 of 1 people found this helpfulBe careful if you ever concatenate a number first as Tableau will assume you are adding numbers. Always use the STR function as wrapper if in doubt.
-
3. Re: How I concatinate several character strings in a calculated field?
Enrique Kelijman Feb 12, 2014 4:19 AM (in response to Enrique Kelijman)Thanks Aman and Eric. It works.