Which type of trend line in Tableau best fits data that shows a consistent percentage growth over time?
Think about which trend line models growth that accelerates or decelerates exponentially.
An exponential trend line fits data that grows or decays at a consistent percentage rate, which is common in percentage growth scenarios.
You added a polynomial trend line of order 3 to a sales over time chart in Tableau. What does this trend line help you understand?
Polynomial trend lines can curve up and down multiple times.
Polynomial trend lines of higher order can model data with multiple rises and falls, capturing complex patterns.
In Tableau, you want to calculate the residual (difference) between actual sales and predicted sales from a linear trend line. Which calculated field formula correctly computes this residual?
Use WINDOW functions to get slope and intercept over the partition.
WINDOW_INTERCEPT and WINDOW_SLOPE compute the linear trend line parameters over the current partition, allowing calculation of predicted values for residuals.
Your sales data shows clear seasonal peaks and troughs every year. You want to add a trend line in Tableau to understand the overall sales trend ignoring seasonality. Which approach is best?
Think about removing repeating seasonal effects before fitting a trend line.
Removing seasonality first helps the trend line reflect the true underlying trend without seasonal noise.
You created a calculated field in Tableau to predict sales using a linear trend line formula: INTERCEPT([Sales], [Date]) + SLOPE([Sales], [Date]) * [Date]. However, Tableau shows an error. What is the cause?
INTERCEPT([Sales], [Date]) + SLOPE([Sales], [Date]) * [Date]
Check if the functions need to be aggregated over a partition.
INTERCEPT and SLOPE require WINDOW_ prefix to compute over the current partition in Tableau calculations.