Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,650 --> 00:00:10,720
In this section, we're going to be taking a look at how we can add interaction to our pivot tables
2
00:00:10,720 --> 00:00:11,740
and pivot charts.
3
00:00:12,400 --> 00:00:16,390
I'm going to kick off this section by looking at slices.
4
00:00:17,200 --> 00:00:24,100
Now, if you've never used slices before, they're basically filters, but they are unlike filters you
5
00:00:24,100 --> 00:00:29,890
might have been used to using in the past because they are visual filters and they add a really nice
6
00:00:29,890 --> 00:00:35,410
level of interaction into your spreadsheets that make it super easy for anybody that you're sharing
7
00:00:35,410 --> 00:00:39,220
this spreadsheet with to interact and filter the data.
8
00:00:39,940 --> 00:00:42,070
So let's take a look at how they work.
9
00:00:43,000 --> 00:00:47,620
So we're going to go back to our gross sales by year bar chart, and we're just going to click on the
10
00:00:47,620 --> 00:00:48,280
pivot charts.
11
00:00:49,140 --> 00:00:56,350
If we go up to pivot chart, analyze notice in the filter group, we have two slice options here insert,
12
00:00:56,350 --> 00:00:58,510
slice and insert timeline.
13
00:00:59,230 --> 00:01:02,290
Now we're going to be looking at timelines in the next lesson.
14
00:01:02,410 --> 00:01:05,830
At the moment, we're going to concentrate on inserting slices.
15
00:01:06,520 --> 00:01:11,320
And if we take a look at the screen tip, it says use a slicer to filter data up.
16
00:01:11,320 --> 00:01:18,190
Visually, slices make it faster and easier to filter tables, pivot tables, pivot charts and cube
17
00:01:18,190 --> 00:01:18,880
functions.
18
00:01:19,570 --> 00:01:26,710
So if we click Insert Slicer, what you're going to see in this inset slices dialog box is a list of
19
00:01:26,740 --> 00:01:33,730
all of those column headings from your data source, and you can basically choose one or more to be
20
00:01:33,730 --> 00:01:36,490
the slices or the filters for your data.
21
00:01:37,360 --> 00:01:41,500
So if we take a look at our chart, we're currently displaying the gross sales by country.
22
00:01:42,220 --> 00:01:47,740
Now it might be that I want an easy way to see these totals by the year.
23
00:01:48,610 --> 00:01:54,460
So what I'm going to do here is I'm going to select year from this list and add a slicer for that.
24
00:01:55,270 --> 00:02:00,820
And what you get is this little panel pop up, and it shows all of the years from your data source.
25
00:02:01,420 --> 00:02:06,880
Now I only have two years worth of data, so I'm only getting 2018 and 2019.
26
00:02:07,270 --> 00:02:14,200
But look, what happens if I click on 2018, my pivot chart and my pivot table both update and I'm now
27
00:02:14,200 --> 00:02:16,570
just seeing those figures for 2018.
28
00:02:17,440 --> 00:02:19,530
Let's take a look at 2019.
29
00:02:19,540 --> 00:02:20,770
The same thing happens.
30
00:02:20,980 --> 00:02:23,920
So this is essentially filtering my pivot data.
31
00:02:24,130 --> 00:02:30,100
And you don't necessarily just have to have one slice, so you could have multiple slices attached to
32
00:02:30,190 --> 00:02:31,060
your pivot chart.
33
00:02:31,360 --> 00:02:32,950
So let's add another one.
34
00:02:33,040 --> 00:02:38,470
I'm going to go back up to pivot, analyze, insert, slice, and we're going to add a slice to show
35
00:02:38,470 --> 00:02:39,220
the products.
36
00:02:40,120 --> 00:02:40,830
And there we go.
37
00:02:40,840 --> 00:02:46,430
Now I have to now where you positioned these slices on your page is entirely up to you.
38
00:02:46,930 --> 00:02:49,810
But I'm going to show you a method that I really like to use.
39
00:02:50,050 --> 00:02:54,430
Now we're going to apply a little bit of formatting to these slices to make them more in keeping with
40
00:02:54,430 --> 00:02:57,340
the kind of overall theme that we have going on here.
41
00:02:58,090 --> 00:03:04,780
So let's select both of the slices and notice that we have a slice of contextual ribbon.
42
00:03:05,560 --> 00:03:08,440
So the first thing I'm going to do is choose a different slicer style.
43
00:03:08,890 --> 00:03:10,480
So let's take a look at this one.
44
00:03:10,810 --> 00:03:11,770
I think that's pretty good.
45
00:03:11,770 --> 00:03:13,840
That's pretty in keeping with my color scheme.
46
00:03:14,110 --> 00:03:20,500
If I wanted to create my own slice a style, much like pivot table styles, I could completely customize
47
00:03:20,500 --> 00:03:24,430
my own slicer with the colors and stylistic options that I want.
48
00:03:24,850 --> 00:03:30,700
Now, another thing I might want to do here is change the number of columns for this slicer.
49
00:03:31,240 --> 00:03:36,460
So instead of having all the products in one big long list running down, if I jump up to the slice
50
00:03:36,460 --> 00:03:40,930
a ribbon in this button scrape notice, it says columns one.
51
00:03:41,470 --> 00:03:44,510
So all of my items are just appearing in one column.
52
00:03:45,190 --> 00:03:48,970
But if I increase this to two, you can see how that changes things.
53
00:03:49,600 --> 00:03:56,980
So I'm going to put all of these products onto one row and then I'm going to widen out this slicer and
54
00:03:56,980 --> 00:03:58,420
pull the bottom of it up.
55
00:03:59,230 --> 00:04:05,680
So then what I could do is maybe have this slicer underneath my char or above my chart, which makes
56
00:04:05,680 --> 00:04:07,180
things look a lot nicer.
57
00:04:07,690 --> 00:04:09,220
I think I'm going to drag that along.
58
00:04:09,220 --> 00:04:11,260
So it's the same width as the chart.
59
00:04:11,530 --> 00:04:13,520
I could do something similar for the year.
60
00:04:13,540 --> 00:04:15,640
Let's put this up to two columns.
61
00:04:16,300 --> 00:04:22,030
I'm going to drag the bottom up and then I might want to place this actually on the charts.
62
00:04:22,720 --> 00:04:23,380
Now, notice here.
63
00:04:23,380 --> 00:04:26,290
This doesn't look particularly great because we have a heading.
64
00:04:26,290 --> 00:04:27,790
We've got some icons here.
65
00:04:28,060 --> 00:04:30,220
We've also got a border around this, Lisa.
66
00:04:30,820 --> 00:04:37,480
So if I want to make this look super clean, I might want to modify the style of this slicer and maybe
67
00:04:37,480 --> 00:04:40,390
remove the outside border and remove these headings.
68
00:04:41,110 --> 00:04:42,430
So let's click on here.
69
00:04:42,730 --> 00:04:47,350
And the first thing I'm going to do is right click and go into slicer settings.
70
00:04:48,040 --> 00:04:53,980
It's also worth noting that you can get your slice of settings on the slicer ribbon in this first group
71
00:04:53,980 --> 00:04:54,580
just here.
72
00:04:56,410 --> 00:05:01,390
And this is where you can basically customize what information you're seeing on your slicer, so you
73
00:05:01,390 --> 00:05:06,670
can see there the name is, yeah, I can choose if I want to display the header or not.
74
00:05:07,210 --> 00:05:11,650
So if I did select this, it's basically going to remove this year heading.
75
00:05:11,920 --> 00:05:12,900
So let's click on.
76
00:05:12,910 --> 00:05:15,900
OK, that looks a little bit better.
77
00:05:15,910 --> 00:05:21,280
I'm going to drag that up like, so now I'm going to do the same for products down here as well.
78
00:05:21,290 --> 00:05:27,970
Let's go to the settings and let's remove that header again, just making everything look a lot cleaner.
79
00:05:28,210 --> 00:05:33,040
And the final thing I really want to do here is I want to remove the border off of this slicer at the
80
00:05:33,040 --> 00:05:33,370
top.
81
00:05:34,150 --> 00:05:37,710
So for this, we actually need to modify the current style.
82
00:05:38,410 --> 00:05:42,730
So if we click the dropdown, I can see here, this is the style that I'm using.
83
00:05:42,740 --> 00:05:44,920
It's got that gray border around the outside.
84
00:05:45,640 --> 00:05:52,270
So if we right click on this notice that the modify option is actually grayed out so we can't modify
85
00:05:52,660 --> 00:05:57,910
a standard slicer style, we need to duplicate it instead and then modify it.
86
00:05:58,780 --> 00:06:08,050
So I'm going to call this my initials and custom slicer, and then I'm going to go to whole slice and
87
00:06:08,050 --> 00:06:10,030
I'm going to remove the outside border.
88
00:06:10,690 --> 00:06:12,520
So let's click on format.
89
00:06:12,760 --> 00:06:16,960
Let's go to the border tab, and I'm going to say that I don't want any border.
90
00:06:17,860 --> 00:06:18,680
Click on OK.
91
00:06:19,230 --> 00:06:19,670
OK.
92
00:06:20,350 --> 00:06:24,520
And now I can apply my new custom style to my slicer.
93
00:06:24,850 --> 00:06:26,990
And now you can see the effect that has.
94
00:06:27,010 --> 00:06:30,460
It makes it look like this slicer is part of this chop.
95
00:06:30,610 --> 00:06:36,340
So then I can move that into place anywhere on this chart, so I might want to put it just there so
96
00:06:36,340 --> 00:06:41,320
we can really customize the slices and make them at one with our charts.
97
00:06:41,590 --> 00:06:46,300
It might be that I also want to apply that same custom style to the slice that we have at the bottom.
98
00:06:46,660 --> 00:06:49,390
So let's select it and let's choose our custom style.
99
00:06:49,660 --> 00:06:51,760
And again, that just removes the border.
100
00:06:52,210 --> 00:06:56,650
So now I can use these to filter my data so I can click on 2018.
101
00:06:56,980 --> 00:06:59,560
And maybe I'm only interested in Lux.
102
00:07:00,370 --> 00:07:06,790
If I want to select multiple items, I simply hold down control and I can just click to select three
103
00:07:06,790 --> 00:07:07,630
different products.
104
00:07:07,840 --> 00:07:13,300
Now, clearing these slices is a little bit more difficult when you've removed the heading, because
105
00:07:13,300 --> 00:07:17,860
when you have the heading applied, you have a clear filter button, which makes it super simple just
106
00:07:17,860 --> 00:07:19,060
to reset everything.
107
00:07:19,690 --> 00:07:24,850
But because we've removed the heading, if we want to clear all the slices, we need to right click
108
00:07:25,180 --> 00:07:29,650
and select clear filter from product, and that's going to put everything back to.
10947
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.