A client wants to see data for only the most recent day in the dataset that is updated intermittently. The solution should offer the best caching performance.
Which approach should the consultant use to produce the desired results?
Comprehensive and Detailed Explanation From Exact Extract:
The client wants to always show the most recent day present in the data, not today's date. The dataset is updated intermittently, meaning some days may have no new rows. Tableau documentation states that:
Using TODAY() recalculates on every query and prevents effective caching because Tableau must compute the current date for each refresh.
Using Relative Date Filters like ''Last 1 day'' also prevents caching because Tableau evaluates relative conditions each time the workbook loads.
Quick Filters also break caching and decrease performance because they require interactive evaluation on each render.
A FIXED LOD calculation allows Tableau to compute the maximum date inside the extract, which preserves caching because it is data-driven, not time-driven.For example:{ FIXED : MAX([Date]) }Then filtering where [Date] = { FIXED : MAX([Date]) } ensures only the most recent date in the dataset is shown.
Tableau's documentation on performance emphasizes that caching is maximized when calculations depend only on the data itself and not on functions like TODAY() or relative filters.
A FIXED LOD provides the best caching performance and correctly returns the most recent date based on the dataset rather than the current system date.
Tableau extract caching behavior describing how data-dependent filters cache better than time-dependent filters.
LOD Expressions guidance recommending FIXED for identifying values like ''latest date in the dataset.''
Tableau performance guidelines discouraging TODAY() and relative date filters when caching is important.
Abel
6 days agoLino
11 days agoWynell
16 days agoMyong
21 days agoAfton
26 days agoSerina
1 month agoEun
1 month agoCassie
1 month agoColetta
2 months agoBernadine
2 months agoElly
2 months agoCasie
2 months ago