VizWiz

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

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.

January 22, 2025

L-Shaped Bars: The Chart You Didn't Know You Needed

No comments
In this Tableau tutorial, I’ll walk you through how to create L-shaped bar charts, a unique and visually way to display your data, perfect for giving your dashboards a fresh, modern look.

You’ll learn:

- How to connect and prepare your data using Superstore and custom point files.
- Creating relationships and calculated fields to build the L-shaped structure.
- Using Tableau’s Map Layers feature to add detail and customization.
- Formatting and finalizing your chart for dashboards.

Whether you’re impressing stakeholders or sharpening your Tableau skills, this step-by-step guide has you covered!

Resources:
🔗 Point data files
🔗 Tableau workbook


P.S. Want to become an advanced Tableau user?

Unlock your full potential with Next-Level Tableau, the ultimate training program for Tableau users. Gain access to expert-led tutorials, live sessions, and a supportive community designed to help you master advanced skills, create stunning dashboards, and achieve your career goals. Learn more and take your Tableau skills to the next level today at nextleveltableau.com.

Unsure? Sign up for my free course at starter.nextleveltableau.com.

September 26, 2024

Stop Chart Disasters NOW With This Crucial Method

No comments
How many times have you seen a chart with so many colors that you can't see one from the others? 

In this tip, I show you a simple technique for ensuring your users don't make a mess of the charts you design. I call them spaghetti charts. 

----------

I'm Andy Kriebel.

I help people become so good at Tableau that they don't need me any more. 

If you have a goal of becoming the best of the best, go to nextleveltableau.com for more information.

May 15, 2024

#MakeoverMonday 2024 Week 20 - Exporting Freedom, One Bullet at a Time

No comments

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 faced
  • I 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

No comments
I guarantee that if you study these 25 examples, you'll be on your way to mastering Tableau calculations. 

Credits to Sara Hamdoun and Fuad Ahmed.

 

How to Create a Proportional Stacked Bar Chart in Tableau

No comments

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

No comments

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

No comments

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.

  1. Align with business objectives

  2. Focus on relevance and simplicity

  3. Set measurable targets

  4. Collect accurate and timely data

  5. Visualize your KPIs

  6. Regularly review and update

  7. Add context

  8. 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

No comments

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

No comments

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

  1. Latest Day
    {MAX([Order Date])}

  2. Weekday for Latest Day
    DATEPART('weekday',[1. Latest Day])

  3. Sales for Latest Day
    INT([Order Date]=[1. Latest Day])*[Sales]

  4. Previous Day
    IF [2. Weekday for Latest Day]=2
    THEN [1. Latest Day]-3
    ELSE [1. Latest Day]-1
    END

  5. Sales for Previous Day
    INT([Order Date]=[4. Previous Day])*[Sales]

  6. DoD Change
    SUM([3. Sales for Latest Day])-SUM([5. Sales for Previous Day])

  7. DoD Change %
    [6. DoD Change]/SUM([5. Sales for Previous Day])

  8. Positive Change
    [7. DoD Change %]>0

January 24, 2023

How to Select a Date Range with a Set Action

No comments
In this tip, I going to show you how to use set actions to select a date range in a line chart and summarize the values in the selected area.

In just a few steps, I’ll show you how to:

1. Create the custom date and set
2. Use the set to create a reference band
3. Color the line within the reference band
4. Calculate the totals sales within the date range
5. Configure the set action

January 19, 2023

How to Calculate Day Over Day Change

No comments

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:

  1. Sales for the most recent day
  2. Sales for the previous day
  3. Difference in sales between those two dates
  4. 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

No comments

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

No comments
In this tip, I’m going to show you how to analyze customer retention and conduct cohort analysis in Tableau.

With cohort analysis you group your users based on a shared characteristic to better track and understand their behaviors. Cohort analysis is typically used to understand customer churn or retention.

Cohort analysis is nearly always done for an app launch.
  • 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.

Comparing these two groups allows us to see when users are churning so that we can then investigate why.


November 22, 2022

How to Create a Full Year Calendar Heatmap in Tableau

No comments

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

No comments

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:

  1. When I’m at the highest level, I see only regions.
  2. When I drill down one level, I only see States within the Region selected
  3. 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:

  1. Download the workbook
  2. Copy all of the calculations into your workbook
  3. 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?

No comments

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.

October 3, 2022

#MakeoverMonday 2022 Week 40 - Income Inequality Around the World

No comments
Of course, as soon as I posted the data set this week, the UK PM decided to backtrack on the tax cuts she has promised before. In my opinion, this is a good. But it kinda made that part of the analysis irrelevant.

Still, though, I was curious to see how the UK compared to the rest of the World. During Watch Me Viz (below), I started by rebuilding the original chart, which I quite liked. I then looked at the data over time, but it was quite sparse and difficult to do any meaningful analysis of.

So I decided to stick with a single chart that looked like the original, but it includes all countries and some filtering options.

To learn how I approached the analysis and built the charts, watch the video below. My final dashboard is below the video.

Enjoy!


September 26, 2022

#MakeoverMonday Week 39 - Average Internet Speeds Across Europe

No comments

My goal this week was to correct my failures from last week, so I focused almost exclusively on building the starburst/sunburst chart. As promised to the viewers, I will also record a separate tip video for how to build them.

Here's the WatchMeViz and the viz is below that.


September 15, 2022

Table Calculations vs. Level of Detail Expressions - % of Total

No comments
In this video, I show you the difference between table calculations and level of detail expressions with the % of total calculation. I review: 

  1. How to compute a % of total with a table calc 
  2. How to compute a % of total with an LOD 
  3. How filters impact these calculations 
  4. How context filters impact level of detail expressions 
  5. Tableau's order of operations 

Download the workbook here. Download the order of operations chart here.