June 30, 2024
How to Rank & Filter the Top 5 in Tableau in Under 60 Seconds!
April 29, 2024
How to Create a Comet Chart in Tableau
April 13, 2024
25 Example to Help You Master Calculations in Tableau
April 9, 2024
How to Create a Floating Bar Chart in Tableau
A floating bar chart is similar to a Gantt chart, except it shows the range of two data points instead of two dates.
October 17, 2023
The End of an Era: Watch Me Viz's Decline Unveiled
That's a wrap. Watch Me Viz has retired, for good.
This week's data was about the performance of all of the WMV livestreams. There was some incredible viewer participation, which ultimately led to this viz that explains why WMV should quietly disappear.
Check out the livestream below.
September 12, 2023
How to Calculate Weekday-Only Sales in Tableau
Have you ever wondered how to compare sales performance between two sets of weekdays?
In this video, I'll show you how to calculate and compare sales for the last 10 weekdays against the prior 10 weekdays—all while excluding weekends.
What You Will Learn:
- Setting up your data source for comparison
- Creating calculated fields for two sets of weekdays
- Configuring table calculations to get only the days you need
- Filtering out weekends from both data sets
- Implementing advanced date functions for comparison
- Visualizing and comparing sales for both sets of weekdays
Background Context:
Tableau enables you to conduct intricate data analyses, but comparing specific sets of weekdays can be tricky. This tutorial simplifies that process, focusing on comparing the last 10 weekdays' sales with the 10 weekdays preceding them.
Assumptions:
- You have a foundational knowledge of Tableau.
- Your sales data contains date information.
- You've previously worked with calculated fields in Tableau.
Related Videos:
Resources:
- Workbook & data: Link
June 12, 2023
#MakeoverMonday 2023 Week 24 - Cereal and the Green Revolution: Yields vs. Land Use
At the global level, how has crop production changed over the last fifty years?
In this Watch Me Viz live stream, I analyzed how the yield and land use of producing cereal has changed over the last 50 years.
I really liked the original visualization, so I rebuilt it in Tableau. I learned how to use dynamic zone visibility, layout containers, and more. Check it out.
Resources:
1. Data - https://data.world/makeovermonday/2023w24
2. Final Dashboard - https://tabsoft.co/3P3Sdl3
===============
Watch Me Viz is a weekly live stream where I help people become better at #Tableau, #PowerBI and data analysis. I show how I take an existing visualization, critique it, analyze the data, and build several visualizations all the while looking for a "better" visualization than the original.
If you are considering participating in Makeover Monday, you can get started by downloading data sets from the Makeover Monday website. I promise you'll become better at data analysis and data visualization by practicing every week.
Data sets - https://www.makeovermonday.co.uk/data/
===============
LEARN FROM ME
Join my newsletter. Sign up at andykriebel.com.
ARE YOU INTERVIEWING FOR A NEW JOB?
Contact me for more information about how I can help you prepare for that big interview.
===============
CONNECT WITH ME
More Watch Me Viz - https://bit.ly/WatchMeViz2023
May 30, 2023
How to Create a Radial Bubble Chart in Tableau
April 11, 2023
How to Create a Jittered Bar Chart in Tableau
Are you tired of the same old boring bar charts? Add some flair to your data visualization with a jittered bar chart! See more of your data without losing scope of the overall.
To create one, simply add a random amount of noise to the x-axis and y-axis of your bar chart. This will add more granularity to your data, prevent overlapping and give your chart a unique look. Try it out and impress your colleagues with your data viz skills!
Here’s a video to help you create your own.
March 16, 2023
How to Dynamically Resize Marks in Tableau
In this video, I show you how to resize marks (in this case circles) dependent on how many marks are in the view. For example, if all possible marks are in the view (100%), the circles should be small. If only 10% of possible marks are in the view, the circles should be large.
I show how to do this on a map, but it can be extended to scatter plots, box plots, dot plots, jittered bar chart, and more.
September 15, 2022
Table Calculations vs. Level of Detail Expressions - % of Total
September 12, 2022
September 5, 2022
#MakeoverMonday 2022 Week 36 - Median Age at First Marriage in America
This was a relatively simple data set and I was able to build quite a few vizzes during Watch Me Viz. I ended up with something more complex that it needed to be, but it was fun figuring out how to create the calculations.
Here's how it works:
- Compare the median age at first marriage of each state to the US average for 2006-2010
- Compare the median age at first marriage of each state to the US average for 2015-2019
- Check whether the State
- Stayed above the US average in both time periods
- Stayed below the US average in both time periods
- Moved from below the US average to above the US average
- Moved from above the US average to below the US average
August 29, 2022
#MakeoverMonday 2022 Week 35 - The World's Biggest Military Spenders
Makeover Monday is back! Every Monday I'll be running a #WatchMeViz and every Wednesday, Eva will be running #VizReview. Subscribe to my YouTube channel for reminders of the latest events.
https://youtube.com/andykriebel
This week was a makeover of a visualization by Visual Capitalist about the top 10 military spenders. During Watch Me Viz, I iterated through 15 different charts before settling on a bump chart. If you want to learn about sets, parameters, table calculations, containers and more, watch the video below.
Below the video you can see my viz, or click here. Enjoy! If you need clarifications on anything, please comment on the video here.
August 17, 2022
Analyzing Seasonality with Cycle Plots
May 25, 2022
#WOW2022 Week 20 - Monthly Sales vs. Target
Resources
- Week 20 Challenge
- My Solution (image below)
March 22, 2022
Two Methods for Labeling the Top N Values in a Chart
In this tip I show you how to use the INDEX and RANK functions to label the top N values in a chart. I also explain the difference in how they work, and how the RANK function is simpler to configure.
February 2, 2022
How to Create a Jitter Plot
In this tip I show you how to create a jitter plot. A jitter plot is very similar to a dot strip plot other than it reduces the overlapping of the data points. The data is plotted like a dot plot and then we use either the RANDOM() or INDEX() functions to spread out the dots.
January 19, 2022
Social Connectedness in the United States
NOTE: The insights you see in this post are based on an article by The Upshot from September 2018. Some of the insights and use cases demonstrated are the same and are shown in Tableau for demonstration purposes.
----------------------------
When I first saw the map that The Upshot created in How Connected Is Your Community to Everywhere Else in America? I was blow away by the simplicity of the map and how easy it is to understand the relationships of people in the United States via their Facebook friendships. The first thing you need to understand is the metric "Social Connectedness Index". You can access the data I used via the same link.
Here's the formula Facebook uses to calculate the index:
From Facebook:
Social Connectednessi,j measures the relative probability of a Facebook friendship link between a given Facebook user in location i and a user in location j. Put differently, if this measure is twice as large, a Facebook user in i is about twice as likely to be connected with a given Facebook user in j.
In each dataset, we scale the measure to have a fixed maximum value (by dividing the original measure by the maximum and multiplying by 1,000,000,000) and the lowest possible value of 1. We also round the measure to the nearest integer.
I was not able to match the color scale in The Upshot exactly, so instead I used a table calculation that ranks each County in the U.S. compared to the County selected by the user.
Close enough for me!
The data has columns for the State/County of the user and for State/County of the friend. To ensure that I was only looking at friends for the County selected, I used Parameter Actions to filter the user to the County and State selected. The rank calculation then only uses the SCI for the friends.
Now let's look through some of the use cases as described in The Upshot.

