Video | Tableau | Data visualisation | Data prep

The Proper string function in Tableau | New in Tableau 2022.4

The PROPER function has been a long time coming in Tableau, and it really is that simple.

Part ofWhat's new in Tableau 2022.4
  • PROPER capitalises the first letter of each word in a string, matching the SQL function and finally available natively in Tableau 2022.4
  • You can apply PROPER as an ad hoc calculation by double-clicking a text item on the table and wrapping the field in PROPER()
  • Tableau's calculation auto-complete works both in the ad hoc editor and the full calculated field window
  • You can combine fields with PROPER([First Name] + " " + [Last Name]) to build a clean full name combo

In SQL, the PROPER function is used to convert a string to proper case, meaning that the first letter of each word is capitalized, and all other letters are lowercase. This is now available in Tableau.

For example, if you have a string ‘this is a test’, the PROPER function would convert it to ‘This Is A Test’. This function is often used to make data more readable or to ensure that it is properly formatted for certain types of analysis. To use the PROPER function, you would simply specify the string that you want to convert as the input to the function by placing it between the brackets like this  Proper( [your string] )

Timestamps 0:00 Intro 0:15 Subscriber Update 0:42 How the Proper Function works in Tableau

Join this channel to get access to perks: https://www.youtube.com/channel/UC7HYxRWmaNlJux-X7rNLZyw/join