I recently received a great question from a Twitter connection, and I figured I would share the solution here in case it helps anybody else. They were trying to display four decimal places when the measure value on the view was less than one, but only two decimal places when the measure value was greater than one. This was a brainteaser because, by default, Tableau limits you to one number format per measure. I loved the concept though because I’m a big believer in maximizing the data-ink ratio and the extra decimal places could be considered redundant data ink. My first instinct was to dynamically format the numbers with parameters, but this technique only works for controlling the prefix and suffix of each different number type. Instead, this post will show you two alternative approaches that allow you to control the prefix, suffix, and/or the number of decimal places when you are trying to display two (or even three!) number formats for the same measure in Tableau.
Dates can be tricky to work with in Tableau. It’s no wonder there are six different chapters in Practical Tableau explaining different approaches to get the most out of this special data type. One of my favorite techniques, that doesn’t happen ‘out-of-the-box’ for us in Tableau, is to compare the performance of a selected date range to the performance of the date range immediately preceding it. For example, if I choose this week as the current date range, I want to see this week’s data in addition to last week’s data so I can do an easy period-over-period analysis. You can always set your date range filter to capture both time periods, but if you’re using a continuous axis, the dates will not be lined up on top of each other – making it difficult to compare dates. This post and video will show you how to compare any selected date range to the same number of days immediately preceding the selection – all on one axis so they’re lined up! While I’ve written about this topic before, I’ve found an even better approach to reduce the number of calculations required.
Practical Tableau Tips Tuesday, 2:15 – 3:15 PM | New Orleans Theater BIt’s hard to believe this will be my eighth presentation across Tableau Conferences. While they’ve all been fun, this one is special because I’ll be discussing the data visualization values that help drive my decision-making process. I’ll be sharing personal stories that help shaped my style, show you how to make traditional chart types more engaging, and we’ll get innovative and talk about how color and spatial context help your audience understand your work. If you are interested in attending, please star the session (Practical Tableau Tips by Ryan Sleeper) in the TC18 app to ensure everybody will have an opportunity to attend.
This is the fifth and final post in a series about getting the most out of text in Tableau. For earlier installments, see An Introduction to String Calculations, How to Make Automatic Insights, 3 Ways to Create Charming Crosstabs, and How to Show Top 10 Lists in Tooltips. Got about 10 minutes? I’ve got ten more ideas to share on getting the most out of text in Tableau. As I brainstormed ideas for what to include in this series about using text in Tableau, I was reminded what a powerful role text plays in the practice of data visualization. While I strongly believe that visualization is the most effective way to understand data, text can complement your analyses, provide context, add branding, and much more. In this post, I’ll share how to incorporate custom fonts, how to align table text like traditional financial reporting, build better callout numbers, conditionally format text, display vertical axis labels, and more. As my favorite clickbait headlines say – you won’t believe number 8 – keep reading! :)
This is the fourth in a five-part series on getting the most out of text in Tableau. For future updates, subscribe to my mailing list. You may have heard the recommendation to provide your dashboard users details on demand. While I generally agree with the idea of a dashboard flowing from overview – to drilldown (or filtering) – to specific details when needed, there can be some negative consequences if your end users are too focused on the raw data. Most notably, the raw data does not provide the benefits of data visualization, and often means exporting the data from Tableau – stopping the flow of thought dead in its tracks. One of my favorite ways to provide details on demand is through Tableau’s viz in tooltip feature. I’ll set up a sheet containing the detail and add it to the tooltip of an overview or filtered visual. The challenge is that due to the order of operations of Tableau filters, it’s tricky to filter the tooltip to the correct details. This post will show you two approaches for filtering a list to the top 10 when it’s being used within a Tableau tooltip. This means that whatever dimension member you are hovering over on a dashboard will display a detailed top 10 list for that specific dimension member.