Connect Tableau to a Comma Delimiter Text File

This article shows how to connect with the comma delimiter text file or CSV, load its data into the Tableau desktop, and design a chart.

The below screenshot shows that a comma separates each column.

TB Connect to a CSV File

Connect Tableau to a Comma Delimiter Text File

Clicking on the text file option will open the window to choose the CSV file.

Choose the CSV File

As you can see, the Tableau desktop loaded the text file and automatically separated the columns using a comma delimiter. If this is not the case, choose the Text File Properties option. Please refer to the

Connect Tableau to a Comma Delimiter Text File

By default, the desktop has chosen a Comma as the Field separator. If not, select a Comma from the list of available separators.

Change the Field Separator to Comma

We use the above comma-delimited file to create a Tableau Bar Chart. Drag Sales to Rows and Education to Columns shelf. Next, add an Education dimension to the Color shelf and Sales to the Label. 

TIP: Please refer to the Tableau Box plot and Tableau Dual Axis report articles.

Connect Tableau to a Comma Delimiter Text File and create bar chart