Exam TDS-C01 All QuestionsBrowse all questions from this exam
Question 19

You have the following string value: Sales Data.

Which calculated field produces an output of Sales?

    Correct Answer: B

    To extract the substring 'Sales' from 'Sales Data', the LEFT function needs to specify the number of characters to return. The syntax LEFT(“Sales Data”, 5) properly extracts the first five characters, which is 'Sales'. Other options such as LEFT(“Sales Data”) lack the required length argument, and LTRIM or RTRIM functions are used for trimming spaces from strings, not extracting specific substrings.

Discussion
sylwus1611Option: B

B is correct, A lacks of an argument

Juan86Option: B

Answer: B LEFT function and the number 5 due to Sales has 5 positions

mskuntOption: B

LEFT (“Sales Data”, 5)

Mati0186Option: B

Correct answer is B--> Left('Sales Data',5)

sru_basanisOption: B

https://help.tableau.com/current/pro/desktop/en-us/functions_functions_string.htm

AisiahOption: B

Left('Sales Data',5)

Yaya93Option: B

Answer : B

MonBoujOption: B

B. LEFT (“Sales Data”, 5)

RweenOption: B

LEFT ([FieldName], 7)

PriyadsOption: B

B is the right answer

BanderMansorOption: B

wrong answer, B is correct

Mahammad123Option: B

B IS THE CORRECT ANSWER