Subdomain 1.4: Customize fields
1.You connect to a database where the column for customer surnames is named [CUST_LST_NM_TXT]. You want this field to be labeled 'Last Name' in your Tableau workbook to make it user-friendly. What is the best approach?
- A.Right-click the field in the Data pane, select Rename, and type 'Last Name'.
- B.Right-click the field in the Data pane, select Aliases, and add 'Last Name'.
- C.Change the Default Properties > Title to 'Last Name'.
- D.Create a calculated field named 'Last Name' with the formula STR([CUST_LST_NM_TXT]).
Show answer & explanation
Correct answer: A — Right-click the field in the Data pane, select Rename, and type 'Last Name'.
- A. Correct. Right-clicking the field in the Data pane and selecting Rename is the most direct and efficient method to change a field's display name. This updates how the field appears throughout the Tableau workbook while leaving the underlying database column name unchanged.
- B. Incorrect. Aliases are used to provide user-friendly names for individual data values (members) within a field, such as changing 'Y' to 'Yes'. They cannot be used to rename the field itself.
- C. Incorrect. There is no 'Title' setting within the Default Properties menu for a field. Default Properties include settings like Number Format, Aggregation, Color, and Sort. You must rename the field to change its label in the Data pane.
- D. Incorrect. Creating a calculated field would technically result in a field named 'Last Name', but it is an unnecessary step that creates duplicate metadata and adds complexity. Simply renaming the existing field is the preferred best practice.