Skip to content
Home » Loading a CSV with custom separator in Tableau

Loading a CSV with custom separator in Tableau

Tags:

When I exported my CSV in R, its values were split on a semicolon. I, a Tableau rookie, wanted to import that file. I’ve bumped into several BI tools that didn’t have an options to specify a custom separator, but for a robust tool like Tableau, that seemed unbelievable.

Depending on where you’re living, CSV files will have a different separator by default. In my situation, I wanted to load a CSV file with a semicolon as a separator. But you’ll run into the same issues if your separator is a tab, pipe or any other character.

When loading the file into Tableau, it was split on a space. Not exactly what I expected. I spent quite a lot of time finding how I could specify my own split character, until I clicked on the little downward-facing arrow, next to the filename of my CSV data source.

Apparent, when you click that arrow, you can access the Text File Properties menu, which gives you the option to change the Field separator, but also the character encoding and the locale.

I short blog post, but I hope I saved you some time!

Say thanks, ask questions or give feedback

Technologies get updated, syntax changes and honestly… I make mistakes too. If something is incorrect, incomplete or doesn’t work, let me know in the comments below and help thousands of visitors.

13 thoughts on “Loading a CSV with custom separator in Tableau”

  1. 519249 16708Oh my goodness! a amazing post dude. Thanks Even so My business is experiencing problem with ur rss . Do not know why Struggling to join it. Is there anybody finding identical rss issue? Anyone who knows kindly respond. Thnkx 912846

  2. 9074 96714Pretty part of content. I just stumbled upon your weblog and in accession capital to assert that I get really loved account your weblog posts. Any way Ill be subscribing on your feeds or even I success you access constantly fast. 568044

  3. 499434 914623Amaze! Thank you! I constantly wished to produce in my internet site a thing like that. Can I take element with the publish to my blog? 657239

  4. 598645 918713Overall, politicians are split on the problem of whether Twitter is a lot more for business or private use. The first thing may be the fact that you can build up quite a large following of people. 532545

Leave a Reply

Your email address will not be published. Required fields are marked *