Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,420 --> 00:00:10,460
In the previous lesson, we saw how we can filter our data by using slices.
2
00:00:11,120 --> 00:00:16,880
And if you recall when we inserted a slice, if I click on this chart and got to pivot to analyze,
3
00:00:17,390 --> 00:00:21,770
I pointed out that we have two options insert, slice and insert timeline.
4
00:00:22,070 --> 00:00:28,040
So this is what we're going to look at in this lesson, because timelines differ very slightly from
5
00:00:28,040 --> 00:00:28,640
slices.
6
00:00:29,390 --> 00:00:34,160
Effectively, a timeline is still a slice, but it's only used for dates.
7
00:00:34,520 --> 00:00:40,850
So if you have a data source that doesn't contain any dates when you click on Insert Timeline, you're
8
00:00:40,850 --> 00:00:44,330
not going to have access to any fields to use for your slicer.
9
00:00:44,990 --> 00:00:51,140
If I click in set timeline, you can see that it's recognizing that I have a date column in my source
10
00:00:51,140 --> 00:00:51,650
data.
11
00:00:51,830 --> 00:00:57,950
Now, a little issue that can occur here and I've seen this happen many times is that people do have
12
00:00:57,950 --> 00:01:03,470
a date column in their data, but when they click on Insert Timeline, it doesn't show the column.
13
00:01:04,280 --> 00:01:09,080
Now the reason why that happens is because you don't have that column formatted as a date.
14
00:01:09,770 --> 00:01:16,460
So if you do have dates in your data, but you're not seeing them appear in here, go back to your original
15
00:01:16,460 --> 00:01:21,680
source data and check to make sure your date column has the correct formatting applied.
16
00:01:21,830 --> 00:01:25,820
And if I click in my column, you can see up here I have dates formatting.
17
00:01:26,030 --> 00:01:30,290
So let's insert a timeline using the date column.
18
00:01:30,980 --> 00:01:31,670
Let's click on.
19
00:01:31,670 --> 00:01:37,220
OK, now a timeline looks pretty different to our regular slices.
20
00:01:37,760 --> 00:01:41,720
And in general, you kind of see these normally at the top of a page.
21
00:01:41,930 --> 00:01:46,010
So what I'm going to do here is I'm going to make a bit of room in row one.
22
00:01:46,030 --> 00:01:51,380
I'm going to drag this column or this row, I should say down and then I'm going to move.
23
00:01:51,380 --> 00:01:58,760
So let's do a control x to cut the timeline slice up here so we can just reposition that and we can
24
00:01:58,760 --> 00:02:00,800
readjust that row if we need to.
25
00:02:01,160 --> 00:02:05,660
Now, a timeline slice basically allows you to select different time periods.
26
00:02:06,080 --> 00:02:08,750
And again, this is all based on your source data.
27
00:02:08,790 --> 00:02:13,850
So in my source data, I only have data for 2018 and 2019.
28
00:02:14,090 --> 00:02:17,150
So I'm seeing those two years and all of the months.
29
00:02:17,840 --> 00:02:28,010
So if I'm just interested in looking at data from mid-2018 to mid-2019, I can use my slicer and adjust
30
00:02:28,010 --> 00:02:28,340
it.
31
00:02:29,310 --> 00:02:36,450
And everything below is going to update if I just want to see for a few months, I can select those
32
00:02:36,450 --> 00:02:39,690
months and my pivot and my pivot table update.
33
00:02:39,930 --> 00:02:44,940
So these are a really nice, interactive way of dealing with time based data.
34
00:02:45,150 --> 00:02:49,770
Now, remember, in the last lesson, we applied quite a bit of formatting to our slices just to make
35
00:02:49,770 --> 00:02:53,550
them look cleaner and more in tune with the overall theme.
36
00:02:54,240 --> 00:02:57,180
And one of the things we did was we removed the header.
37
00:02:57,750 --> 00:03:03,270
And if you recall, I said to you that when you remove the header, you also remove the clear filter
38
00:03:03,270 --> 00:03:03,750
button.
39
00:03:04,290 --> 00:03:06,120
And that is exactly what we can see here.
40
00:03:06,120 --> 00:03:10,860
If we look over on the right hand side, we have this little button which will reset and effectively
41
00:03:10,860 --> 00:03:13,200
clear any filtering that you've applied.
42
00:03:13,380 --> 00:03:18,240
Now we're going to apply similar formatting to this slice just to keep everything consistent.
43
00:03:19,020 --> 00:03:24,450
If we click on the time line notice we have a time line, contextual ribbon and we can do pretty much
44
00:03:24,450 --> 00:03:25,110
the same thing.
45
00:03:25,110 --> 00:03:27,330
We can apply different time line styles.
46
00:03:27,990 --> 00:03:30,210
So let's go with this light green.
47
00:03:30,450 --> 00:03:35,610
And if you take a look at the end group, the show group notice that currently we're showing the header,
48
00:03:35,880 --> 00:03:39,240
the selection label, the time level and the scroll bar.
49
00:03:39,480 --> 00:03:42,810
This is really where you can customize what you're seeing on this slicer.
50
00:03:43,770 --> 00:03:46,800
So if I want to remove the header, I can just select it.
51
00:03:47,540 --> 00:03:55,710
Maybe I don't want selection labels either, or the time level I can just keep it like that if I just
52
00:03:55,710 --> 00:03:58,500
drag this out a little bit so we can see that scrollbar.
53
00:03:59,010 --> 00:04:01,620
But now that slice looks a lot cleaner.
54
00:04:02,400 --> 00:04:06,930
Once again, if we want to do things like remove the outside border, we could do that as well.
55
00:04:07,200 --> 00:04:12,660
Remember, you have to right click and duplicate the style that you've applied and give it a new name.
56
00:04:13,170 --> 00:04:16,350
So I'm going to call mine d a timeline slicer.
57
00:04:17,520 --> 00:04:19,530
We're going to select the whole timeline.
58
00:04:19,680 --> 00:04:20,970
Click on formats.
59
00:04:21,390 --> 00:04:25,950
Let's go to the Border tab, and I'm going to say that I don't want any borders.
60
00:04:26,390 --> 00:04:27,270
Click on OK.
61
00:04:27,420 --> 00:04:28,680
And okay again.
62
00:04:28,890 --> 00:04:32,640
And now we need to go in and apply our custom slicer.
63
00:04:33,060 --> 00:04:37,850
And what I would probably do here is on this worksheet just to make everything look super clean.
64
00:04:37,860 --> 00:04:40,980
I would probably turn off grid lines for this worksheet as well.
65
00:04:41,640 --> 00:04:48,030
So up to view and in the show group, I'm going to select grid lines, so I have a really nice, clean
66
00:04:48,030 --> 00:04:48,360
look.
67
00:04:48,900 --> 00:04:53,130
And of course, you can move these around a little bit to make it look a little bit neater.
68
00:04:53,610 --> 00:04:58,680
You might even want to just pull this in so that it's kind of the same width as everything else below.
69
00:04:58,890 --> 00:05:03,420
So that is the difference between your regular slices and your time line slices.
70
00:05:03,720 --> 00:05:07,500
Timelines are purely there to let you filter by dates.
7313
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.