BASE DE DADOS DE CONHECIMENTO

Error "The calculation contains errors: Reference to undefined field" in Calculated Field


Publicado: 21 Feb 2015
Data da última modificação: 15 Aug 2023

Problemas

When editing a calculated field, the following error might occur:

The calculation contains errors: Reference to undefined field [field name]

Ambiente

Tableau Desktop

Resolução

Verify that the field referenced in the error message exists and the reference matches the field name exactly.

Causa

There is no existing field with that exact name. 

A few reasons a field may not exist or no longer exist:
  • The spelling of the field in the calculation differs from the spelling of the field in the data pane.
  • The name of the field was changed in the data source.
  • The data was recently pivoted and the field no longer exists because it became part of pivot field names.
  • The data source was recently replaced and the field not longer exists in the new data source or has a different name.
Este artigo resolveu o problema?