Trend Lines

Trend Lines

Trend lines fit mathematical models to data, showing underlying patterns and predicting future values. They support linear, logarithmic, exponential, polynomial, and power models. Trend lines include confidence bands and statistical metrics like R-squared and p-values. They're essential for time-series analysis, forecasting, and identifying correlations.

To create trend lines, perform the following steps.

  1. With OrderDate from Kyvos, create a scatter plot.

  2. Drag Sum Sales to Columns and Sum Profit to Rows.

  3. Drag the Sub-Category to the Detail to create multiple marks.

  4. From the menu, click Analysis > Trend Lines > Show Trend Lines. Tableau adds a linear trend line by default.

    image-20251009-141425.png
  5. Right-click the trend line > Edit Trend Lines.

    image-20251009-141531.png
  6. Change the model type to Linear, Logarithmic, Exponential, and so on.

  7. Select Show confidence bands.

    image-20251009-141655.png
  8. Click Ok. Hover over the trend line to see statistical details.

    image-20251009-141738.png

Copyright Kyvos, Inc. 2025. All rights reserved.