So, you open Tableau and there are loads of blue and green pills staring back at you. Have you ever wondered why some things are blue, others green? No, this is not a poor attempt to recreate “The Matrix”. They’re giving you a hint about how the software thinks about your data. And if you ignore it, it will bite you later and you may feel a little green later. I was recently teaching some interns about this, so I hope I can save you the trouble with some intuitions.
Article originally published on Medium
Blue pills are discrete. They’re the little boxes, the buckets, the categories. Product Category, Region, Customer Name, Order ID all blue pills stuff. When you drop one into Rows or Columns, Tableau chops your data into sections. You see headers, labels, separate chunks. You can compare things, count things, make sense of things.
Green pills are continuous. They flow and stretch. Sales, Profit, Quantity, Temperature, full Order Dates. Put one on Rows or Columns and Tableau draws an axis. A range of numbers. A scale you can run your eyes along. Green pills are for trends, distributions, lines you can trace over time.
Dimensions and Measures
Now throw in dimensions and measures, and things get interesting.
- Dimensions are qualitative. They describe the who, what, or where. Product Category, Region, Customer Name, Order Date. Drop them in, and Tableau builds headers, partitions, labels. They slice your data like a butcher carving a roast
- Measures are quantitative. Numbers you can sum, average, count. Sales, Profit, Quantity, Discount. These give your chart weight and height. Without measures, your visualization is just a skeleton
Here’s a way to think about it: Dimensions break things apart. Measures tell you how big, how much, or how often. They’re opposites, but they dance together to tell a story.
Discrete vs Continuous
This part trips people up the most, I swear.
- Discrete → separate categories, blue pills, buckets you can count
- Continuous → unbroken ranges, green pills, axes you can trace
It might help to picture it like this: discrete fields are like stepping stones across a river. You land on one, then the next. Continuous fields are the river itself, flowing underneath. Step on the stones if you want labels and counts. Ride the river if you want trends.
How They Work Together
Let’s look at an example, nothing fancy, just real-world data.
Product Category: Furniture, Office Supplies
Sales: 100; 200
Order Date: 2022–01–01; 2022–01–02
Product Category → Dimension + Discrete → blue → headers for each category
Sales → Measure + Continuous → green → vertical axis for bar heights
Order Date → tricky one:
- Order Date (Discrete) → columns for each day, a chopped-up timeline
- Order Date (Continuous) → smooth axis, showing trends over time
You change discrete to continuous, and suddenly a bar chart becomes a timeline. A line chart could turn into a series of headers. Tiny tweaks, huge difference. Tableau is literal like that.
Practical Tips
A few things I wish someone told me when I started messing around with Tableau:
- Dates can be weird. By default, Tableau might treat them as discrete, showing years or months. Convert to continuous if you want a smooth timeline
- Measures aggregate by default. You can change the aggregation, but know what you’re doing — summing sales isn’t the same as averaging them
- You can switch between discrete and continuous anytime. Right-click the pill, convert, experiment, and watch the chart react
Intuition and Best Practices
- Dimensions: Think of them as the “who,” “what,” or “where” of your data. They provide context and allow for segmentation
- Measures: Consider them the “how much” or “how many.” They provide the numerical insights
- Discrete: These are distinct categories. Use them when you want to segment your data into separate groups
- Continuous: These represent a range of values. Use them when you want to show trends or distributions over time or other continuous scales.
Cheat Sheet
Here’s a quick guide you can lean on:
- Customer Name → Dimension → Discrete → Blue
- Order Date (year) → Dimension → Discrete → Blue
- Order Date (full) → Dimension → Continuous → Green
- Sales → Measure → Continuous → Green
- Profit (binned) → Measure → Discrete → Blue
Keep this in mind. Blue or green, discrete or continuous, dimension or measure. Understand these, and you’re not just building charts, you’re telling stories. Ignore them, and you’ll spend hours wondering why Tableau hates you today.
Those little pills — the colors, the types, the debate of discrete vs continuous — they determine whether your data whispers insightful stories or just sits there looking pretty. Learn to read them. Play with them. Mess up a few charts and notice what changes. That’s how you get good. That’s how you get real insight. I am still trying to do the same.
Further Reading
For a more in-depth understanding (some with great illustrations), consider exploring the following resources:

