BIChart Logo
BIChart

Fixed level of detail in Tableau

ExpressionTableau

We want to compute a metric at a fixed level of detail that does not change when the visualization changes.

Example business questions:

  • What is total sales per customer regardless of how the dashboard is sliced?
  • What is the average order size per region even when the view is filtered by product?
  • What is the lifetime revenue of each account while viewing daily transactions?

Key Concept

A Fixed Level of Detail metric means:

Calculate a value grouped by specific dimensions regardless of the dimensions in the current visualization.

This is fundamentally a grouped aggregation that is independent of the view grain.

Example:

OrderIDCustomerProductSales
1ABike100
2AHelmet50
3BBike200

If the visualization shows Product, we still want:

ProductCustomer Sales
Bike150
Helmet150

Because Customer A total sales = 150, even though the view is at Product level.

That is the problem both tools must solve.


What a FIXED LOD Expression Is

In Tableau, Level of Detail (LOD) expressions allow you to control the level at which an aggregation is computed, independent of the visualization.

The most common type is FIXED, which explicitly sets the grouping dimensions.

Syntax:

{ FIXED [Dimension] : Aggregation }

Example:

{ FIXED [Customer Name] : SUM([Sales]) }

This means:

Compute the total sales for each customer regardless of what dimensions exist in the view.


Example

Imagine a dashboard showing Sales by Product.

But we want to display Total Customer Sales alongside each product.

FIXED Calculation

Customer Total Sales =
{ FIXED [Customer Name] : SUM([Sales]) }

Result:

ProductCustomerSalesCustomer Total
BikeA100150
HelmetA50150

The Customer Total stays constant because the grouping dimension is fixed.


Why FIXED Exists

Tableau normally aggregates based on the dimensions in the view.

Example:

SUM(Sales)

If the view contains:

Region + Product

The aggregation is:

SUM(Sales) BY Region, Product

But sometimes analysts need to override the view grain.

That is exactly what FIXED does.


Important Behavior

FIXED calculations operate before dimension filters in Tableau’s order of operations.

Meaning:

Filters applied to the dashboard may not affect the FIXED result unless they are added as context filters.

This behavior is one of the reasons migrations can break.


When Tableau Developers Use FIXED

Common use cases include:

  • customer lifetime value
  • cohort metrics
  • percent of total calculations
  • normalized metrics
  • ranking logic
  • stable denominators in ratios

Ready to migrate? Start today.

Join the growing number of companies that have simplified their Tableau to Fabric migration with BIChart.

Ryan Goodman

Ryan Goodman

Ryan Goodman has been in the business of data and analytics for 20 years as a practitioner, executive, and technology entrepreneur. Ryan recently returned to technology after 4 years working in small business lending as VP of Analytics and BI. There he implanted an analytics strategy and competency center for modern data stack, data sciences and governance. From his recent experiences as a customer and now working full time as a fractional CDO / analytics leader, Ryan joined BIChart as CMO.