Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:05,450 --> 00:00:09,320
So our sales manager is back again and he's got some further questions.
2
00:00:09,320 --> 00:00:13,130
And these are going to require some filtering of data to give him the answers.
3
00:00:13,730 --> 00:00:16,760
So I've deleted the pages that we were just using for the filters.
4
00:00:16,760 --> 00:00:20,630
But for this one, what I'm going to do is actually just create a new page and we're just going to call
5
00:00:20,630 --> 00:00:22,730
this off full to activity.
6
00:00:23,180 --> 00:00:29,510
Let's just try that again into renaming and we're going to say this is going to be our full to activity.
7
00:00:30,380 --> 00:00:34,040
Guess at the first question we've been asked is how many cities have a profit?
8
00:00:34,040 --> 00:00:37,190
Over 150,000, and what is the total profit?
9
00:00:37,610 --> 00:00:38,210
Right.
10
00:00:38,210 --> 00:00:41,240
So basically we're going to be using tables.
11
00:00:41,240 --> 00:00:45,020
So let's select a table quite nice and big.
12
00:00:45,530 --> 00:00:49,490
We want our cities in there and we also need our profit.
13
00:00:50,500 --> 00:00:50,770
Right.
14
00:00:50,770 --> 00:00:53,860
So the question is how many of these cities actually have a profit?
15
00:00:53,860 --> 00:00:55,900
Over 150,000.
16
00:00:56,050 --> 00:00:57,430
So I'm I'm going to be doing counting.
17
00:00:57,430 --> 00:01:00,350
So I'm actually just going to add another version of my city.
18
00:01:00,370 --> 00:01:03,850
And we're going to set that to a distinct count so I can actually count.
19
00:01:04,090 --> 00:01:05,530
So we can see there's a lot of cities.
20
00:01:05,530 --> 00:01:08,410
We've got 263 cities in total.
21
00:01:09,050 --> 00:01:09,340
Okay.
22
00:01:09,370 --> 00:01:11,560
Let's find out how many have a profit.
23
00:01:11,560 --> 00:01:13,030
Over 150,000.
24
00:01:13,060 --> 00:01:15,340
So in this case, I can use my sum of profit.
25
00:01:15,340 --> 00:01:16,900
So I'm going to go into my filters.
26
00:01:17,140 --> 00:01:22,210
And going to go is not less than in this case we want it's greater than.
27
00:01:22,420 --> 00:01:25,270
So we're going to say it's greater than 150,000.
28
00:01:27,470 --> 00:01:28,820
And we're going to apply the filter.
29
00:01:29,390 --> 00:01:35,690
And we can see now that there's 19 cities that have a profit, over 150,000, and their total profit
30
00:01:35,690 --> 00:01:39,560
is 16,277,215.
31
00:01:39,950 --> 00:01:41,080
Let's look at the next one.
32
00:01:41,090 --> 00:01:44,690
What is the total profit for cities that begin with the letter SE?
33
00:01:45,380 --> 00:01:48,440
So I'm just going to remove that sum of profit filter.
34
00:01:48,650 --> 00:01:50,630
We're going to go back to our list of cities.
35
00:01:51,140 --> 00:01:55,130
And in this case, I'm going to use a more advanced filtering because we want to find everything that
36
00:01:55,130 --> 00:01:57,230
starts with the letter SE.
37
00:01:57,350 --> 00:02:01,940
So we're going to say start with, say, SE and apply the filter on that.
38
00:02:02,550 --> 00:02:08,240
In this case, it tells me there are 23 cities that start with the letter s and its total profit is
39
00:02:08,240 --> 00:02:11,840
$3,211,670.
40
00:02:12,990 --> 00:02:14,510
Okay, We've got a new table to create.
41
00:02:14,520 --> 00:02:17,790
We're going to create a table displaying the sales for each product name.
42
00:02:18,000 --> 00:02:22,350
What is the total sales for audio product category and how many products are in there?
43
00:02:22,950 --> 00:02:24,870
So a couple of things to change there.
44
00:02:25,380 --> 00:02:26,280
Let's just delete that.
45
00:02:26,280 --> 00:02:27,960
Let's start with a new table.
46
00:02:28,080 --> 00:02:33,540
And again, it's just a big a lot of products.
47
00:02:33,750 --> 00:02:36,960
And we also need to know what is the sales values.
48
00:02:37,740 --> 00:02:39,270
Drop that in there as well.
49
00:02:39,670 --> 00:02:43,350
In this case, we want to know for the audio product category.
50
00:02:43,860 --> 00:02:44,880
And how many.
51
00:02:44,880 --> 00:02:46,230
So I know I'm going to be counting.
52
00:02:46,230 --> 00:02:49,800
So let's just add the product name again to our distinct count.
53
00:02:50,880 --> 00:02:51,950
And there we go.
54
00:02:51,960 --> 00:02:55,320
We should see this 1638 products, which is correct.
55
00:02:56,250 --> 00:03:00,450
So we're going to be using the data fields because we don't actually have the product category at the
56
00:03:00,450 --> 00:03:01,110
moment.
57
00:03:01,280 --> 00:03:04,490
So we're going to drop that in there at data fields.
58
00:03:04,500 --> 00:03:07,800
And in this case, we just want to know for the audio product category.
59
00:03:08,400 --> 00:03:17,160
So we can see that there's actually 106 products and the total sales is 1,029,381.
60
00:03:18,180 --> 00:03:18,570
Right.
61
00:03:18,600 --> 00:03:20,700
The next question is also about product names.
62
00:03:20,700 --> 00:03:27,210
So it wants to know how many products contain the word TOSO and have sales greater than 100,000.
63
00:03:28,140 --> 00:03:31,870
So we can stick with product name and sales, so we can actually stick with this table.
64
00:03:31,890 --> 00:03:33,930
We're just going to remove this filter.
65
00:03:34,170 --> 00:03:37,800
Actually, we can delete the filter because product category is not needed.
66
00:03:37,920 --> 00:03:42,480
And in this case we said the product name needs to contain.
67
00:03:42,690 --> 00:03:47,580
We're going to be using an advanced filter contains the word contain.
68
00:03:47,830 --> 00:03:50,020
So so we're going to say column two.
69
00:03:50,040 --> 00:03:52,500
So we spelled that correctly.
70
00:03:52,650 --> 00:03:53,520
Our filter.
71
00:03:53,550 --> 00:03:54,140
There we go.
72
00:03:54,150 --> 00:03:56,260
We've got 536 products.
73
00:03:56,280 --> 00:04:02,040
However, anyone those that have sales greater than 100,000, let's just collapse that.
74
00:04:02,460 --> 00:04:03,900
Let's go to our sales.
75
00:04:04,700 --> 00:04:09,350
And in this case we want to say is greater than I'm going to say 100,000.
76
00:04:11,020 --> 00:04:11,890
If I fall to.
77
00:04:12,970 --> 00:04:13,630
And there we go.
78
00:04:13,780 --> 00:04:16,899
We've actually got 14 products that meet that criteria.
79
00:04:18,130 --> 00:04:19,209
The next one is a date one.
80
00:04:19,209 --> 00:04:25,120
So it wants to know what was the total sales for the 1st of January 2013 to the 30th of June 2013?
81
00:04:25,720 --> 00:04:28,960
So again, going to remove those filters.
82
00:04:29,470 --> 00:04:30,790
If you take that out.
83
00:04:32,790 --> 00:04:39,120
And I could do here is actually I don't need my product name and my I just need my total sales.
84
00:04:39,360 --> 00:04:42,960
So let's keep that and there's no filters.
85
00:04:42,960 --> 00:04:44,940
So we're just going to bring our audit data in.
86
00:04:45,570 --> 00:04:49,620
And in this case, we want a advanced because we want it between two dates.
87
00:04:49,830 --> 00:04:54,510
So in this case, we want to say is on or after 1st of January.
88
00:04:54,510 --> 00:04:57,330
So we're going to set one slash.
89
00:04:58,450 --> 00:05:00,640
One, 2013.
90
00:05:01,690 --> 00:05:07,810
And also is on for the 30th of June.
91
00:05:07,810 --> 00:05:09,760
So 36.
92
00:05:10,710 --> 00:05:12,600
2013.
93
00:05:12,780 --> 00:05:16,350
So hopefully I got my dates correct, formatting the filter.
94
00:05:16,530 --> 00:05:22,110
And you can see that the total is 8,359,314.
95
00:05:22,890 --> 00:05:23,250
Okay.
96
00:05:23,250 --> 00:05:28,560
Our last question, How many countries sold over 50 different types of products?
97
00:05:29,190 --> 00:05:29,580
Okay.
98
00:05:29,640 --> 00:05:32,060
So let's change this again.
99
00:05:32,070 --> 00:05:34,110
So let's remove that audit date.
100
00:05:34,500 --> 00:05:38,880
And we need to know in this case, it's country.
101
00:05:40,200 --> 00:05:41,610
And it's product name.
102
00:05:41,610 --> 00:05:45,660
So we need to know how many products have been sold in each country.
103
00:05:45,660 --> 00:05:48,600
So remember, we use that distinct count earlier for this.
104
00:05:48,960 --> 00:05:54,330
So we're now counting the number of products per country, but we only want to know how many countries
105
00:05:54,330 --> 00:05:55,410
had over 50.
106
00:05:55,440 --> 00:05:58,110
So again, I'm going to need to count my countries.
107
00:05:58,680 --> 00:06:00,090
Let's just drop that in there.
108
00:06:00,900 --> 00:06:02,580
Let's go count distinct.
109
00:06:03,090 --> 00:06:08,900
We've got 34 countries, but we need to know the count of the product name is actually over 50.
110
00:06:08,910 --> 00:06:14,900
So we go count product name and in this case is saying greater then we want to say is over 50.
111
00:06:14,910 --> 00:06:16,800
So we'll select that apply filter.
112
00:06:17,160 --> 00:06:22,860
So it looks like there's 17 countries that had over 50 product names.
113
00:06:23,280 --> 00:06:24,120
So there we go.
114
00:06:24,120 --> 00:06:29,310
There's the answers that for our sales manager, we're going to conclude the activity and I'll see you
115
00:06:29,310 --> 00:06:30,180
in the next lesson.
9928
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.