Video | Tableau | Data prep | Data visualisation

Tableau Type Conversion with STR, INT and FLOAT functions.

STR, INT and FLOAT: the three Tableau functions that change one data type into another, with the precision gotchas you need to know.

  • STR converts integers or floats into text, but it pulls back full precision from the underlying data so you may need to round or clean decimals before converting
  • INT strips the fractional part of a float and returns a whole number, useful when a data set needs integers rather than decimals
  • FLOAT changes a number's data type to decimal even when it looks identical to an integer in the view, which you can verify via the field's change data type menu
  • Formatting is separate from the underlying data structure, so forcing decimal places via number formatting does not actually change an integer into a float
  • Type conversion functions matter most when comparing values inside calculations, where you need to match like data types

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

| My Courses on Linkedin Learning: https://www.linkedin.com/learning/instructors/tim-ngwena Type conversion is a small but often step in calculations to help ensure that data types stay consistent but also make sure that you can manipulate data types to suit the visualisation you’re building. In this video, I cover the three most used functions.

#tableau #salesforce #analytics -
#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.