Prev Next

BigData / Tableau Interview Questions

What is the difference between FIXED and INCLUDE LOD expressions?

Both add dimensions to control the level of detail, but they respond differently to whatever else you place on the view afterward.

FIXEDINCLUDE
Ignores the view's own dimensions entirely; computes only at the fields listed.Adds its listed fields on top of whatever the view already has.
Result stays constant even if you add more dimensions to the view.Result can change if the view's own dimensions change, since they're additive.
Good for a true, fixed customer/order-level total regardless of context.Good for a calculation that always needs finer detail than the view, whatever that view happens to be.

{ FIXED [Region] : SUM([Sales]) }    -- always Region-level, no matter the view
{ INCLUDE [Order ID] : SUM([Sales]) } -- view's dimensions + Order ID

A useful mental model: FIXED defines an absolute level of detail independent of the view, while INCLUDE defines a relative level of detail that's always at least as fine as whatever the view currently shows.

Does a FIXED LOD's result change if you add more dimensions to the view?
How does INCLUDE relate its listed fields to the view's existing dimensions?

Invest now in Acorns!!! 🚀 Join Acorns and get your $5 bonus!
Acorns Logo

Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!

Earn passively and while sleeping

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.

Robinhood Logo

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 Logo

Webull! Receive free stock by signing up using the link: Webull signup.

More Related questions...

What is a Tableau workbook? What is Tableau? What is a Tableau worksheet? What is data visualization? What are the different data connection options available in Tableau? What is a dashboard in Tableau? What are the different datatypes in Tableau? What is a story in Tableau? What are the different Tableau products? What are Measures and Dimensions in Tableau? What is Tableau Public? Advantages of Tableau. What is a parameter in Tableau? What is Tableau Server? What is Tableau Prep? What are filters in Tableau? What are the different types of filters in Tableau? What is a calculated field in Tableau? What is a Tableau extract? What is the difference between a live connection and an extract? What are the Rows, Columns, and Marks shelves used for? What is the Marks card used for? What is a dual-axis chart, and how do you create one? What is data blending in Tableau? What is the difference between data blending and a join in Tableau? What are the types of joins supported in Tableau? What is a context filter, and why would you use one? What is the order of operations for filters in Tableau? What are Sets in Tableau? What are Groups in Tableau? What is the difference between a Set and a Group in Tableau? What is a hierarchy in Tableau? What are table calculations in Tableau? What is the difference between a calculated field and a table calculation? What is a Level of Detail (LOD) expression? What is the difference between FIXED and INCLUDE LOD expressions? What is a Tableau action? What is the difference between discrete and continuous fields in Tableau? What are the aggregate functions available in Tableau? What is the difference between a.twb and a.twbx file? What is VizQL? How does Tableau handle NULL values? What is a Gantt chart, and when would you use one in Tableau? What is a heat map in Tableau? What is a treemap in Tableau? What is forecasting in Tableau? What are reference lines and reference bands in Tableau? What is a bin in Tableau, and how is it different from a histogram? What is row-level security in Tableau? What is the difference between Tableau Desktop and Tableau Reader? What is a custom SQL connection in Tableau? What is the Tableau Hyper engine?
Show more question and Answers...

Apache Airflow Interview Questions

Comments & Discussions