From the course: Complete Guide to Tableau for Data Scientists
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
How to show the difference between values in a line chart - Tableau Tutorial
From the course: Complete Guide to Tableau for Data Scientists
How to show the difference between values in a line chart
- [Instructor] Instead of needing to see the actual values on a timeline, it's often useful to be able to tell the differences between the former and the latter of any particular data point. This needs a secondary calculation or a table calculation added to an existing field. So first, we'll create a timeline. We'll right click Order Date, drag and drop it onto the columns, and select one of the continuous date fields towards the bottom. I'm going to select the month. We then add our measure to rows. So let's put Sales onto the rows. So this is a timeline that is looking month on month at the value of the sales. So I can see for an individual month how many sales we had, but what I want to be able to do is compare one month to the previous month to see was that a larger or smaller amount? To do that, we add the secondary calculation via a table count. Right click on the sum of sales on the row, go to Quick Table Calculation, and select Difference. Now, instead of plotting the actual…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
How to create bar charts1m
-
How to use colors to highlight data3m 35s
-
(Locked)
How to create timelines2m 15s
-
(Locked)
How to create small multiple timelines2m 51s
-
(Locked)
How to create month-over-month or year-over-year charts3m 13s
-
(Locked)
How to create a combined axis bar chart1m 57s
-
(Locked)
How to create a combined axis timeline1m 45s
-
(Locked)
How to create a dual axis timeline2m 45s
-
(Locked)
Two ways to create a crosstab2m 6s
-
(Locked)
Enhance a crosstab using colors to create a highlight table2m 3s
-
(Locked)
How to turn a crosstab into a heatmap2m 33s
-
(Locked)
How to create an area chart1m 28s
-
What's the difference between line charts vs. area charts?3m 52s
-
(Locked)
How to create 100% area charts2m 32s
-
(Locked)
How to create stacked bar charts1m 6s
-
(Locked)
How to create a 100% stacked bar chart1m 46s
-
(Locked)
How and why to add a running total to a line chart2m 35s
-
(Locked)
How to show the difference between values in a line chart1m 48s
-
(Locked)
How to create a scatter plot and a bubble chart2m 22s
-
(Locked)
How to create a connected scatterplot to show changes over time3m 7s
-
(Locked)
How to create a bar-in-bar chart and a candlestick chart3m 14s
-
(Locked)
How to create a symbol map1m 56s
-
(Locked)
How to create a filled area map2m 3s
-
(Locked)
How to create pie charts2m 8s
-
(Locked)
How to create Gantt charts4m 19s
-
(Locked)
-