Complete the code to create a line chart by dragging the correct shelf to the Columns shelf.
Drag the [1] field to the Columns shelf to create the x-axis.In a line chart, the x-axis usually represents time. 'Order Date' is the correct field to drag to the Columns shelf to show trends over time.
Complete the code to add the measure to the Rows shelf for the y-axis.
Drag the [1] field to the Rows shelf to plot the values.The y-axis in a line chart shows the measure values. 'Sales' is the measure to drag to the Rows shelf.
Fix the error in the line chart by choosing the correct mark type.
Change the mark type to [1] to display a line chart.The mark type must be set to 'Line' to create a line chart in Tableau.
Fill both blanks to add a filter and color dimension to the line chart.
Drag the [1] field to the Filters shelf and the [2] field to the Color shelf.
Filtering by 'Region' allows focusing on specific areas, and coloring by 'Product Category' differentiates lines by category.
Fill all three blanks to create a calculated field for cumulative sales over time.
CREATE CALCULATED FIELD 'Cumulative Sales' AS RUNNING_[1](SUM([[2]])) OVER (ORDER BY [[3]])
RUNNING_SUM calculates cumulative sums. We sum 'Sales' ordered by 'Order Date' to get cumulative sales over time.