Complete the code to convert the string '123' to a number in Tableau.
INT([1])In Tableau, to convert a string like "123" to a number, you use the INT() function with the string in double quotes.
Complete the code to convert the number 2023 to a string in Tableau.
STR([1])To convert a number to a string in Tableau, use the STR() function with the number as input.
Fix the error in the code to convert a date string '2023-06-01' to a date in Tableau.
DATE([1])In Tableau, DATE() expects a string date in double quotes to convert it properly.
Fill both blanks to convert the string '12.34' to a number and then round it in Tableau.
ROUND([1]([2]))
Use FLOAT() to convert the string "12.34" to a number, then ROUND() to round it.
Fill both blanks to convert a string '2023-06-01' to a date, then extract the year and convert it to string in Tableau.
STR(YEAR([1]([2])))
First convert the string "2023-06-01" to a date using DATE(), then extract the year with YEAR(), and finally convert the year number to string with STR().