how to make a kpi in tableau

Mastering KPIs in Tableau: Step-by-Step Guide

By Hannah Allen
AD

Key Performance Indicators (KPIs) are essential for measuring and understanding your business' progress. Tableau, a popular data visualization tool, is perfect for creating and monitoring these KPIs. Today, we'll guide you through the process of creating KPIs in Tableau. Let's dive right in!

Before we start, ensure you have your data ready and that you're familiar with Tableau. If not, check out our quick Tableau tutorial to get up to speed.

Identifying and Preparing Your KPIs

First, identify the metrics you want to track. These should align with your business goals. For example, if you're focused on sales, your KPIs might include 'Sales Growth' or 'Average Order Value'.

AD
Tableau Tip Tuesday: How to Show KPIs & Sparklines in the Same Graph
Tableau Tip Tuesday: How to Show KPIs & Sparklines in the Same Graph
What is KPI and how to build KPI in Tableau
What is KPI and how to build KPI in Tableau
KPI Dashboard Templates
KPI Dashboard Templates

Once you have your metrics, prepare your data accordingly. You'll need to ensure your data is clean, relevant, and organized. Tableau works best with data in a structured format, like a spreadsheet (e.g., Excel, CSV).

Understanding Your Data Source

Before connecting your data in Tableau, take time to understand what's in your data source. Familiarize yourself with the columns, data types, and any missing or NULL values.

KPI Slides - best infographic design templates
KPI Slides - best infographic design templates
40 Free KPI Templates & Examples (Excel / Word)
40 Free KPI Templates & Examples (Excel / Word)
Tableau Dashboard Tips [Top 10 Tableau Dashboard Design Tips]
Tableau Dashboard Tips [Top 10 Tableau Dashboard Design Tips]

To do this, open your data source in a spreadsheet program like Excel or Google Sheets. Check for any inconsistent or incorrect data and clean it up before importing into Tableau.

Connecting Your Data Source in Tableau

Once your data is clean and organized, it's time to connect it to Tableau. Open Tableau and click on 'Connect to Data'. Choose the type of data source you're using (e.g., Excel, CSV), then select your file.

AD

Tableau will then show you a preview of your data. Make any necessary adjustments, such as renaming fields or adding calculated fields. Once you're satisfied, click 'OK' to start visualizing your data.

Came across this on Tableau Public and found it super interesting. | Jahnavi Mandadi
Came across this on Tableau Public and found it super interesting. | Jahnavi Mandadi
Flat KPI Infographics | Template for Google Slides & PPT
Flat KPI Infographics | Template for Google Slides & PPT
KPI vs Metric vs Dashboard — What's the Difference?
KPI vs Metric vs Dashboard — What's the Difference?
Visual Engineering – Rethinking Dashboards Beyond the Numbers
Visual Engineering – Rethinking Dashboards Beyond the Numbers
Partie #1: comment mettre en place un Tableau de bord commerciale - Analyse des KPI essentiels
Partie #1: comment mettre en place un Tableau de bord commerciale - Analyse des KPI essentiels
Client KPI Dashboard: Visual Guide to Effective Performance Monitoring
Client KPI Dashboard: Visual Guide to Effective Performance Monitoring

Creating KPIs and Measures in Tableau

Now that your data is connected, it's time to create your KPIs. In Tableau, KPIs are essentially calculations based on your data. Tableau's 'Measures' function is perfect for creating these KPIs.

To create a new measure, right-click on a blank space in the 'Data' pane and select 'Create Calculated Field'. Name your new measure (e.g., 'Sales Growth') and input your calculation in the formula bar (e.g., SUM([Sales])/SUM([Sales]) LAST YEAR).

AD

Formatting Your KPIs

Once you've created your KPIs, you'll want to format them to make them stand out. Right-click on your KPI in the 'Data' pane and select 'Format'. Here, you can change the number format, add icon sets to show performance compared to a target, or display the KPI as a percentage.

a poster showing how to use chart in excel
a poster showing how to use chart in excel
Manufacturing KPI Dashboard Template
Manufacturing KPI Dashboard Template
CFO KPI Dashboards Overview & How to Create One
CFO KPI Dashboards Overview & How to Create One

You can also add a target line to show where you want your KPI to be. This helps to quickly see if you're meeting your goals. To add a target line, go to the 'Analytics' pane and drag the 'Floatingogi' icon onto your chart. Draw a line at your target level and adjust the style as desired.

Dashboarding Your KPIs

Finally, add your KPI visualizations to a dashboard. This is where you'll see all your KPIs at a glance. To create a new dashboard, click on the 'New Dashboard' button at the bottom of the 'Dashboards' pane. Then, drag your visualizations onto the dashboard from the 'Views' pane.

AD

Adjust the layout and style of your dashboard to make it easy to read and visually appealing. Use Tableau's 'Auto-Size Dashboard' feature to ensure your KPIs and other visualizations fit perfectly.

Congratulations, you've now created and dashboarded your KPIs in Tableau! This will provide you with a way to monitor your business' performance and make data-driven decisions. Now, it's time to update your data regularly and watch those KPIs evolve.

AD