How to Add a Card in Tableau
When you're trying to build a dashboard in Tableau, one of the most effective ways to highlight a key performance indicator (KPI) is with a simple, bold "card." It’s that big number at the top of a report that instantly tells you your Total Sales, New Users, or Conversion Rate. This article will clarify what "cards" mean in the Tableau environment and provide a step-by-step guide to creating your own eye-catching KPI cards from scratch.
What Exactly is a "Card" in Tableau?
In Tableau, the term "card" can be a bit confusing because it refers to two different things. Understanding the distinction is the first step to mastering them.
1. The Marks Card
The Marks Card is not a visual element you add to a dashboard. Instead, it’s a core part of the Tableau worksheet interface - the control panel for any visualization you build. Every time you drag a field into your view, Tableau creates "marks" (like bars in a bar chart, dots in a scatter plot, or text). The Marks Card is where you control every visual property of those marks.
It's composed of several shelves:
- Color: Changes the color of marks based on the dimension or measure you drop here. Vital for differentiating categories or showing a range of values.
- Size: Controls the size of marks. Extremely useful in scatter plots or maps where the size can represent a metric like sales or profit.
- Label: Displays data labels directly on your marks. Dropping a 'Sales' measure here will show the exact sales figure on each bar.
- Detail: Includes a field in the view to create more granular marks without putting it on a public-facing shelf like color or size. For example, if you want marks for every single order ID but don't want to color or size them.
- Tooltip: This is a powerful one. Any field you drop here will appear in the pop-up box when you hover your mouse over a mark, providing extra context without cluttering the main visualization.
- Shape: Allows you to assign different shapes (circles, squares, custom icons) to your marks based on a field's values.
- Angle: Used for pie charts to determine the size of each slice.
Essentially, mastering the Marks Card is a prerequisite for creating any chart, including the KPI card visual.
2. The KPI Card (Our Focus)
This is what most people are looking for. A KPI card, sometimes called a Big Number card or a BAN (Big-Ass Number), is a worksheet designed specifically to display a single, crucial metric in a large, easy-to-read format. It exists to be placed on a dashboard to give viewers an at-a-glance summary of performance. We will spend the rest of this tutorial building these.
Free PDF · the crash course
AI Agents for Marketing Crash Course
Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.
Mastering the Marks Card: Your Visualization Control Center
Before building a dedicated KPI card, let's briefly see how the Marks Card works with a simple bar chart. This foundational skill will make building the KPI card much more intuitive.
Imagine you have a simple bar chart showing Sales by Sub-Category.
- Changing Color: To make the bars easier to distinguish, drag the Sub-Category dimension from your data pane onto the Color shelf on the Marks Card. Tableau will automatically assign a unique color to each sub-category's bar.
- Adding Labels: You want to see the exact sales figure for each bar without having to hover. Drag the Sales measure onto the Label shelf. The sales total for each bar will now appear directly on the chart.
- Enhancing the Tooltip: What if you also want to see the Profit for each sub-category but don't want a second number cluttering the view? Drag the Profit measure onto the Tooltip shelf. Now, when you hover over any bar, the tooltip pop-up will show the Sub-Category, its Sales, and its Profit.
This quick exercise shows how the Marks Card gives you direct control over your chart's appearance and the information it provides. Now, let’s use these concepts to build our KPI card.
Step-by-Step Guide: How to Create a KPI Card in Tableau
Let's build a clean, professional KPI card showing Total Sales. The best practice is to create each KPI in its own individual worksheet, which gives you maximum flexibility when arranging them on a dashboard later.
Step 1: Create a New Worksheet for Your KPI
Start by opening a new worksheet in your Tableau workbook. Double-click the tab at the bottom and rename it to something descriptive like "Total Sales KPI." This keeps your workbook organized, which is essential as you build more complex dashboards.
Step 2: Add Your Metric to the View
This is the core of the KPI card. All we need to do is display the number.
- Find your primary metric in the Data pane - in this case, let’s use Sales.
- Drag the Sales pill and drop it directly onto the Text shelf on the Marks Card.
You’ll immediately see a number appear in the view. Tableau automatically aggregates the Sales field (usually as a SUM) and displays the grand total. You've officially created the data part of your card!
Step 3: Format Your KPI Card for Maximum Impact
Right now, your number is probably small and left-aligned. The next steps are all about making it look like a professionally designed KPI card.
Change the Fit
In the toolbar at the top, find the drop-down menu that likely says "Standard." Click it and change the setting to Entire View. This tells Tableau to let your visualization use all the available space in the worksheet, which makes the number jump to the center.
Edit the Text and Labels
This is where you make the number big and add a descriptive title.
- On the Marks Card, click the Text button. A text editor pop-up will appear.
- You'll see a pill in the editor, like
<SUM(Sales)>. Highlight this pill. - Use the formatting options at the top of the editor to increase the font size significantly (try 24 or 30), make it Bold, and optionally change its color.
- Now, add your descriptive label. Hit Enter to move to a new line and type "Total Sales." You can make this supporting text a smaller font size (like 12) and a lighter color (like gray) to create a clear visual hierarchy.
- Click OK. Your worksheet should now display a large, bold number with a clear title underneath it.
Format the Number
If your metric is currency, it should have a dollar sign. If it’s a percentage, it needs a percent sign.
- In the Data pane on the left, find the Sales measure.
- Right-click on it and go to Default Properties > Number Format...
- In the pop-up window, choose Currency (Custom). You can adjust the decimal places, prefixes ($), and display units (e.g., millions 'M' or thousands 'K').
- Click OK. The number on your KPI card will automatically update with the correct formatting.
Step 4: Putting it All Together on a Dashboard
Once you've created one or more KPI card worksheets, you can assemble them on a new dashboard. Drag the "Total Sales KPI" sheet onto the dashboard canvas. Use Horizontal or Vertical layout containers to organize multiple KPI cards neatly in a row or column at the top of your report.
Advanced Tips for Better Tableau Cards
A simple number is great, but you can add more context to your cards to make them even more valuable.
Free PDF · the crash course
AI Agents for Marketing Crash Course
Learn how to deploy AI marketing agents across your go-to-market — the best tools, prompts, and workflows to turn your data into autonomous execution without writing code.
1. Add Up/Down Trend Indicators
Is the current number good or bad? A simple arrow can tell the story instantly. Let's create a card that shows Total Profit with an up or down arrow next to it.
First, create a calculated field. Click the dropdown arrow at the top of the Data pane and select Create Calculated Field. Name it Profit Indicator and enter the following logic:
IF SUM([Profit]) > 0 THEN '▲' ELSE '▼' END
Now, on a new worksheet:
- Drag Profit and your new Profit Indicator calculation onto the Text shelf.
- Click the Text button. Arrange the pills on the same line, like this:
<,AGG(Profit Indicator)>, <SUM(Profit)>. - To make it even better, you can color-code the arrow. Create another calculated field named Profit Color:
<SUM([Profit])> > 0. This will return a True/False value. - Drag Profit Color onto the Color shelf. Edit the colors so that "True" is green and "False" is red. Now your arrow and number will change color dynamically based on whether profit is positive or negative.
2. Including a Sparkline for Context
A sparkline is a mini line chart that shows the trend over time. Placing one next to your big number gives powerful context.
- Create your "Total Sales KPI" card as before, but a bit smaller, perhaps off to the left side using the Text alignment options.
- On the same worksheet, drag your date field (e.g., Order Date, set to Continuous Month) to the Columns shelf.
- Drag your Sales measure to the Rows shelf.
- You’ll see your number on the left and a small line chart on the right. To clean it up, right-click the date axis and uncheck "Show Header." Do the same for the sales axis on the left.
Now you have a single visualization that shows the current total and the recent trend line that got you there.
Final Thoughts
Building a quality KPI card in Tableau is all about mastering the Marks Card and thinking creatively about formatting. By separating the idea of the Marks Card controller from the visual KPI card you build, you can create reports that are clear, insightful, and easy for your audience to understand at a glance.
While building reports in tools like Tableau is a powerful skill, manually creating each visualization and piecing them together can be slow, especially when you need answers right now. At Graphed (https://www.graphed.com/register), we’ve made this process nearly instant. By connecting your sources, you can simply ask things like, "Show me a KPI card for my Shopify revenue this quarter" and get an interactive, live-updating dashboard in seconds. This allows you to bypass the manual setup and jump straight to making data-driven decisions.
Related Articles
Facebook Ads for Carpet Cleaners: The Complete 2026 Strategy Guide
Learn how to run Facebook ads for carpet cleaning businesses in 2026. Get proven strategies for targeting, creative formats, retargeting, and budget that actually convert.
Facebook Ads For Personal Trainers: The Complete 2026 Strategy Guide
Learn how to effectively use Facebook ads for personal trainers in 2026. This comprehensive guide covers targeting strategies, ad creative, budgeting, and optimization techniques to help you grow your training business.
Facebook Ads for HVAC Companies: The Complete 2026 Strategy Guide
Learn how to run high-converting Facebook ads for HVAC companies in 2026. This guide covers targeting, creative strategies, and proven campaigns that drive real leads.