In my experience most technical IT types love to name databases and data fields in weird and wonderful ways. A good example is this gem I encountered recently “ATV”, take a guess at what that means. If you create a data field called “ATV” and then expect your user base to understand what it means then you do not understand your users, in general even a technical person prefers to read a proper name. (Within reason of course, see this Wikipedia Acronym Article.) So have you guessed it yet? “ATV” is Average Transaction Value, I suspect you came up with all sorts of possibilities for that…
Now you may say that once you know what “ATV” means you don’t need the longer format name, but what happens when we list lots of average fields together:
Field Name | Field Description |
ATF | Average transaction per footfall |
ATV | Average transaction value |
ASV | Actual sales value |
AMV | Average Margin Value |
See what I did there? “ASV” actually means “Actual Sales Value”… now imagine fifty fields with similar names, which ones are average and which are actual. Now, this is only one example but it applies in many, many situations. So here’s some tips in how to improve the lives of your Tableau users.
Naming the data connection
In Tableau the sixth step after selecting a server, database/file to connect to, logging in and choosing your tables/joins you can name your connection. Tableau by default names this with the name of the database you are connecting to and the primary table in question, for instance the Orders data connection in the Superstores demo data is called “Orders (Sample – Superstore Sales (Excel).xl)”.
I would recommend that you enter a useful, descriptive, non-cryptic name such as “Order data from the Superstore Sales Excel File”, this will then be displayed in the Data pane:
Renaming fields
So we’ve named our connection to make it easier to understand so let’s rename the fields to make them user friendly. Again unique descriptive names are much better than “ATV”. So to rename a field just right-click the field in the Dimensions or Measures pane and choose the menu item “Rename”.
If you want to revert your custom field name to the original as set in the file/database you can use the reset button in the rename field dialog box.
Hiding fields
Quite often when connecting to databases using Tableau you will end up with ID fields everywhere, these ID fields are usually numerical so they end up in the Measures pane, but what use are they to the end user of your data connection? So let’s hide them, right-click on the field in question and click the “Hide” option.
If you would like to see your hidden fields again, click the small down arrow at the top of the Dimensions pane and click “Show hidden fields”, your hidden fields will then show again in the panes but be greyed out to denote they are hidden.
To unhide a field right-click on the name of the field and choose “Unhide”.
Comments
ableau has a feature that allows you to comment data fields, this can be used for describing where a field comes from or how a field is calculated for instance. To add a comment right-click on the field and choose “Field Properties”, then “Comment” in the sub-menu.
Now when hovering over a field you get a popup showing the comment. Setting defaults Another useful user experience tool is setting defaults on measures such as “formats” (decimal places etc), “Aggregations” (SUM, AVG etc), and “Sorts” (Alphabetical, by field etc). Each of these tools saves the end user from doing it themselves and potentially ‘getting it wrong’.
By using these tools you will save yourself time by not having to answer questions about the data connection, and save the time of your users making them happier, and everyone loves a happy user.