top of page
  • Bernard K

Dashed and dotted lines in Tableau 2023.2

solid, dashed and dotted lines in Tableau 2023.2


Released in Tableau 2023.2, line pattern allows you to choose between solid, dashed, and dotted lines to represent your data. This feature comes in handy when you need to show actual values with projected values, or actual values with target values et cetera etcetera.

To add dotted or dashed lines in your visualizations.

Create a view, in this case a simple line chart by.

  • Add Order Date to the columns shelf.

  • Add SUM(Sales) to the rows shelf.

  • Chose Line under Marks card.

  • Under the Path shelf, choose line pattern – either, solid, dashed, or dotted.

changing line pattern in Tableau 2023.2

Note, using the same options in a dual-axis chart, you can build better views to compare different values such as actual and projected values as shown in the view below.

visualizing actual and projected values using a solid and a dashed/dotted line in tableau

(Note, actual values are represented by a solid line while projected values are represented by a dotted line)


I hope this article was helpful to you. If you wish to receive more Tableau tips and tricks, kindly join our mailing list by subscribing below.

If you like the work we do and would like to work with us, drop us an email on our contacts page and we’ll reach out!

Thank you for reading!


Black & white.jpg

About Me

More About the Author

Bernard K

Analytics Consultant | 3X Tableau Certified

Bernard is a data analytics consultant helping businesses reveal the true power of their data and bring clarity to their reporting dashboards. He loves building things and sharing knowledge on how to build dashboards that drive better outcomes.

Let’s discuss your data challenges! Let’s work together!

bottom of page