BigData / Tableau Interview Questions
What is the difference between discrete and continuous fields in Tableau?
Every field in Tableau is treated as either discrete (blue pill) or continuous (green pill), and this distinction drives how the field behaves on shelves, not just how it's colored.
| Discrete (Blue) | Continuous (Green) |
| Creates separate headers/categories on a shelf. | Creates a continuous axis on a shelf. |
| Typically dimensions (Region, Category, Order ID). | Typically measures (Sales, Profit), or a date used as a trend. |
| Values are distinct, individually labeled items. | Values flow along a numeric or date range. |
SUM([Sales]) -- green pill, continuous, creates an axis [Region] -- blue pill, discrete, creates headers YEAR([Order Date]) -- can be either, changes chart shape dramatically
Both dimensions and measures can technically be switched between discrete and continuous (right-click the pill -> Discrete/Continuous), which is a common cause of confusion for beginners — a date field set to continuous produces a smooth timeline, while the same field set to discrete produces separate labeled buckets, and the resulting chart looks completely different even though the underlying field is the same.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
