Using Calculations: Customize Your Data Flashcards
When should you use a calculated field?
When you want to use your existing data and functions available in Tableau to create new ways to answer questions from your data
What icon is added to show that a field is a calculated field?
A small equals sign to the left of the data type icon
What are the 5 parts of a calculated field?
Fields, Functions, Operators, Parameters, Comments
What can be used as a Field in a calculation?
Data source fields or other calculated fields
What are functions?
Defined operations that can be performed on data
What are operators and which ones are available in calculations in Tableau?
Shortcuts for more complex functions that are added by manual typing. Addition, subtraction, multiplication, division, and comparisons are possible in Tableau.
What are parameters?
Variables that can be inserted into calculations to replace constant values
What are comments and how are they indicated in calculations in Tableau?
Notes in calculations preceded by //
Do calculated fields edit the existing fields in the underlying data source?
No, calculated fields add data within Tableau, without changing the underlying data
How do you open the calculation editor to create a new calculated field?
Click in white space in the Fields panes or right-click on a specific dimensions or measure that you want to use and select Create Calculated Field
What three pieces of information are included for a function in Tableau’s list of available functions in the calculation editor?
Syntax, function description, example