how to make a kpi in tableau

Mastering Tableau: Step-by-Step Guide on Creating KPIs

By Olivia Hernandez
AD

Key Performance Indicators, or KPIs, are critical for measuring the success of individual, team, and company objectives. Tableau, a leading data visualization tool, offers extensive capabilities for creating and tracking KPIs. Here's a step-by-step guide on how to make a KPI in Tableau.

Before we dive into the process, ensure you have a dataset with the relevant metrics. For instance, if you're tracking sales performance, you'll need data on sales targets, achieved sales, and other relevant dimensions like time, region, or product category.

Creating a KPI Calculation

KPIs often involve calculations. In Tableau, you can create these using the 'Create Calculated Field' option. Let's explore this process.

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
Teach Yourself Tableau With These 6 Resources (Free and Paid Options)
Teach Yourself Tableau With These 6 Resources (Free and Paid Options)

First, click on 'New Calculation' in the 'Calculated Fields' pane. For our example, let's say we're calculating the sales growth rate. Name the calculation (e.g., 'Sales Growth Rate'), and enter the following formula: SUM([Sales Target]) -SUM([Achieved Sales]).

Understanding the Formula

The SUM() function adds up all the values in the specified field. In this case, it's adding up the sales targets and achieved sales. The result is the total sales growth. You can replace 'Sales Target' and 'Achieved Sales' with your specific field names.

Comment créer un tableau de bord KPI pour votre chaîne d'approvisionnement
Comment créer un tableau de bord KPI pour votre chaîne d'approvisionnement
Weekly KPI Tracker | Productivity Performance Dashboard| Excel and Google Sheets Tool (Instant Download)
Weekly KPI Tracker | Productivity Performance Dashboard| Excel and Google Sheets Tool (Instant Download)
Modèles de tableau de bord KPI pour optimiser vos performances
Modèles de tableau de bord KPI pour optimiser vos performances

Now, let's break down the formula: 'SUM([Sales Target]) - SUM([Achieved Sales])'. This calculates the difference between the total sales target and the total achieved sales, giving us the total sales growth.

Formatting the Calculation

Next, let's format this calculation as a percentage. Right-click on the calculation in the 'Calculated Fields' pane, and select 'Edit'. In the 'Hide computation' field, enter '.01'. This formats the calculation as a percentage. Click OK to save your changes.

AD

Your new KPI, 'Sales Growth Rate', is now ready for use. Next, let's visualize this KPI in Tableau.

Best Practices for Creating Calculations in Tableau
Best Practices for Creating Calculations in Tableau
KPI Templates to Monitor and Improve Business Performance
KPI Templates to Monitor and Improve Business Performance
10 KPI Dashboard Ideas Every Data Analyst Should Know
10 KPI Dashboard Ideas Every Data Analyst Should Know
Créez un tableau de bord KPI efficace et inspirant
Créez un tableau de bord KPI efficace et inspirant
KPI Tracker Dashboard | Business Performance Analytics Template
KPI Tracker Dashboard | Business Performance Analytics Template
KPI Dashboard Templates
KPI Dashboard Templates

Visualizing the KPI

Visualizing KPIs in Tableau involves creating a dashboard. Let's create a simple bar chart to visualize the sales growth rate.

Drag the 'Sales Growth Rate' calculation to the columns shelf. This will create a new sheet with the KPI as the column. Now, let's add some context to our KPI. Drag the 'Region' or 'Product Category' dimension to the rows shelf to see how the sales growth rate varies across different categories.

AD

Adding Context with Trends

To add more context, create a trend line showing how the KPI has changed over time. Drag the 'Time' dimension to the shelf below the rows shelf. This will add a trend line to our visualization, showing how sales growth rates have changed.

How to Create Key Performance Indicator (KPI) Visuals in Power BI
How to Create Key Performance Indicator (KPI) Visuals in Power BI

You can also change the mark type to 'Bar' for a more traditional bar chart representation. Customize the colors, labels, and other visual elements to fit your dashboard's design.

Adding Alerts for Quick Insights

Tableau allows you to set alerts for your KPIs, automatically notifying you when a KPI meets or exceeds certain thresholds. This can help you quickly identify when a KPI is trending towards a goal or indicates a problem.

AD

To set an alert, right-click on the KPI in the view, select 'Alert', and define the conditions for the alert. You can also set the alert frequency and the type of alert (email, Tableau Server notification, or both).

There you have it! Now you know how to make a KPI in Tableau. Regularly reviewing and refining your KPIs can help you gain insights, make data-driven decisions, and achieve your business objectives. Happy data exploring!

AD