Complete the code to create an extract for faster query performance.
CREATE EXTRACT [1]In Tableau, creating an extract of the TABLE improves query speed by storing data locally.
Complete the Tableau calculation to optimize query by filtering only recent data.
IF [Order Date] >= DATEADD('year', -1, TODAY()) THEN [1] ELSE NULL END
Filtering [Sales] for the last year reduces data scanned, improving query speed.
Fix the error in the Tableau LOD expression to calculate average sales per customer.
{ FIXED [Customer ID] : AVG([1]) }The correct measure to average per customer for sales analysis is [Sales].
Fill both blanks to optimize query by limiting data and aggregating sales.
SUM(IF [Region] = [1] THEN [Sales] ELSE 0 END) / COUNTD([2])
Filtering sales for the 'West' region and counting distinct [Customer ID] optimizes aggregation.
Fill all three blanks to create a calculated field that improves query speed by filtering and aggregating profit.
SUM(IF [Category] = [1] AND [Order Date] > [2] THEN [3] ELSE 0 END)
Filtering for 'Furniture' category and orders after 2023-01-01, then summing [Profit] helps focus queries and improve speed.