Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,340 --> 00:00:08,640
So in the previous lesson, we saw how we could use slices.
2
00:00:08,820 --> 00:00:12,540
I'm actually just going to delete these slices just to reset the data.
3
00:00:12,660 --> 00:00:17,880
But we did see that we were able to use text fields, we were able to use numeric fields, and we were
4
00:00:17,880 --> 00:00:24,240
able to use data fields to be able to easily filter the data that was being shown for all the visualizations.
5
00:00:24,510 --> 00:00:29,190
Now, the other type of filter that we can do is to be able to actually filter within a visualization
6
00:00:29,190 --> 00:00:29,860
itself.
7
00:00:29,880 --> 00:00:35,250
So this is really useful when you want to be able to take a specific visualization and you only want
8
00:00:35,250 --> 00:00:37,240
to show specific data within that.
9
00:00:37,260 --> 00:00:38,880
So let's look at some examples.
10
00:00:38,910 --> 00:00:42,570
I'm going to create a new page and we're going to go back to using our table.
11
00:00:42,780 --> 00:00:46,620
And what we're going to do is we're actually going to use our country and sales.
12
00:00:46,800 --> 00:00:49,470
So let's pop our country in sales into this.
13
00:00:49,770 --> 00:00:53,520
So we've got quite a few countries in here with varying amounts of sales.
14
00:00:53,850 --> 00:00:57,600
Now, what we are going to do is we're actually going to open up our filters box.
15
00:00:57,990 --> 00:01:04,349
So what happens here is that our visualization is selected and it actually now allows us to use the
16
00:01:04,349 --> 00:01:06,630
filters within this visualization.
17
00:01:06,990 --> 00:01:11,220
So you can see that the first part is that we've got the filters on this visualization.
18
00:01:11,220 --> 00:01:16,200
So your fields that are in the visualization are automatically added into this filters.
19
00:01:16,350 --> 00:01:18,180
So we currently got our countries.
20
00:01:18,180 --> 00:01:20,670
So let's have a look at this, expand this a little bit.
21
00:01:20,970 --> 00:01:23,640
And the first type of filtering we can do is basic filtering.
22
00:01:23,790 --> 00:01:28,620
So let's say, for example, you just wanted a list of specific countries you could just go through
23
00:01:28,650 --> 00:01:32,490
here and manually select then the countries that you want to choose.
24
00:01:32,670 --> 00:01:38,370
So basically, just like you would with an Excel filter, just basically come in here, select the countries,
25
00:01:38,370 --> 00:01:43,470
and you can see now that we now have our filtered list and it only shows us a total for those items
26
00:01:43,470 --> 00:01:44,620
that have been selected.
27
00:01:44,640 --> 00:01:48,030
So that's the first type of filter that you can do is basic filtering.
28
00:01:48,270 --> 00:01:52,230
The next type of filtering is the ability to be able to do advanced filtering.
29
00:01:52,380 --> 00:01:57,150
So let's say that we actually I'm going to just clear off previous one so you'll see that there's a
30
00:01:57,150 --> 00:01:58,880
little clear button filter.
31
00:01:58,890 --> 00:01:59,600
So there we go.
32
00:01:59,610 --> 00:02:04,920
We've got advanced filtering now, so basically we can say advanced filtering share items when the value
33
00:02:04,920 --> 00:02:09,180
is and you can say contain something starts with something is something is not.
34
00:02:09,300 --> 00:02:13,830
So let's say, for example, we want to find all the countries that start with the letter I.
35
00:02:13,920 --> 00:02:17,490
So I'm going to say it starts with and I'm going to say the letter I.
36
00:02:17,760 --> 00:02:22,140
Now, once I've got this, I can click on the apply filter button and you see straight away now we're
37
00:02:22,140 --> 00:02:24,960
showing that there's four countries that start with the letter I.
38
00:02:25,350 --> 00:02:30,180
Now, you may want to say, for example, combine this with other ones so you can use your end in or
39
00:02:30,180 --> 00:02:30,750
logic.
40
00:02:30,810 --> 00:02:37,950
So let's say or we want to find all countries that start with, say, a U, but a U in there and apply
41
00:02:37,950 --> 00:02:38,750
the filter.
42
00:02:38,760 --> 00:02:41,760
And you can see now that we've got two countries that start with you.
43
00:02:42,150 --> 00:02:46,410
So you can use this to for your advanced filtering when you want to be able to find something that starts
44
00:02:46,410 --> 00:02:51,180
with something, contain something, and you can see there's a bit more operators there as well, such
45
00:02:51,180 --> 00:02:55,770
as is not is blank, is not blank as well, depending on what you would want to filter.
46
00:02:55,950 --> 00:02:58,410
So that's the advanced filtering that you can use.
47
00:02:58,770 --> 00:03:00,150
Again, let's just clear this.
48
00:03:01,340 --> 00:03:04,430
And the last type of faltering is your top end filtering.
49
00:03:04,430 --> 00:03:09,860
So you may want to see, for example, the top ten countries or the bottom ten countries.
50
00:03:10,070 --> 00:03:14,000
So this is really useful when you're wanting a list and you just want to say, I want to see the top
51
00:03:14,000 --> 00:03:15,320
ten countries for this.
52
00:03:15,590 --> 00:03:21,590
So you say Top End and you'll see now that our filter would say to show items top or bottom, we go
53
00:03:21,590 --> 00:03:23,480
to this, see, top or bottom.
54
00:03:23,480 --> 00:03:25,880
So let's say we want the top ten countries.
55
00:03:26,860 --> 00:03:28,770
So I'm going to say top ten countries.
56
00:03:28,780 --> 00:03:31,320
Now, what it will ask you is by which value.
57
00:03:31,330 --> 00:03:34,960
So it does mean that you could use another value besides sales.
58
00:03:34,960 --> 00:03:37,510
So you could use profit, for example, if you wanted to.
59
00:03:37,510 --> 00:03:41,620
But I'm going to use sales because it just makes most sense to be able to use sales.
60
00:03:41,620 --> 00:03:43,200
And we're going to say a filter.
61
00:03:43,570 --> 00:03:48,190
And you can see now it's now taking my top ten countries shows me the total for those.
62
00:03:48,460 --> 00:03:52,540
Again, if I wanted to see these by the value can actually just change my sort order for the sum of
63
00:03:52,540 --> 00:03:53,170
sales.
64
00:03:54,120 --> 00:03:56,220
If I wanted to see the, say, the bottom ten.
65
00:03:57,810 --> 00:03:58,920
Supply the filter.
66
00:03:58,920 --> 00:03:59,700
And there we go.
67
00:03:59,700 --> 00:04:01,740
There's my bottom ten countries.
68
00:04:01,830 --> 00:04:03,780
So really useful to have your top end.
69
00:04:03,780 --> 00:04:07,590
You can find the top ten, top five, top 15 if you wanted to.
70
00:04:07,710 --> 00:04:12,990
Countries by that and again, if you wanted to clear your filter, just select that and then that will
71
00:04:12,990 --> 00:04:14,400
clear that filter away.
72
00:04:14,490 --> 00:04:18,990
Now, let's say, for example, that you wanted to actually use a numeric.
73
00:04:18,990 --> 00:04:26,160
So in this case we wanted to see how many countries did we have sales that were, say, less than 500,000.
74
00:04:27,120 --> 00:04:31,470
So in this case, we wouldn't be using our country field, We would move to our sales field.
75
00:04:31,470 --> 00:04:33,840
So let's expand this and you'll see.
76
00:04:33,840 --> 00:04:38,520
Now my filter options is the ability to find things that are less than something is greater than something
77
00:04:38,520 --> 00:04:40,260
is something or is not something.
78
00:04:40,260 --> 00:04:45,480
So in this case, let's say I want to find all countries that have got sales is less than or equal to.
79
00:04:45,480 --> 00:04:50,250
And in this case it's going to be 500,000, let's say 500,000 there.
80
00:04:50,400 --> 00:04:51,720
I'm going to apply the filter.
81
00:04:52,140 --> 00:04:54,660
I can see I've got quite a long list of countries.
82
00:04:54,780 --> 00:04:57,960
Now, question would come, how do I know how many countries?
83
00:04:58,050 --> 00:05:03,210
So one of the tricks I could use for this is if I go back to my visualization and go back to my columns,
84
00:05:03,480 --> 00:05:07,800
if I was to get another copy of my country and just drop it into my table.
85
00:05:08,220 --> 00:05:11,340
And now I say that I want to do a distinct count.
86
00:05:12,180 --> 00:05:15,330
What it will do is it lets you just count the country once.
87
00:05:15,540 --> 00:05:21,030
So now it will show me a list of all the countries and it will actually show me that I've got 25 countries
88
00:05:21,030 --> 00:05:23,250
that have sales, less than 500,000.
89
00:05:24,030 --> 00:05:26,970
So that's just a little trick you can use when you want to do accounting.
90
00:05:26,970 --> 00:05:29,700
You want to know how many of something are contributing.
91
00:05:30,530 --> 00:05:34,550
Let's say, for example, I wanted to know how many countries had sales greater than a million.
92
00:05:34,960 --> 00:05:35,990
So let's just change that.
93
00:05:35,990 --> 00:05:40,310
Let's say is greater than or equal to and in this case, let's say a million.
94
00:05:42,000 --> 00:05:43,910
And we click apply filter on that.
95
00:05:43,920 --> 00:05:44,640
And there we go.
96
00:05:44,640 --> 00:05:49,560
We can see that the six countries that have got sales greater than a million, we could use our end
97
00:05:49,560 --> 00:05:51,120
on all logic on this as well.
98
00:05:51,120 --> 00:05:55,620
So you could say that you want to find all how many countries have sales?
99
00:05:55,620 --> 00:05:57,990
Between 500,000 and a million.
100
00:05:57,990 --> 00:06:06,120
So in this case, we want to be saying is less than or greater to than or equal to a million and is
101
00:06:06,120 --> 00:06:09,360
greater than or equal to 500,000.
102
00:06:11,150 --> 00:06:12,560
Just try that logic.
103
00:06:12,830 --> 00:06:14,780
I got the number of zeros correct.
104
00:06:14,780 --> 00:06:15,770
Apply filter.
105
00:06:15,770 --> 00:06:16,430
And there we go.
106
00:06:16,430 --> 00:06:21,140
We find three countries that are between the values of a million and 500,000.
107
00:06:21,710 --> 00:06:26,840
So this is just one thing where you could use your numeric filters, is that you could ask for something
108
00:06:26,840 --> 00:06:29,970
that is less than or equal to a specific value.
109
00:06:29,990 --> 00:06:32,810
Now we're just going to clear this, so we're just going to move it away.
110
00:06:33,020 --> 00:06:39,380
Now, what you do get the ability to do is actually to be able to add fields into your filter.
111
00:06:39,410 --> 00:06:45,410
So let's say, for example, we wanted to know what was the sales for each country, but only for the
112
00:06:45,410 --> 00:06:46,850
audio product category.
113
00:06:46,940 --> 00:06:51,110
So what we could do is we could take the audio product category, just drop the product category into
114
00:06:51,110 --> 00:06:57,470
there here, and then we could select just audio and you'll see automatically now that my sales has
115
00:06:57,470 --> 00:07:00,520
been filtered only to show the audio product category.
116
00:07:00,530 --> 00:07:05,900
So as you can see, this becomes really powerful where you can actually add as many fields as you wanted
117
00:07:05,900 --> 00:07:09,620
to in here to create any combination of the filters that you want to use.
118
00:07:09,740 --> 00:07:11,570
Now, we're going to keep this pretty simple.
119
00:07:11,570 --> 00:07:13,470
We're just going to show that as an example.
120
00:07:13,490 --> 00:07:17,450
But you can imagine you could bring in a region for this or you could bring in a channel and you could
121
00:07:17,450 --> 00:07:19,490
use those as specific filters.
122
00:07:20,240 --> 00:07:23,840
If I wanted to change this to cell phones, as you can see, very easy to do.
123
00:07:23,930 --> 00:07:26,210
But again, I'm going to just clear the filter.
124
00:07:26,240 --> 00:07:31,340
Now, one thing to note is that this field is not part of my table, but it does allow me to do is actually
125
00:07:31,340 --> 00:07:32,990
remove this from the filters.
126
00:07:33,110 --> 00:07:37,610
It will not allow you, though, to remove a field that is actually part of the table.
127
00:07:38,240 --> 00:07:43,330
And the last one that I wanted to go over was just the data filters that we use just now.
128
00:07:43,340 --> 00:07:48,410
So just now in our slicer, we used all ordered data and we saw that there were two types of filters
129
00:07:48,410 --> 00:07:49,400
that we could use.
130
00:07:49,700 --> 00:07:55,040
We could use a basic filtering or we could use a relative data filtering.
131
00:07:55,190 --> 00:08:00,050
Now, in this case, actually a basic filtering means that you actually just pick the independent dates.
132
00:08:00,200 --> 00:08:04,370
Rather, when I was speaking about a basic filtering, I was meaning more on the advanced filtering
133
00:08:04,370 --> 00:08:10,130
where we say something is on or after a specific date is on or before a specific date.
134
00:08:10,190 --> 00:08:16,630
So let's say we want to find all the sales that is on or after and let's say the day and the month.
135
00:08:16,640 --> 00:08:27,170
So let's say we want to start with the 0107 and let's say it's 2013 and we want to find actually, let's
136
00:08:27,170 --> 00:08:32,600
just apply the filter on that so we can see automatically now that everything that is on and after right
137
00:08:32,600 --> 00:08:36,890
to the end of the dataset is now filtered to, to display that.
138
00:08:36,890 --> 00:08:44,480
But you could combine this and you could say that I want to see and is on or before.
139
00:08:44,930 --> 00:08:47,960
And in this case we would need a date that is later.
140
00:08:47,960 --> 00:08:52,070
So that's the first of the ninth 2013.
141
00:08:52,670 --> 00:08:57,680
So you can enter the dates that you would want in here and click apply filter and there we go.
142
00:08:57,710 --> 00:09:01,850
It's now showing you the filter data for those two dates.
143
00:09:02,620 --> 00:09:06,820
What you could also show is that you could have your relative date here as well.
144
00:09:06,820 --> 00:09:12,250
So you could say, I want to show a relative date and you could say that it is in the last and let's
145
00:09:12,250 --> 00:09:13,210
say seven days.
146
00:09:13,210 --> 00:09:17,080
Remember, we're not going to see any data because the data is too old.
147
00:09:17,080 --> 00:09:22,510
But you could say, as in the last seven days or you could say is in the last seven weeks, or you could
148
00:09:22,510 --> 00:09:25,230
say is in the last seven months and so on.
149
00:09:25,240 --> 00:09:30,460
So it's very easy to be able to change these to either relative or to a normal date range that you would
150
00:09:30,460 --> 00:09:32,410
want to use within your filters.
151
00:09:33,170 --> 00:09:37,750
Again, please note that the ordered data is not part of the actual table here.
152
00:09:37,750 --> 00:09:39,850
This could actually remove it.
153
00:09:40,360 --> 00:09:41,400
So there we go.
154
00:09:41,410 --> 00:09:46,270
That's the first part that I wanted to show you was the visual filters and just the ability to be able
155
00:09:46,270 --> 00:09:47,920
to add the filters to a table.
156
00:09:47,920 --> 00:09:50,260
As you can see quite a lot that we can do there.
157
00:09:50,920 --> 00:09:52,400
We're going to conclude the lesson there.
158
00:09:52,420 --> 00:09:53,740
I will see you in the next one.
16410
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.