BigData / Tableau Interview Questions
What is a calculated field in Tableau?
A calculated field is a new field you define using a formula built from existing fields, constants, and Tableau's built-in functions — it lets you derive values the raw data source doesn't already contain.
// Profit Ratio SUM([Profit]) / SUM([Sales]) // Custom category IF [Sales] > 1000 THEN "High" ELSE "Low" END
- Calculated fields can be simple arithmetic (like Profit Ratio above), logical (IF/CASE statements), string manipulations, or date math.
- Once created, a calculated field behaves exactly like any other field — it can be dragged onto shelves, used in filters, or referenced by other calculated fields.
- Calculations can be row-level (evaluated per record) or aggregate-level (evaluated after data is aggregated, like the Profit Ratio example, which needs SUM() to make sense at the visualization's level of detail).
Calculated fields are one of the most powerful features in Tableau because they let you reshape and derive new metrics without ever touching or duplicating the source data itself.
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...
