Custom Renaming Fields

Often, it is useful to rename a frequently-used field directly in the dataset, instead of using an alias in each visual.

The following steps demonstrate how to rename a field. We are using the column iso_cc (the ISO-compliant country code) in the dataset World Life Expectancy [data source: samples.world_life_expectancy].

  1. On the main navigation bar, click Data.

    Click DATA on main nav

    The Data view appears, open on the Datasets tab.

    Main landing page of DATA
  2. In the left navigation menu, click samples.
  3. In the Datasets area, select World Life Expectancy (samples.world_life_expectancy).

    selecting a dataset
    Selecting Dataset 'World Life Expectancy'
  4. In the Dataset Detail menu, select Fields.

    detail of 'World Life Expectancy'
    Dataset Detail for 'World Life Expectancy'
  5. In the Fields interface, select Edit Fields.

    Editing Fields of Dataset 'World Life Expectancy'
    Editing the Fields of Dataset 'World Life Expectancy'
  6. Under Dimensions, find the field iso_cc, and click the (down arrow) icon on the right.

    From the menu, select Edit Fields.

    selecting edit field window
    Editing Field Properties
  7. The Edit Field Parameters window modal appears.

    Notice that the Base Column name cannot be edited, but you can change the Display Name of the column.

    Change it from iso_cc to ISO Country Code.

    Click Apply.

    changing field display name
    Changing the Field Display Name
  8. Under Dataset: World Life Expectancy, click Save.

    changed field name
    Changed Field Name

As a result of this change, all new visuals created from this dataset use the new name automatically.