Using Calculations: Working with Strings, Dates, and Type Conversion Functions Flashcards
1
Q
What is string data and what are some examples of it?
A
Any data that is text - things like names of people, places, or objects
2
Q
What is concatenating in Tableau?
A
Adding strings together
3
Q
What does a concatenation calculation look like in Tableau?
A
Connect field names with a + and add any separating characters or fixed strings within double quotations
4
Q
How do you add a non-string field to a concatenated string calculated field?
A
Enclose the non-string field in STR() within the calculated field
5
Q
What function do you use to calculate the difference between two dates?
A
DATEDIFF