Tableau Gauge Chart

What is the Tableau Gauge Chart?

A Tableau gauge chart is a data visualization tool that displays the current progress of a key performance indicator (KPI) towards a goal or target value. A Tableau gauge chart is a circular arc with a needle that resembles similar to a dial gauge in Tableau or a speedometer. The position of the Tableau gauge chart with needle and color helps you to determine how much closer or distant you are from your target value. This chart is very useful when you want to track the performance of metrics against a defined target. For example, you may want to monitor how the allocated budget is spent across the various initiatives and whether the budget is underspent or overspent.

A Tableau gauge chart is a preferred choice when you want to compare the performance against a particular benchmark. A typical Tableau gauge chart is as follows.

Tableau Gauge Chart - Intro
Key Takeaways
  • Tableau gauge chart displays the current progress of a key performance indicator (KPI) towards a Tableau gauge chart with target value.
  • It has a circular arc with a needle that resembles a dial gauge or a speedometer in Tableau.
  • The position of the Tableau gauge chart with needle and color helps you to determine how much closer or distant you are from your target value.
  • Tableau gauge chart is a preferred choice when you want to 
    • monitor the progress of a KPI toward a target value or goal
    • assess the KPI effectiveness in terms of percentages against a target value
    • real-time goal monitoring for critical KPIs such as service metrics, project delivery progress, or customer KPIs can help to action on mitigating steps to improve the KPIs
    • compare the performance against a particular benchmark

When to build?

You must consider building a Tableau gauge charts when

  • You want to monitor the progress of a KPI toward a Tableau gauge chart with a target.
  • You need to view the base value, maximum value, target value, and current value in a single view.
  • You want the flexibility to assess the KPI’s effectiveness in percentages against a Tableau gauge chart with a target value.
  • You want to facilitate real-time goal monitoring for critical KPIs such as service metrics, project delivery progress, or customer KPIs, which can help take action on mitigating steps to improve the KPIs.

How to create a Gauge Chart in Tableau?

Tableau doesn’t natively support gauge charts. However, with a workaround, you can create a gauge chart in Tableau. You have to create a donut chart and divide the chart into different slices.

To create a gauge chart in Tableau, you may follow the instructions outlined below: 

Step 1: Import your data source into Tableau public.

Step 2: Create calculated fields required for specifying the goal value, current measure/KPI, minimum and maximum values. Also, create the logic for the circular arc.

Tableau Gauge Chart - Step 2

Step 3: Create the gauge chart in Tableau. Note that Tableau doesn’t natively support any gauge chart. You have to manipulate the Pie chart in a way that creates a circular arc view. You can do so by creating a pie chart, transforming the pie chart into a donut chart, and then dividing the slices of the donut chart according to the angle referenced to your KPI.

Step 3

Step 4: Adjust the view to hide the lower circular arc and then color code the upper circular arc to display the gauge chart.

Tableau Gauge Chart - Step 4

Step 5: Add formatting and customization to the gauge chart. 

Note: Tableau gauge chart download works similarly to any other chart in Tableau.

Examples

In this section, we will demonstrate different scenarios that you can reference when creating Tableau gauge charts.

Example #1

In this example, we have demonstrated how to create a gauge chart in Tableau using the Europe Sales Records dataset.

To create a gauge chart in Tableau, follow the instructions outlined below:

Step 1: Import your dataset into the Tableau interface.

Example 1 - Step 1

Step 2: Add SUM(0) to the Rows shelf, as shown below.

Example 1 - Step 2

Step 3: Right-click on the SUM(0) and choose Dual Axis.

Example 1 - Step 3

Step 4: Drag Measure Names to the Color on the Marks card.

Tableau Gauge Chart - Example 1 - Step 4

Step 5: Change the Marks Type to Pie.

Tableau Gauge Chart - Example 1 - Step 5

Step 6: Change the color of the innermost circle to white.

Tableau Gauge Chart - Example 1 - Step 6

Step 7: Adjust the size of the innermost circle.

Tableau Gauge Chart - Example 1 - Step 7

Step 8: Navigate to the Analysis – Create a Calculated Field. 

Tableau Gauge Chart - Example 1 - Step 8

Step 9: Create the below-calculated fields in the calculation editor screen.

Profit as % of Sales

Tableau Gauge Chart - Example 1 - Step 9

Lower Half

Tableau Gauge Chart - Example 1 - Step 9 - Lower Half

Color Coding less than 50%

Tableau Gauge Chart - Example 1 - Step 9 - color coding

Grey less than 50%

Tableau Gauge Chart - Example 1 - Step 9 - Grey

Color Coding gt than 50%

Tableau Gauge Chart - Example 1 - Step 9 - color coding(gt)

Grey gt than 50%

Tableau Gauge Chart - Example 1 - Step 9 - Grey gt

Slice 1

Tableau Gauge Chart - Example 1 - Step 9 - Slice 1

Slice 2

Example 1 - Step 9 - Slice 2

Dummy

Tableau Gauge Chart - Example 1 - Step 9 - Dummy

Step 10: Add Filter conditions by dragging the Measure Names to the Filters pane.

Tableau Gauge Chart - Example 1 - Step 10

Step 11: Drag Measure Values to the Angle.

Tableau Gauge Chart - Example 1 - Step 11

Tableau will update the view, as shown below.

Example 1 - Step 11 - Update

Step 12:Click on Color – Edit Colors.

Tableau Gauge Chart - Example 1 - Step 12

Step 13: In the Edit Colors screen, amend the color of the data item.

Example 1 - Step 13

Tableau will update the view, as shown below.

Tableau Gauge Chart - Example 1 - Step 12 - Update

Step 14: Add Dummy to the innermost circle Detail.

Tableau Gauge Chart - Example 1 - Step 14

Step 15: Change the Dummy to Color.

Tableau Gauge Chart - Example 1 - Step 15

Step 16: Click on the down arrow and choose Edit Colors.

Example 1 - Step 16

Step 17: Adjust the color coding, as shown below.

Example 1 - Step 17

Step 18: Add the Sales Channel to the Columns shelf.

Tableau Gauge Chart - Example 1 - Step 18

Step 19: Add Sales Channel and Profit as % of Sales to the innermost circle.

Tableau Gauge Chart - Example 1 - Step 19

Step 20: Apply formatting to the view by choosing the Format option.

Tableau Gauge Chart - Example 1 - Step 20

Step 21: In the Format pane, choose percentage.

Example 1 - Step 21

Step 22: Remove the header by unchecking Show Header.

Tableau Gauge Chart - Example 1 - Step 22

Now, your Tableau gauge chart is ready for visualization.

Tableau Gauge Chart - Example 1 - Step 22 - chart

Example #2

In this example, we will demonstrate creating a speedometer gauge chart in Tableau using the Superstore dataset. The Superstore contains data on the sales of various product categories across multiple geographic locations worldwide.

To create a speedometer gauge chart in Tableau, follow the instructions outlined below:

Step 1: Open Tableau public on your machine and connect to your dataset from the Tableau interface.

Example 2 - Step 1

Step 2: Click on the down arrow next to the search bar and choose Create Calculated Field.

Example 2 - Step 2

Step 3: In the Calculation Editor window, specify the name of the calculated field and logic to populate the value.

Tableau Gauge Chart - Example 2 - Step 3

Step 4: Repeat steps 2 & 3 to create the calculated field Slice 1 as per the logic below.

Tableau Gauge Chart - Example 2 - Step 4

Step 5: Similarly, create additional calculated fields, as shown below.

Slice 2

Tableau Gauge Chart - Example 2 - Step 5 - slice2

Slice 3

Tableau Gauge Chart - Example 2 - Step 5 - slice3

Slice 4

Example 2 - Step 5 - slice4

Slice 5

Tableau Gauge Chart - Example 2 - Step 5 - slice5

Step 6: Double-click on the Rows shelf, type 0, and hit Enter. Repeat the same one more time.

Tableau will add SUM(0), as shown below.

Tableau Gauge Chart - Example 2 - Step 6

Step 7: Under the All pane, change the Marks Type to Pie.

Tableau Gauge Chart - Example 2 - Step 7

Step 8: Change the landscape to Entire View.

Tableau Gauge Chart - Example 2 - Step 8

Step 9: Right-click on the lower vertical axis and choose Dual Axis.

Tableau Gauge Chart - Example 2 - Step 9

Tableau will merge both the Pie charts into a single view.

Tableau Gauge Chart - Example 2 - Step 9 - Merge

Step 10: Click on SUM(0) and adjust the Size for the outer circle.

Tableau Gauge Chart - Example 2 - Step 10

Step 11: Drag Measure Name out of the SUM(0) card on the Marks pane.

Example 2 - Step 11

Step 12: Change the color to White for the inner circle.

Tableau Gauge Chart - Example 2 - Step 12

Step 13: Similarly, drag the Measure Name for the outer circle to Angle on the SUM(0) pane.

Example 2 - Step 13

Tableau will update the visual, as shown below.

Tableau Gauge Chart - Example 2 - Step 13 - Visual

Step 14: Remove the Measure Values other than the calculated fields you have created.

Example 2 - Step 14

Step 15: Readjust the measure values according to the order shown below.

Tableau Gauge Chart - Example 2 - Step 15

Step 16: Click on Color – Edit Colors. In the Edit Colors screen, double-click on a data item and select the color as shown.

Example 2 - Step 16

Step 17: We have adjusted the color of the Slices, as shown below.

Tableau Gauge Chart - Example 2 - Step 17

Step 18: Post color coding, Tableau will refresh your visual as seen below. It looks like a speedometer chart.

Tableau Gauge Chart - Example 2 - Step 18

Step 19: Click on the Label on the Marks card. Click on the drop-down next Font and apply customization to the font.

Tableau Gauge Chart - Example 2 - Step 19

Step 20: Right-click on the Profit Margin and choose Format.

Tableau Gauge Chart - Example 2 - Step 20

Step 21: Under the Default section under the Pane tab, change the Numbers format to display % values. Your gauge chart is now ready for visualization..

Tableau Gauge Chart - Example 2 - Step 21

Example #3

In this example, we will use Alibaba Retail Sales data to create another gauge chart in Tableau. Alibaba Retail Sales data contains the sales details across different Alibaba stores across geographical locations.

You may follow the instructions outlined below to try creating a similar toggle yourself in Tableau:

Step 1: Import the data into Tableau public.

Example 3 - Step 1

Step 2: We have created a series of calculated fields, as shown below. They include:

Profit%

Tableau Gauge Chart - Example 3 - Step 2 - Profit

Portion 1

Tableau Gauge Chart - Example 3 - Step 2 - Portion 1

Portion 2

Example 3 - Step 2 - Portion 2

Portion 3

Tableau Gauge Chart - Example 3 - Step 2 - Portion 3

Portion 4

Portion 5

Tableau Gauge Chart - Example 3 - Step 2 - Portion 4
Example 3 - Step 2 - Portion 5

Step 3: Type 0 in the Rows shelf and hit Enter. Repeat the same process.

Tableau Gauge Chart - Example 3 - Step 3

Step 4: Right-click on the vertical axis and select Dual Axis.

Tableau Gauge Chart - Example 3 - Step 4

Step 5: Adjust the size of the outermost pie chart. Color code the innermost pie chart with White color.

Tableau Gauge Chart - Example 3 - Step 5

Step 6: Drag the Measure values and Tableau will create a donut chart, as shown below.

Example 3 - Step 6

Step 7: Rearrange the Measure Values. Do it as shown below.

Tableau Gauge Chart - Example 3 - Step 7

Step 8: Click on the Color for the outermost pie and choose Edit Colors; in its window, select the color coding as shown below. Click OK to save the changes.

Tableau Gauge Chart - Example 3 - Step 8

Tableau will create a gauge chart in the view based on your selection.

Example 3 - Step 8 - chart

Step 9: Drag the Profit% to the Label on the Marks card.

Tableau Gauge Chart - Example 3 - Step 9

Step 10: Format the gauge chart as per your requirement. Here, we have formatted the Profit% value to display the value in % as shown in the view. Now, your speedometer gauge chart is ready for visualization.

Tableau Gauge Chart - Example 3 - Step 10

Important Things to Note

  • To create a gauge chart, you need to define the Tableau gauge chart with target values, and minimum and maximum values on your dataset.
  • Choose appropriate color coding for your gauge chart to create a visually appealing experience for your users.
  • Avoid creating multiple gauge charts to avoid any clutter in your dashboard.
  • Always follow Tableau gauge chart best practices for effective chart visualization.

Frequently Asked Questions (FAQs)

1. Are there limitations to using gauge charts in Tableau?

There are a few limitations to using gauge charts in Tableau. They include:

• Gauge charts can primarily be used to compare one KPI against a goal. You can’t use it to compare multiple KPIs which are used for your visualization purposes.
• These charts are not effective in displaying additional information in a space-constrained dashboard as they require a lot of space.
• You will need to create multiple gauge charts to monitor or track the progress of multiple KPIs.
• Too much overloading of colors may turn the gauge charts into a visual nightmare.

2. Are there alternatives to gauge charts in Tableau for similar visualizations?

Certainly! There are a few Tableau gauge chart alternatives for similar visualizations. They include:

• Bar charts in combination with line chart
• Tableau Bullet graphs 
• Card visuals for displaying a single value measure
• Treemap visuals to display data hierarchy using the data fields

3. How do Tableau gauge charts compare to similar visualizations in other BI tools?

Tableau gauge charts offer similar features such as 

• comparing your key KPIs against a Tableau gauge chart with target value or goal
• customizing chart with options like color coding, size, tooltip, labels, or other formatting options.

However, they differ in terms of features such as

• User interaction with the chart like highlighting, filters, or drill-downs
• The degree of customization differs compared to other Tableau visualizations or BI tools

4. How do you interpret the readings on a Tableau gauge chart?

To interpret the readings on a Tableau gauge chart, follow the instructions below:

Tableau gauge chart with target – The threshold or reference value to perform the comparison
Position of the Tableau gauge chart with needle – Represents the current value of your KPI or data point
Color – Depending on the color coding, you can determine how you fare compared to the Target value

Guide to What is Tableau Gauge Chart. We learn definition, when to built, how to create gauge chart, with examples, and points to note. You can learn more from the following articles.

Reader Interactions

Leave a Reply

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