KNOWLEDGE BASE

Change Discrete Points Into A Line Chart


Published: 01 Dec 2022
Last Modified Date: 09 Dec 2022

Question

How to change a chart with discrete points into a line chart.

Environment

  • Tableau Desktop

Answer

See the attached twbx for the following example.

1. Create a calculated field called index with the following calculation:
if isnull(SUM([points]))=false
then index()
END

2. Add index to Path on the Marks card.
User-added image

3. Confirm that index computes using Table(across).
Did this article resolve the issue?