2021 Week 1: Can You Find the Variance Along the Line?


For the longest time, I avoided table calculations as much as I could because I thought they were overly complicated (compute using…relative to…sort by…nested…ughhhh) especially when I had LODs in my back pocket.  But, over time, I’ve made my peace with them (dare I say, a fan now) as I recognized how powerful they are and how they could amplify all of the things I loved about the #1 in my Tableau heart…LODs.  

Recently, I was working with a stakeholder that wanted 

  • To be able to see the full trend of a measure
  • To be able to select any point along the line and display the results for the selection
  • To understand the % difference between two points along the line
  • To give users the ability to change the comparison scenario in case the user wanted to see the change vs. the oldest, most recent, or previous value


  1. No Level of Detail Expressions/LODs
  2. No Calculated Field to Transform Number Format to Percentages
  3. No hardcoded years in calculated field
  4. # of Views – 1
  5. Match tooltips, colors, formatting
    1. Selected Year Mark Color: #f0007b
    2. Unicode for the variance arrows: ▲ U+25B2; ▼ U+25BC (note the treatment of no change)
    3. Dashboard Size: (1000px x 800px)
  6. Create a line chart that trends the food insecurity rate in the U.S. by year that also features circle marks that reflect the year the user selected and the comparison year
  7. Build functionality that allows the user to toggle between what year they want to focus on and what type of comparisons they would like to make
    1. Most Recent Year in the data set (in this case, 2019)
    2. First Year in the data set (in this case, 1995)
    3. Previous Year (Selected Year -1)

Hint: LOOKUP…it’s a bird, it’s a plane…it’s the first Workout Wednesday of 2021!


This week uses the Trends on the Prevalence of Food Insecurity in U.S. Households data set published the USDA. You can get it here at data.world


When you publish your solution on Tableau Public make sure to take the time and include a link to the original inspiration.  Also include the hashtag #WOW2021 in your description to make it searchable!


After you finish your workout, share on Twitter using the hashtag #WOW2021 and tag @AnnUJackson@LukeStanke, @_Lorna_Brown@ItsCandraM, and @HipsterVizNinja



Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Scroll to Top