KNOWLEDGE BASE

Underscores Appear in Field Names when connecting to a csv file


Published: 28 Dec 2022
Last Modified Date: 28 Dec 2022

Issue

When connecting to a csv file, underscores appear in some field names in Tableau Desktop.

Environment

  • Tableau Desktop
  • Text Files

Resolution

Check the CSV file for the field showing underscore characters, and see if the field name contains multiple tab characters, as in the example below.

User-added image
User-added image

Modify the field name(s) on the csv file side or modify the field names on Tableau Desktop.

Cause

The field name in the csv file contains two or more tab characters, which are converted to underscores.
Did this article resolve the issue?