VizWiz

Launch, grow, and unlock your career in data
Showing posts with label parameter action. Show all posts

April 28, 2026

How to Count Only Weekdays Between Any Two Dates in Tableau (No Excel Needed)

No comments

Stop doing this in Excel. Tableau has a cleaner, more powerful way to count only the weekdays between any two dates. And once you see how it works,you'll use it everywhere.

In this tutorial, you'll learn how to build a dynamic date range selector  using parameter actions, then strip out Saturdays and Sundays using DATEPART weekday logic wrapped in a Level of Detail expression, so you always get an accurate weekday count, no matter the range.

This is one of the most common questions I get asked, and the solution is simpler than you think.

📥 Download the workbook + data: https://nlt.kit.com/weekdays

July 24, 2025

How to Add Two Values to One Parameter in Tableau

No comments
Most people think parameters can only hold one value. But what if I told you… you can hack them to hold two? In this quick tutorial, I’ll show you how to build a dynamic date range using just a single parameter... yes, really. You’ll get: ✅ The exact calculations ✅ Step-by-step setup ✅ A powerful technique few Tableau users know Get the data → https://data.world/vizwiz/coffee-chain-2041-2023 Get a copy of the workbook → https://nlt.kit.com/multi-parameter Interact with the workbook below the video...

Hi! I'm Andy Kriebel. Want to become a great Data Analyst? Here are four ways I can help you: 1. Master Tableau & Advance Your Career: Join Next-Level Tableau, the most comprehensive program designed to take analysts from skilled to industry-leading.
→ Learn more & enroll at https://www.nextleveltableau.com/ 2. Get My Tableau Core Concepts: A comprehensive, self-paced course for Tableau users ready to take their skills to the next level. Dive deeper into Tableau techniques, mastering core concepts, and create dashboards that solve real business problems
→ Grab yours https://www.nextleveltableau.com/tcc​ 3. Access My Tableau Starter Kit: This beginner-friendly course is your no-pressure entry point, built to help you understand the basics of Tableau — fast. You’ll learn exactly how to go from blank screen to interactive dashboard (even if you’ve never opened Tableau before).
→ Get started https://www.nextleveltableau.com/starterkit 4. The Next-Level Tableau Newsletter (FREE) Each week, I'll send you Tableau tips, tutorials, and strategies to design better dashboards, have more impactful, and stand out in your career. Check out past issues to see if this newsletter is right for you.

December 20, 2024

Create a Custom Calendar Widget

No comments
Inspired by Nicholas Lea-Trengrouse's custom calendar visual in PBI, I've rebuilt it in Tableau.

Thanks Nicholas for providing me with the data set and setting an example of how simple visualization can communicate data effectively.

If you're not already following Nicholas, do so. You're guaranteed to find inspirational designs for your dashboards.

No extensions required. I think you'll love the trick I did with the title so that you can't click on it.

Downloading the workbook so that you can reverse engineer it is one of the best ways to learn.

 

June 20, 2024

How to Simultaneously Highlight & Deselect with a Parameter Action in Tableau

No comments
In this video, we’ll dive into an advanced technique to enhance your Tableau visualizations: simultaneously highlighting and deselecting marks using parameter actions. This is a great skill for making your dashboards more interactive and user-friendly. 

What You Will Learn:
- Highlight & Deselect Marks: Learn how to use parameter actions to highlight selected marks while deselecting others, improving the clarity and focus of your data stories.
- Dynamic Labeling: Discover how to label ONLY the selected bar, making it easier to convey specific insights without cluttering your visualizations.

Tutorial Highlights:
1. Introduction to Parameter Actions: A brief overview of what parameter actions are and why they are powerful tools in Tableau.
2. Step-by-Step Guide: Follow along as I demonstrate how to set up parameter actions to achieve the simultaneous highlight and deselect effect.
3. Labeling Techniques: Learn the trick to dynamically label only the selected mark, enhancing the readability and professionalism of your dashboard.

By the end of this tutorial, you will have the skills to create more interactive and visually appealing Tableau dashboards that can captivate and inform your audience effectively.

October 31, 2023

How to Create a Year→Quarter→Month→Day Drilldown in Tableau

No comments

Are you looking to take your Tableau skills to the next level? Do you want to create dashboards that offer a dynamic and interactive experience? 

Look no further! 

This comprehensive tutorial will walk you through the process of creating a Year→Quarter→Month→Day Drilldown in Tableau.

🔹 What You'll Learn:

1. How to set up 2 parameters for drilldown functionality

2. How to perform 9 simple calculations that power your dashboard

3. How to implement 8 simple dashboard actions for enhanced interactivity

4. Introduction to dynamic zone visibility

🔹 Who Should Watch:

1. Data analysts looking to expand their Tableau toolkit

2. Business intelligence professionals aiming for dynamic reporting

3. Anyone who wants to unlock the full potential of Tableau

🔹 Why This Tutorial is Unique:

1. Step-by-step guide for each component: Parameters, Calculations, and Dashboard Actions

2. Introduction to advanced Tableau functionalities like dynamic zone visibility

3. Reusable examples to cement your understanding

4. Tips and tricks for maximizing the utility of your drilldowns

Don't miss out on upgrading your Tableau skills. 

Let's dive into the world of advanced Tableau functionalities and take your dashboards to the next level! 

October 3, 2023

Master Dynamic Zone Visibility in Tableau: Yearly to Monthly Calendar Drill Down

No comments

Welcome to this comprehensive tutorial on creating a Yearly to Monthly Calendar Drill Down using Dynamic Zone Visibility in Tableau.

📌 What You Will Learn

In this video, you'll discover how to use Tableau's Dynamic Zone Visibility feature to effortlessly switch between yearly and monthly calendar views. If you've been looking to add more flexibility and dynamism to your Tableau dashboards, this tutorial is designed for you.

🔑 Key Takeaways

- Understand the concept of Dynamic Zone Visibility
- Set up a yearly calendar view in Tableau
- Implement drill-down functionalities to transition to a monthly calendar view
- Practical tips and tricks for optimizing your Tableau dashboards

🔗 Additional Resources

- Data
- Workbook


August 8, 2023

How to Master the 3-Level Drill Down in Tableau (with Dynamic Zone Visibility)

No comments

Welcome to my guide on mastering the 3-Level Drill Down in Tableau!

In this tutorial, I show you step-by-step how to make the most of using dynamic zone visibility to create this functionality. We'll go through both scatter plot drill downs from Region → State → Postal code and then replicate that as a bar chart. 

You can easily make this a map drill down by changing the chart type. That's it!

🔍 What you'll learn in this video: 

1. The basics of drill down functionality in Tableau
2. Hands-on demonstrations, tips, and best practices
3. How to interact with the data

💡 Why is this important?

Drill down capabilities allow analysts to explore data from a broad overview down to granular details. By mastering the 3-level drill down, you can uncover hidden patterns, insights, and trends that might be overlooked in higher-level analyses. 

📌 Prerequisites: 

A basic understanding of Tableau's interface and primary functions will be helpful, but beginners will be able to follow along as well!

If you are following along, be sure to pause the video along the way as you repeat the steps.



July 31, 2023

#MakeoverMonday 2023 Week 30 - Drinking Fountains in Milan

No comments
In this video, I analyzed the locations of drinking fountains in Milan.

You'll learn about:
  • Joining spatial data sources
  • Parameters
  • Hexbin maps
  • Custom shapes
  • Using mapbox maps
  • Dashboard layout containers
  • Dynamic Zone Visibility
  • Parameter Actions
  • Custom colors
  • Drill down / drill up actions
and more.

Enjoy the video and check out the viz below.


June 12, 2023

#MakeoverMonday 2023 Week 24 - Cereal and the Green Revolution: Yields vs. Land Use

No comments

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.

coaching@makeovermonday.co.uk

===============

CONNECT WITH ME

https://linktr.ee/andykriebel

More Watch Me Viz - https://bit.ly/WatchMeViz2023

February 20, 2023

#MakeoverMonday 2023 Week 8 - The Cost Effectiveness of Protein Sources

No comments

This week we explored the cost of 20g of protein in various foods. During Watch Me Viz, I showed how to create toggles to allow the user to filter by vegan and vegetarian foods. I did this with parameter actions; if you want to learn more, watch the video below.

In the end, though, my fancy filtering with parameter actions didn't quite work out. I hadn't account for the option when the user might want to look at all foods. So I ended up using basic filtering. I overcooked the whole process, but I bet you'll learn something anyway.

I then went through the entire dashboard design process using containers, padding, shading and more. Check that out if you're interested in learning how to use layout contains.

Here's the #WatchMeViz recording, followed by the interactive viz. Enjoy and thanks for watching!



November 22, 2022

#MakeoverMonday Week 47 - Worldwide Railroad Infrastructure Quality Rankings

No comments
This week was a fairly simple data set. Rankings by year by country for a single measure. One thing I found tough to get my head around was the 1-7 scale of the quality ratings. I converted the values to a 1-10 scale instead.

I had limited time for #WatchMeViz, so I quickly went through a few techniques you will find interesting:

  1. Recreating the original bar chart
  2. How to create a bump chart
  3. How to use a diverging color palette and alias country names
  4. How to create a ranked dot plot
  5. How to use parameter actions to sort the view
  6. How to use a filter action to remove the highlighting

This definitely ended up being the largest viz I have ever created (1300x3200). You can view the dashboard below the video. Click on the image to view the interactive version (or click here).

I hope you found it useful. If you did, please give the video a like and either share this post or share the video so that you can help others...pass it along. :-)


November 8, 2022

#MakeoverMonday Week 45 - Who Americans Spend Their Time With

No comments
I found this week's data set super interesting, but also super sad in some ways, like people are more and more alone as they age. Or people spending less time with their partners when they are much older, clearly showing when people typically pass away.

I found the original visualization quite good, so during #WatchMeViz, I spend the hour replicating it. You can see during the video how much time formatting takes, and how I got annoyed about a new bug with colors. In the end, I go pretty close to the original, but some of the highlighting, and particularly the speed of the interactions couldn't be replicated in Tableau; Tableau simply isn't as responsive.

My viz is below the video or check it out here.


September 27, 2022

Parameter Actions: Geographical Drill Down in Tableau

No comments
Thanks for watching this video about performing a geographic drill down in Tableau!

In this video I will walk you through:
- How to drill down from Region to State
- How to get back to the State level
- How to create the parameter and parameter action

Download the workbook here.

September 12, 2022

#MakeoverMonday 2022 Week 37 - Berkshire Hathaway Holdings

No comments

During Watch Me Viz, I covered set actions, parameter actions, highlighting, boolean calculations, table calculation, dashboard layout, and I failed at a starburst chart (I couldn't get the years to sort properly; I'll post it when I figure it out).

Enjoy! Check out the viz below the video.

 

August 23, 2022

How to Create a Two-Level Drill Down in Tableau

No comments

There are tons of ways to create a single level drill down, but if you’re having issues creating a second drill down, this video is a guaranteed way to help you fix this problem.

Additional video - Single Level Drill Down 

June 22, 2022

How to Sort a Multi-Column Bar Chart with a Parameter Action

No comments
Let's say you have a chart with 1 dimension and 3 measures. You want to make sorting the bar chart by any of the measures as easy as possible. In this tip, I show you how to use parameter actions to sort the bar charts based on the measure you select.

June 20, 2022

#WatchMeViz - Workout Wednesday 2022 Week 1

No comments
Below is the livestream and link to the workbook I created as I took on Workout Wednesday 2022 week 1 - FAA Wildlife Strikes. Enjoy!


June 7, 2022

How to Compare to a Selected Value with a Parameter Action

No comments
In this tip, I show you how to use a parameter action to compare values within a chart. This example uses a bar chart; it works with other chart types as well.

January 19, 2022

Social Connectedness in the United States

No comments

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.


DISTANCE IS MOST IMPORTANT

People are more likely to be friends with people that live nearby. That makes sense. Consider these four counties that I lived in while I lived in the U.S. Clearly relationships on Facebook are more likely with people that lived near me.






STATE LINES ARE BOUNDARIES

In some counties (like the four below, friendships drop significantly outside State borders.




MIGRATION PATTERNS

People from certain areas of the country have migrated to other areas in the country over the course of many decades. We can see these patterns by looking at Chicago and Milwaukee. The southern counties were typically related to the slave trade, and the people in the south gradually migrated north after they were freed.



Migration patterns aren't limited to history. Consider counties in the Northeast. Nearly all of them have a strong relationship with coastal areas in South Carolina and Georgia and all of Florida. These are called snowbirds, people that migrate south for the winter.




PHYSICAL BOUNDARIES

Friendships in some counties are limited by geographical boundaries. For example, friendships for people living in Belmont County, Ohio don't cross the Appalachian Mountains in West Virginia.


While people in Scott County, Arkansas don't have friends on the other side of the Mississippi River.



Have some fun with the interactive version below.

January 18, 2022

How to Add a +/- Indicator to a Drill Down Action

No comments
In this tip, I show you how to add an indicator before the selected dimension for a set action. This can also be done with a parameter action.

For example, if you click on the East region to drill down to the State level, you will see + East as an indicator. I also show you how to use • as an indicator.