You have the following string value: Sales Data.
Which calculated field produces an output of Sales?
You have the following string value: Sales Data.
Which calculated field produces an output of Sales?
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.
Left('Sales Data',5)
https://help.tableau.com/current/pro/desktop/en-us/functions_functions_string.htm
Correct answer is B--> Left('Sales Data',5)
LEFT (“Sales Data”, 5)
Answer: B LEFT function and the number 5 due to Sales has 5 positions
B is correct, A lacks of an argument
B IS THE CORRECT ANSWER
wrong answer, B is correct
B is the right answer
LEFT ([FieldName], 7)
B. LEFT (“Sales Data”, 5)
Answer : B