Loading
Salesforce now sends email only from verified domains. Read More

Decimal Numbers Interpreted as NULL in Tableau Desktop

Publish Date: Feb 13, 2025
Description
When connecting to a text file decimal numbers are not interpreted correctly. Trying to change the data type results in the numbers becoming NULL

Cause

This issue often occurs because a dot (.) is used as decimal separator, but Tableau uses a non-English locale by default.  The other way around is also possible, a comma (,) is used as decimal separator, but English locale is set in Tableau.
Resolution
To make Tableau recognize all the dots as decimal separators and recognize the values as Decimal numbers by default, follow the step below:
  1. Connect to the .txt file. 
  2. On the data source page, click the small arrow displaying on top of .txt file on the Data pane in Tableau and select "Text file properties". (This option is for text files. It will not be available for Excel or other formats.)
  3. In the dialog menu change the Locale of the file to English. 
User-added image
Additional Resources

Set text file options


 
Knowledge Article Number

001473274

 
Loading
Salesforce Help | Article