Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:00,000 --> 00:00:01,000
Instructor: Welcome to the
2
00:00:01,000 --> 00:00:03,000
Assignment Solution Walkthrough.
3
00:00:03,000 --> 00:00:05,000
As a quick reminder, Ethan had reached out
4
00:00:05,000 --> 00:00:07,000
because they're looking to better understand
5
00:00:07,000 --> 00:00:11,000
where customers are coming from based on their email domain.
6
00:00:11,000 --> 00:00:14,000
Now, here's a solution preview of what you should see
7
00:00:14,000 --> 00:00:16,000
in Power Query after you've completed the assignment.
8
00:00:16,000 --> 00:00:18,000
Keep in mind that depending on how
9
00:00:18,000 --> 00:00:21,000
you approached solving Ethan's requests,
10
00:00:21,000 --> 00:00:23,000
your applied steps may look a little bit different
11
00:00:23,000 --> 00:00:25,000
than mine, and that's totally cool.
12
00:00:25,000 --> 00:00:28,000
The most important thing here is that you end up
13
00:00:28,000 --> 00:00:30,000
with the same result.
14
00:00:30,000 --> 00:00:31,000
All right, let's jump over to Power BI
15
00:00:31,000 --> 00:00:33,000
and we'll check the solution out.
16
00:00:33,000 --> 00:00:36,000
So to kick this off, we're gonna head to the query editor.
17
00:00:36,000 --> 00:00:38,000
And once the query editor loads here,
18
00:00:38,000 --> 00:00:42,000
we're gonna hop over into our customer lookup table.
19
00:00:43,000 --> 00:00:46,000
And our first key objective was to duplicate
20
00:00:46,000 --> 00:00:49,000
the email address column and then name it domain name.
21
00:00:51,000 --> 00:00:54,000
So if we come over, select email address,
22
00:00:54,000 --> 00:00:58,000
and then we want to head up to add column tools
23
00:00:58,000 --> 00:01:00,000
and duplicate column.
24
00:01:01,000 --> 00:01:04,000
All right, so we've added a duplicate column.
25
00:01:04,000 --> 00:01:08,000
We need to update the name here to domain name.
26
00:01:11,000 --> 00:01:15,000
All right, so that is our first key objective.
27
00:01:15,000 --> 00:01:18,000
All right, our second key objective is in this new column,
28
00:01:18,000 --> 00:01:21,000
we need to remove all text and characters
29
00:01:21,000 --> 00:01:23,000
except for the domain name.
30
00:01:23,000 --> 00:01:28,000
So if we come back over to our transform column menus here
31
00:01:28,000 --> 00:01:33,000
and then we can use our extract tool options to extract text
32
00:01:33,000 --> 00:01:35,000
after a delimiter.
33
00:01:35,000 --> 00:01:38,000
So basically what we want to do here is say everything
34
00:01:38,000 --> 00:01:42,000
that is after the at symbol we want to keep.
35
00:01:44,000 --> 00:01:46,000
So we'll just click okay
36
00:01:46,000 --> 00:01:50,000
and now we're left with this adventure-works.com.
37
00:01:50,000 --> 00:01:53,000
The next thing that we need to do is I'm gonna tackle this
38
00:01:53,000 --> 00:01:55,000
by removing the .com.
39
00:01:55,000 --> 00:01:57,000
So again, from this extract menu,
40
00:01:57,000 --> 00:02:01,000
I'm going to remove text before delimiter.
41
00:02:01,000 --> 00:02:04,000
So basically we want to try to keep everything
42
00:02:04,000 --> 00:02:07,000
before the period in .com.
43
00:02:09,000 --> 00:02:10,000
So click okay.
44
00:02:12,000 --> 00:02:16,000
And then the last piece here that I want to do is replace
45
00:02:16,000 --> 00:02:19,000
this hyphen between Adventure and Works.
46
00:02:19,000 --> 00:02:21,000
So if I come over to replace values,
47
00:02:23,000 --> 00:02:26,000
and then the value to find is the hyphen,
48
00:02:26,000 --> 00:02:30,000
replace it with a space, and then once this updates,
49
00:02:30,000 --> 00:02:34,000
we should see Adventure Space Works.
50
00:02:34,000 --> 00:02:36,000
All right, so our third objective here
51
00:02:36,000 --> 00:02:38,000
is to use transformation steps to clean up
52
00:02:38,000 --> 00:02:41,000
and capitalize the domain name.
53
00:02:41,000 --> 00:02:43,000
So what I would like to do here is, again,
54
00:02:43,000 --> 00:02:46,000
we're gonna use that proper function or the capitalize
55
00:02:46,000 --> 00:02:50,000
each word here again, transform menu options, format,
56
00:02:52,000 --> 00:02:57,000
capitalize each word, and we have Adventure Space Works.
57
00:02:58,000 --> 00:03:03,000
All right, so back to the home tab, close and apply.
58
00:03:03,000 --> 00:03:06,000
And that's our fourth key objective for this lesson.
4709
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.