July 24, 2025
How to Add Two Values to One Parameter in Tableau
January 22, 2025
L-Shaped Bars: The Chart You Didn't Know You Needed
September 26, 2024
Stop Chart Disasters NOW With This Crucial Method
May 15, 2024
#MakeoverMonday 2024 Week 20 - Exporting Freedom, One Bullet at a Time
I struggled mightily with this week's #MakeoverMonday. My goals was to replicate the original visualization by Bloomberg.
I knew I need to create path to connect the US at the center to each country.
I wanted to make the US the center of the of the map.
Sounds simple, right? I made it way harder than it needed to be.- I overthought the data prep.
- I forgot how to create the paths.
- I couldn't get the math right to offset the longitude.
The coloring and labeling was straightforward for me.
Adding the US as a circle in the middle was pretty simple.
To overcome the problems I facedI looked at a previous visualization I created using paths.
- I opened the workbook and the data to see the configuration.
- I replicated that set up by adding a second set of records to the data set.
- Viewers on the livestream helped me figure out the math to offset the longitude.
The simplest way to explain the location of each country is to think of the lat/lon for the US as 0,0. Then you compare that to the lat/lon for every other country to create the offset.
I got there in the end. What do you think? Was the juice worth the squeeze?
Click the image below to access the viz.
April 13, 2024
25 Example to Help You Master Calculations in Tableau
How to Create a Proportional Stacked Bar Chart in Tableau
Proportional stacked bar charts are a good way of showing the size and proportion of data at the same time.
October 17, 2023
Enhancing Tableau Drill-Downs: Use LODs in Hierarchies
Have you ever felt your drill-downs could be more insightful? Dive into this tutorial to see the magic of LOD expressions within hierarchies.
This will help us unlock deeper insights and makes data exploration even more insightful.
Whether you're well-versed in Tableau or just looking to level up your skills, there's something here for everyone.
Get the workbook - Link
July 4, 2023
Create 10 ACTIONABLE & IMPACTFUL KPIs in Tableau
What is a KPI?
KPIs are measurable values that indicate how well a business is performing in achieving its key objectives and goals. They provide a clear and concise snapshot of critical areas within a business.
KPIs help to:
Monitor progress
Identify areas of improvement
Make data-driven decisions
In order to do this, KPIs must be tailored to specific goals and strategies.
Making KPIs Actionable
Here are 8 suggestions to ensure that KPIs are actionable and impactful.
Align with business objectives
Focus on relevance and simplicity
Set measurable targets
Collect accurate and timely data
Visualize your KPIs
Regularly review and update
Add context
Drill down
Actionable KPIs are vital for measuring performance and achieving results. You can drive your business forward by aligning data with goals and simplifying and visualizing KPIs effectively
Read more about KPIs in my newsletter here. Sign up so you don't miss any future newsletters at andykriebel.com.
⏬ DOWNLOAD the data, and starter and solution workbooks here. I would appreciate your support to continue making videos for you.
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.
January 31, 2023
How to Calculate Day over Day Change Excluding Weekends
In a previous tip, I showed you how to calculate day over day change and build 3 KPI cards.
However, this does not cover the case when you need to ignore weekends. In this #Tableau tip, I show you how to calculate daily change excluding the weekends.
You can copy/paste the calculations from below the video. Enjoy and good luck!
Calculations
- Latest Day
{MAX([Order Date])} - Weekday for Latest Day
DATEPART('weekday',[1. Latest Day]) - Sales for Latest Day
INT([Order Date]=[1. Latest Day])*[Sales] - Previous Day
IF [2. Weekday for Latest Day]=2
THEN [1. Latest Day]-3
ELSE [1. Latest Day]-1
END - Sales for Previous Day
INT([Order Date]=[4. Previous Day])*[Sales] - DoD Change
SUM([3. Sales for Latest Day])-SUM([5. Sales for Previous Day]) - DoD Change %
[6. DoD Change]/SUM([5. Sales for Previous Day]) - Positive Change
[7. DoD Change %]>0
January 24, 2023
How to Select a Date Range with a Set Action
January 19, 2023
How to Calculate Day Over Day Change
In this tip, I going to show you how to build 3 different KPI cards for measuring day over day change. In just a few steps, I’ll show you how to calculate:
- Sales for the most recent day
- Sales for the previous day
- Difference in sales between those two dates
- Percent difference in sales between those two dates
I'll then show you how to create these 3 different methods for displaying the KPIs so that you can create those that are most useful for your audience.
RESOURCES
- Data - https://data.world/vizwiz/sample-car-sales
- Month over Month Change - https://www.youtube.com/watch?v=ViD3vclgNv8
- Year over Year Change - https://www.youtube.com/watch?v=YuxYr4_l2ww
January 3, 2023
#MakeoverMonday 2023 Week 1 - The Change in Greenhouse Gases in the Atmosphere
2023 is here and #MakeoverMonday will be here the entire you to help you continue to learn and improve. Come on the journey with us each week. Build your portfolio. Showcase your skills. You just might get that job you've been seeking. It's happened, a lot, by participating every week.
For week 1, we were analyzing greenhouse gases in the atmosphere from 1979-2021. The original visualization is quite simple.
We have CO2 and total gases on the left axis and the variance to 1990 on the right. Overall, the chart is pretty easy to read, with the exception of knowing that the red line is always compared to the 1990 value. That definitely needs to be more clear. It's also missing a title, so without the website it is posted on, you wouldn't necessarily know what it's about.
For my viz, I started by reproducing the original, but it doesn't look as good because the data we have starts at 1979. So you miss the big upward curve. From there, I focused primarily on making good looking sparklines that show comparisons with a parameter action. I also showed how to create an "area chart" with multiple colors. I'm going to create a tip video for it; I like how it turned out.
Here's the livestream and below is the visualization for you to interact with. The viz does not render properly on Tableau Public, but hopefully you get the idea.
I hope you continue to join me throughout the year so that we can learn together.
Have a wonderful 2023!
December 8, 2022
How to Conduct Customer Retention & Cohort Analysis
- First, down the view, the users are divided into cohorts based on when they first installed the app
- Then, across the view, the users are tracked for 10 days after the launch to see who continued to use it.
November 22, 2022
How to Create a Full Year Calendar Heatmap in Tableau
Calendar heatmaps are a great way to visualize time-series data over an entire calendar year. Individual days are shaded on a light-to-dark gradient based on a measure that has been added to the visualization.
Creating a heatmap for a single month in Tableau is pretty straightforward. It gets a bit more complicated when you want to view an entire year at once. In this tip, I going to show you, step-by-step, how to create a full year calendar heatmap in Tableau. The workbook is below this video to download.
November 17, 2022
How to Create a 3 Level Scatterplot Drilldown
If you want to drilldown multiple levels in a scatterplot, this tip is for you. In this tip, I show you have to create a 3 level drilldown with a scatterplot.
Naturally after I showed how to create a 3 level bar chart drilldown, someone immediately asked how to do it with a scatterplot. Unlike the bar chart drilldown, the scatterplot will only show you marks for the current level.
For example:
- When I’m at the highest level, I see only regions.
- When I drill down one level, I only see States within the Region selected
- When I drill down one more level, I only see postal codes that are within the region and state I selected.
This example shows you how to drill down from Region to State to Postal Code. To use this for yourself:
- Download the workbook
- Copy all of the calculations into your workbook
- Swap out the dimensions
Note that you will need to recreate the sets and set actions. This will work with any combination of 3 dimensions.
October 24, 2022
#MakeoverMonday Week 43 - How have Major League Baseball Pitch Types Changed?
This week's data set was pretty simple. We had 21 baseball seasons and a column for each pitch type. Pivoting the metrics made it much easier to work with for me as I could then split the view by pitch type.
During #WatchMeViz (below), I create a trellis view, showed how to create groups, sets, set actions, sparklines, LODs, custom number formatting, creating a mobile view, and more.
Thank you for tuning in. Here's the video and below is my visualization.
