Video | Tableau | Data prep | Data visualisation

The Split function in Tableau.

The split function is so important Tableau often does it for you behind the scenes, so let me show you exactly how it writes that calculation.

  • Right-click a field and choose Transform > Split to let Tableau automatically detect the delimiter and create split fields as calculated fields
  • The split syntax is SPLIT(field, delimiter, token number) where the number targets which instance of the delimiter to extract up to
  • When a delimiter isn't found, split returns the entire original string rather than nulling it out
  • Wrapping a numeric split in INT() makes the resulting calculation more efficient when used elsewhere
  • Use the custom split option to target a delimiter, choose how many columns to extract, and break a single text field into a full hierarchy

Future-proof your career https://n1d.io

| Sign up to Playfair+ http://bit.ly/4lgOeio - Discount code: TableauTim - Good for 10% discount at checkout. [ Affiliate Link ]

  • My Courses on Linkedin Learning: https://www.linkedin.com/learning/instructors/tim-ngwena Boost your skills with DataCamp’s comprehensive, hands on Tableau courses https://datacamp.pxf.io/XmLyDo - [ Affiliate Link ]
  • The Split function allows you to use a delimiter to split out text inside of a calculation. Tableau can also automatically do this for you but in this video, I show you how it creates the calculation for you and how you can customise it to split out text the way you like.

#tableau #salesforce #analytics Share feedback and Suggestions: https://tableautim.canny.io/suggestions -

Join this channel to get access to perks:
https://www.youtube.com/channel/UC7HYxRWmaNlJux-X7rNLZyw/join ----------
(C) 2023 TN-Media LTD. No re-use, unauthorized use, or redistribution, of this video without prior permission.