BASE DE CONNAISSANCES

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


Date de publication : 21 Feb 2015
Date de dernière modification : 15 Aug 2023

Problème

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

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

Environnement

Tableau Desktop

Résolution

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

Cause

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.
Cet article vous a-t-il permis de résoudre le problème ?