All language subtitles for 14. PRO TIP Appending Files from a Folder

af Afrikaans
sq Albanian
am Amharic
ar Arabic Download
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,710 --> 00:00:01,130 All right. 2 00:00:01,140 --> 00:00:06,810 So I just showed you how to stack some tables together using the query editing pen tools. 3 00:00:06,870 --> 00:00:14,190 We took these three individual adventure work sales files from 20 15 16 and 17 and we appended them 4 00:00:14,220 --> 00:00:23,350 as a new table called A.W. sales 2015 through 2017 which included all of the data across all three files. 5 00:00:23,520 --> 00:00:24,550 And that worked pretty well. 6 00:00:24,570 --> 00:00:26,130 But remember the downside. 7 00:00:26,370 --> 00:00:32,550 This new table that we created is now dependent on the three individual component tables so we can't 8 00:00:32,580 --> 00:00:34,920 delete any of these individual tables. 9 00:00:34,920 --> 00:00:37,070 We have to keep this whole set of four. 10 00:00:37,380 --> 00:00:45,090 So it's actually these for sales files and pull them into power by using the folder approach instead. 11 00:00:45,150 --> 00:00:53,340 So I can delete the appended file first press OK and once that one gone. 12 00:00:53,380 --> 00:00:59,700 Now I can delete any of these individual ones because no relationship between them exists and there 13 00:00:59,700 --> 00:01:01,500 are no more dependencies. 14 00:01:01,690 --> 00:01:03,200 And we need to worry about. 15 00:01:03,250 --> 00:01:06,020 So 2017. 16 00:01:07,310 --> 00:01:07,680 There you go. 17 00:01:07,760 --> 00:01:11,580 So all of our sales data is gone we're left with just the product. 18 00:01:11,630 --> 00:01:17,030 Look up the customer look up and calendar look up and what I'm actually going to do here is pull up 19 00:01:17,030 --> 00:01:24,270 the folder on my desktop containing these individual CXVII files and create a new folder there. 20 00:01:24,410 --> 00:01:26,950 So go ahead and pull up your folder as well. 21 00:01:28,120 --> 00:01:28,430 OK. 22 00:01:28,440 --> 00:01:31,080 So here's where I've got all of my adventure works. 23 00:01:31,170 --> 00:01:35,870 Cxxvi files including the three individual sales files. 24 00:01:36,040 --> 00:01:42,360 When I'm going to do is actually right click and create a new folder right here within this same Adventure 25 00:01:42,360 --> 00:01:48,480 Works folder and I'm going to name it something like A.W. underscore sales can name it whatever you 26 00:01:48,480 --> 00:01:49,150 want. 27 00:01:49,580 --> 00:01:57,850 And once I created that empty folder I'm going to select each of my sales tables 20 15 16 and 17. 28 00:01:58,020 --> 00:02:03,750 I'm going to drag them all into that A.W. sales folder now and you click and you can see that it contains 29 00:02:03,840 --> 00:02:05,520 all three of those files. 30 00:02:05,970 --> 00:02:12,630 And once I've done that I can go ahead and close that file when no return back to my query editor and 31 00:02:12,660 --> 00:02:17,070 I'm going to go ahead and grab a connection to a new source. 32 00:02:17,370 --> 00:02:24,240 And this time I need to go down into the more options and right here on the right you'll see the option 33 00:02:24,420 --> 00:02:26,390 to connect to a folder. 34 00:02:26,430 --> 00:02:32,740 So it's going connect and the first thing that power is going to ask for is the folder path. 35 00:02:33,060 --> 00:02:41,490 So let's go ahead and browse and navigate to those coarse files RBI of course files Adventure Works 36 00:02:42,120 --> 00:02:43,200 A.W. sales. 37 00:02:43,200 --> 00:02:49,350 So that's the folder that it just created that contains those three individual sales files and you can 38 00:02:49,350 --> 00:02:57,040 go ahead and press OK and OK once more the preview window looks a little bit different. 39 00:02:57,080 --> 00:03:00,240 It has this column that says content binary. 40 00:03:00,240 --> 00:03:02,440 It's got file names and extensions. 41 00:03:02,630 --> 00:03:11,150 So rather than actually previewing the data the actual rows and columns previewing the files that exist 42 00:03:11,390 --> 00:03:13,210 within this folder path. 43 00:03:13,220 --> 00:03:15,020 Now we have two options here. 44 00:03:15,140 --> 00:03:21,590 We can either combine and it on the spot or we can edit and actually walk through each of the steps 45 00:03:21,590 --> 00:03:22,690 of the combination. 46 00:03:22,940 --> 00:03:27,890 So I'm actually going to choose the edit option because I want to show you exactly what this looks like. 47 00:03:28,040 --> 00:03:31,850 Bit by bit. 48 00:03:31,900 --> 00:03:33,940 So there we go and I press at it. 49 00:03:34,060 --> 00:03:40,060 It lands me here in the query editor and I see that similar kind of view that I got in the preview right. 50 00:03:40,060 --> 00:03:42,350 I'm not looking at actual data points. 51 00:03:42,520 --> 00:03:49,000 I'm looking at attributes about the files that exist in the folder that I've linked to. 52 00:03:49,000 --> 00:03:52,760 So the key here is to look at this first column. 53 00:03:52,900 --> 00:03:58,120 This is kind of similar to the column that was created when we merged tables where we had to take one 54 00:03:58,120 --> 00:04:02,120 extra step to actually split out the columns from the table itself. 55 00:04:02,320 --> 00:04:08,650 Same idea here we have to take one extra step to break out the actual content within the CXXVI files 56 00:04:08,650 --> 00:04:15,310 located in the folder and to do that we'll just press this combined files button right here in a content 57 00:04:15,370 --> 00:04:16,130 column header 58 00:04:22,190 --> 00:04:29,140 and when we do that it runs through the append process and opens up a new preview window with a combined 59 00:04:29,140 --> 00:04:30,750 files Hetter. 60 00:04:30,790 --> 00:04:34,610 And this shows us an actual data preview from each of our files. 61 00:04:34,660 --> 00:04:41,170 We can select the first second or the third here and if our preview looks good if we know we've got 62 00:04:41,170 --> 00:04:46,850 the same column structure data types which you know we do then we can go ahead and press OK. 63 00:04:52,870 --> 00:04:57,970 And after it runs through some processing you'll see that the data lands right here in the preview window 64 00:04:58,240 --> 00:05:02,200 and contains data from all three of our files. 65 00:05:02,200 --> 00:05:09,250 So same thing we can filter on that order date show more we're starting in January of 2015 and our dates 66 00:05:09,250 --> 00:05:14,530 extend all the way through 2016 through the end of June 2017. 67 00:05:14,710 --> 00:05:16,950 So we've got all of our data in here. 68 00:05:17,050 --> 00:05:21,300 Got all of our familiar columns out to the order quantity column. 69 00:05:21,370 --> 00:05:27,850 Do you have one additional column here which is the source name and that just tells us which file within 70 00:05:27,850 --> 00:05:30,330 the folder that data came from. 71 00:05:30,340 --> 00:05:35,330 So kind of a helpful attribute if you do want to keep it in this case we don't need it. 72 00:05:35,350 --> 00:05:39,720 So let's go ahead and remove that source Name column and there you have it. 73 00:05:39,730 --> 00:05:45,190 We have our appended table containing all of our sales data in one place. 74 00:05:45,340 --> 00:05:51,490 And as you can see it automatically gave us a table name based on the way we named our folder which 75 00:05:51,580 --> 00:05:54,890 in this case was A.W. underscore sales. 76 00:05:54,890 --> 00:06:00,550 You can either leave it just like that or add the years to that 2015 through 2017. 77 00:06:00,580 --> 00:06:05,250 In this case I think this is the final version of the sales table that I'm going to use. 78 00:06:05,470 --> 00:06:09,760 So in this case A.W. sales it's nice it's clean it's concise. 79 00:06:09,760 --> 00:06:11,230 That will work just fine. 80 00:06:11,650 --> 00:06:17,260 So last thing to note over here on the left side of the screen you'll see that A.W. sales table showed 81 00:06:17,260 --> 00:06:19,380 up right beneath our calendar Look-Up. 82 00:06:19,780 --> 00:06:26,350 You'll also see some automatically generated query information above that and this was all automatically 83 00:06:26,350 --> 00:06:32,530 written automatically generated in order to make all that magic happen by appending the files within 84 00:06:32,530 --> 00:06:33,390 the folder. 85 00:06:33,490 --> 00:06:35,680 So we don't even have to touch this. 86 00:06:35,680 --> 00:06:37,880 We don't even have to think about this. 87 00:06:37,900 --> 00:06:40,400 I usually will just kind of collapse it. 88 00:06:40,630 --> 00:06:46,480 And then in this other queries folder This is where all of our kind of primary tables will continue 89 00:06:46,480 --> 00:06:47,170 to live. 90 00:06:47,170 --> 00:06:54,130 So again same end result as loading up three individual tables and using the append tools from the home 91 00:06:54,130 --> 00:06:54,880 menu. 92 00:06:55,000 --> 00:07:01,780 Except now we have one nice clean table without those extra tables and dependencies and even more importantly 93 00:07:02,110 --> 00:07:08,800 if we ever need to pull an additional years of sales data we could simply drop those CXXVI folders right 94 00:07:08,800 --> 00:07:15,580 into that A.W. sales folder and press refresh right here inside the query editor and all of that data 95 00:07:15,700 --> 00:07:17,280 would automatically be pulled in. 96 00:07:17,470 --> 00:07:19,440 So that should just about do it. 97 00:07:19,570 --> 00:07:26,450 Last step is to close and apply and then I'll go ahead and load that new A.W. sales data to our file 98 00:07:27,750 --> 00:07:29,900 and take a look at relationships. 99 00:07:30,090 --> 00:07:32,430 There it is A.W. sales. 100 00:07:32,460 --> 00:07:37,200 So with that there's a protip connecting power be-I to a folder of files. 10308

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.