Combine Files from a Folder with Power Query the RIGHT WAY!

  Рет қаралды 158,462

MyOnlineTrainingHub

MyOnlineTrainingHub

Күн бұрын

Пікірлер: 285
@thatJustinUknow
@thatJustinUknow Жыл бұрын
Love how you don't mince words, and keep it clear by comparing and contrasting, and telling WHY to do a thing as opposed just explaining WHAT to do, thanks!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
I appreciate that! 🙏😊
@mobe7
@mobe7 Жыл бұрын
Great video, I always overlooked the sample file. Now I know it's worth. I also loved your example with transposing the column headers - I am sure I will be using that sometime in the future!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Great to hear!
@StephenZipprich
@StephenZipprich Жыл бұрын
Rather than manually refreshing, go to Data Ribbon > Queries > Properties and set it to refresh whenever the file opens. This ensures you dont have to remember to refresh the data, and potentially have an error in your output.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Yes, great idea. 👍
@shivankurchahar7368
@shivankurchahar7368 6 ай бұрын
Where do i get this option? I am not able to find Queries & Properties option. Can you please elaborate?
@nazarkamal8831
@nazarkamal8831 9 ай бұрын
Before combining do it in sample / After combining do it in either sample query or in final query !!! Well said this is what i want !! Searched in so many channels regarding this difference finally got from yours channel 👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏👏 thanks 👍
@MyOnlineTrainingHub
@MyOnlineTrainingHub 9 ай бұрын
Glad I could help. This is a fundamental point many people don’t realise.
@mcegirl4
@mcegirl4 Жыл бұрын
I'm still trying to get a handle on PQ, and you are helping immensely! I had a couple of 'light bulb' moments watching this video - thank you!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
That’s great to hear!
@williamarthur4801
@williamarthur4801 Жыл бұрын
Loved the way of promoting two rows as a header I've always ended up isolating the first two rows , Table to columns, Table column names , zipping and renaming. But thanks for the whole thing, I still find brining in files form a folder with different names and structure very confusing and there's a lot of trial and error.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it 🙏 different column names is a tricky one because there are many scenarios, so it's difficult to have a one size fits all approach.
@emmanuelle8032
@emmanuelle8032 6 ай бұрын
Excellent ! Very clear explanations as always. Just used them and 💥... my work has been produced in half the time I'd previously planned. Thanks you very much !
@MyOnlineTrainingHub
@MyOnlineTrainingHub 6 ай бұрын
Wow! That's awesome to hear 👏
@AchmadHilmanS
@AchmadHilmanS 3 ай бұрын
I just wanted to say a huge thank you for all the amazing tutorials you've shared! Your tips and tricks have completely transformed the way I use Excel. Every video is packed with useful information, and your clear, step-by-step instructions make everything so easy to understand. I've learned so much from you and now feel much more confident with my Excel skills. Keep up the fantastic work!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 ай бұрын
Thank you so much! 🥰 I'm so pleased I can help. Keep learning and practicing 💪
@ivanbork4175
@ivanbork4175 Жыл бұрын
Hi Mynda You truly are a genius, I get a lot out of watching your uploads. Use PQ almost every day, and never stumble over this, but instead use filtering out and renaming columns. So grateful, thanks
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
So wonderful to hear 🙏
@dmytrofryashchikov4847
@dmytrofryashchikov4847 Жыл бұрын
Hi Mynda, Your channel is the best Excel-related resource I've ever seen in my life. Keep up!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Wow! Thanks so much for your kind words. Please share it with your friends and co-workers.
@Lone_Wolf_2000
@Lone_Wolf_2000 2 ай бұрын
Words cannot BEGIN to describe how grateful I am for this! 😍😍🙏🙏
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 ай бұрын
So glad I could help!
@josephdelvecchio235
@josephdelvecchio235 Жыл бұрын
Thank you. Yours is the only video I was able to find that explained the need to apply transformations to the sample file to cause them to be applied to all files in the specified folder before combining the data. My issue is that my weekly CSV source data is formatted is such a way that there are data in multiple discontiguous tables arranged vertically throughout the file which need to be collected and then combined into one table. The only way I've been able to accomplish this is creating multiple duplicates of the original sample file, each of which take different data from different areas of the source file. I use the original sample file to get the first set of necessary data, the first duplicate to get the next set, and so forth. The resulting data sets from each query do not have matching columns but do need to be put together to create a complete table. So I insert an index column in each query's data set and then merge them using the original sample file. However, the final query table only shows the first set of data from the original sample file for each respective source file. All other data for each of the duplicate sample files is just repeated down the column for every respective source file. I imagine this has something to do with the fact that only the original sample file is respected in this manner, but I don't know if/how I can fix this or if I'm taking the wrong approach to this altogether. Any help would be appreciated.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Any transformation steps applied in the sample query are applied to ALL files before appending them. However, if your sample file has different column names to the other files, then the other files may not receive all transformations because Power Query will be looking for column names that don't exist in those files. If you have different column names, you might find this tutorial helpful: www.myonlinetraininghub.com/combine-files-with-different-column-names-in-power-query
@davidm2419
@davidm2419 4 ай бұрын
This is very good explained and important. In the real world you almost NEVER get clean data, no matter the source. Transforming the sample file is such an important step. I had to learn it the hard way.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 4 ай бұрын
Thank you! Glad it was helpful.
@ersofrescht4661
@ersofrescht4661 8 ай бұрын
Thanks! This was useful. Your tip on naming the sheets exactly the same helped me resolve the error "[Expression.Error] The key didn't match any rows in the table." I kept getting in loading excel files.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Glad it helped! 😊
@joncue0304
@joncue0304 6 ай бұрын
I have always used databases instead of spreadsheets. Unfortunately I don't have access to a database server, so I have to keep it on my local machine, which does no one but me any good. I'm looking into putting some of the data I have into Excel instead (even though I personally consider this going backwards) so that other people have access to the dashboard and so the files are properly backed up. I greatly appreciate your videos, they are really helpful. I am very fortunate in that queries already make sense to me since I use them all the time in the applications I've created using a database, but I have found that there are actually some things that Excel handles better. I was surprised, shocked actually, at just how functional Excel can be. It can come close to the abilities of a real database. Thank you for your videos, they are appreciated.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 6 ай бұрын
Awesome to hear! I guess you could always use Access if you really wanted/needed a database. You can then connect to Access via Power Query to get the data into Excel for your reports.
@joncue0304
@joncue0304 6 ай бұрын
@@MyOnlineTrainingHub Have done that some, I'll probably start doing it again.
@azmatmalikLTU
@azmatmalikLTU 10 ай бұрын
The best thing i notice besides the video is that you responded each and every comment. ❤
@MyOnlineTrainingHub
@MyOnlineTrainingHub 10 ай бұрын
Always! 😊Thanks for watching.
@elizabethantony9236
@elizabethantony9236 Ай бұрын
Excellent and to the point. thank you!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Ай бұрын
Thanks for watching!
@saumilparadkar8636
@saumilparadkar8636 Жыл бұрын
I use PQ at my workplace and end up doing many things manually... This video was extremely insightful... Thanks Mynda
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Great to hear!
@Fxingenieria
@Fxingenieria 5 ай бұрын
Excelent video, can we get the files to practice? I didn't found them in the article. Thanks.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
It's there now: www.myonlinetraininghub.com/power-query-get-files-from-a-folder
@reginaldarbruthnot1766
@reginaldarbruthnot1766 8 ай бұрын
absolutely outstanding video - superbly presented - detailed yet simple and clear and easy to follow - outstanding! Thank you so much.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Glad it was helpful! 🙏😊
@reginaldarbruthnot1766
@reginaldarbruthnot1766 8 ай бұрын
Outstanding - solved a real problem I was facing in terms of pulling data into excel and added immense value to me - cannot thank enough!@@MyOnlineTrainingHub
@peterburke5720
@peterburke5720 Жыл бұрын
A great video... would be good if you could add the step to externalise the folder location.. ie have the location in a worksheet cell rather than coded within the power query.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thanks! I cover that in my Power Query course: www.myonlinetraininghub.com/excel-power-query-course
@IvanCortinas_ES
@IvanCortinas_ES Жыл бұрын
Great video Mynda. As always a clear explanation!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thank you!
@KathleenChartier
@KathleenChartier 8 ай бұрын
Another great video on how to make use of the great functionality in Excel!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Glad it was helpful!
@yuhooh
@yuhooh Жыл бұрын
Great for share me the tips , edit Transform sample files query if we want to clean and transform before combine.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Awesome to hear!
@notesfromleisa-land
@notesfromleisa-land Жыл бұрын
Great video. I would add that you can combine pdfs as well from folder. I did this for point of sale reports in order to automate a journal entry go uploading. Dropped all weekly sales for each store into a discrete weekly folder. Grabbed the data from the folder. Repoint each week to current weekly folder. Power query has allowed me to save my clients time and money while improving accuracy.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Nice!
@talkinghat88
@talkinghat88 Жыл бұрын
The transpose trick is very useful to say the least. Thank you!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad it was helpful!
@amanzurusaviour6021
@amanzurusaviour6021 10 ай бұрын
Awesome, your are the best teacher and I can't wait to enrolled for your paid sessions.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 10 ай бұрын
Awesome, thank you! I look forward to teaching you more of the amazing things Power Query can do 😊
@k0023382
@k0023382 Жыл бұрын
Thanks for this, very helpful. To add a new scenario to the mix, each workbook containes 12 tabs (one each month) and there are 4 years (ie 4 workbooks), the end result, the same, one big table with everything on it. How do you go about this? Thanks in advance.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Here is a tutorial on getting multiple files containing multiple sheets with Power Query: www.myonlinetraininghub.com/import-multiple-files-containing-multiple-sheets-with-power-query
@ITSzkolenia
@ITSzkolenia Жыл бұрын
Great stuff. It would be great if you could also show how to manage data from folders which are availiable through sharepoint. There might be some authorization errors occurring.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
This video covers getting data from SharePoint: kzbin.info/www/bejne/qJS8g5apec-Dg6s
@computerdaddymultimedia281
@computerdaddymultimedia281 6 ай бұрын
Love your teaching style. When you are merging sources to update main sheet, is there a way to prevent "incoming" duplicates rows from overwriting what I already have? My goal is to be able to update an excel sheet with sources of data that sometimes have additional headers or not in the same order.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 6 ай бұрын
It’s not ideal to modify the table output of a query for this reason. It would depend on what you’re changing as to the best approach. You’re welcome to post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@Mahesh717
@Mahesh717 8 ай бұрын
What in case if we have different no of columns & data in different files !
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Ideally the files should have the same structure. However, as long as the first file/sample file has all possible columns, it will work.
@Lyle-In-NO
@Lyle-In-NO 11 ай бұрын
Absolutely awesome! Thank you for sharing this.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 11 ай бұрын
Our pleasure!
@TVSCDN
@TVSCDN Жыл бұрын
Thanks a lot Madam 🎉🎉🎉...could you also do an example of combine or merge pdf bank statements??? please... thanks 😊
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad it was helpful. Every bank statement is different. If they're in CSV format, you can use these techniques. If they're in PDF format, check out this video: kzbin.info/www/bejne/jpzIqGV9p72ob8U
@GaryMillerUK
@GaryMillerUK 2 ай бұрын
Very useful video, thanks. But, I need to import from files in different subfolders (one spreadsheet in each), and when I do this, I don't get the Source.Name option. Is there a way I can get the filenames in the resultant data table, so I know which rows came from which file?
@NicolasBORDE
@NicolasBORDE Жыл бұрын
I had no idea we can make transformations on the sample file.... Will check the improveness on load time on a huge report.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Hope it helps.
@mdukaruppu
@mdukaruppu 7 ай бұрын
Thanks for your input. I have pasted close to 400 lst files in a folder and used the power query. The power query is only showing the file name and not the data into it. However If I extract one indvidual file. I am able extract.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
Not sure what a lst file is, but you're welcome to post your question on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@Beemerbmr
@Beemerbmr 2 ай бұрын
Thank you for this awesome video. If I wanted to add columns in the middle of the data set for each of the source files, how would I reflect this update in the query?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 ай бұрын
You can add the columns and then rearrange them to the middle as required.
@Beemerbmr
@Beemerbmr 2 ай бұрын
@@MyOnlineTrainingHub when I refresh the data source, the new columns aren’t available to be added though
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 ай бұрын
Hard to say without seeing your query and understanding the data source. You're welcome to post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@ksperder4035
@ksperder4035 9 ай бұрын
Thank you very much for this content. I wonder if there is some kind of limit in how many files can Power BI can fetch and consolidate from a folder. I may have a scenario where the client uploads like 40 different files a day to be used in a report.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 9 ай бұрын
I'm not aware of a specific limit, but you might find the queries become very slow.
@ksperder4035
@ksperder4035 9 ай бұрын
@@MyOnlineTrainingHub Thanks! Happy new Year!
@aikimark1955
@aikimark1955 Жыл бұрын
This might be an example I use when promoting ETLT in the "ETL vs ELT" debate. Thanks
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
😊ETLT! Yes.
@brunomelki4512
@brunomelki4512 Жыл бұрын
Your new look is a winning one and the content as usual outstanding!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thanks so much 😊
@enrique7estrada
@enrique7estrada 7 ай бұрын
Great info thanks for sharing! What if I have a new file being added to the folder but each new file includes the older info? is there a way to just add the new information? without having to manually remove the older file from the folder? Otherwise, my data keeps accumulating
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
You could add a filter in the query to ignore data today's date minus n days old.
@enrique7estrada
@enrique7estrada 7 ай бұрын
@@MyOnlineTrainingHub Thanks so much for the suggestion! Any resource where I can see an example?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
No, but if you get stuck you can post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@enrique7estrada
@enrique7estrada 7 ай бұрын
@@MyOnlineTrainingHub I tried signing up but i'm getting an error saying my username is not registered
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
Sounds like you tried to login, because upon signing up you choose your own username. Please try again, and reach out via email if you still have trouble: website at MyOnlineTrainingHub.com
@traciesmobile683
@traciesmobile683 Жыл бұрын
Power query is game changing I use it for document control and working out what is held on relevant company systems so it can actually be found. I do like how if data is not in a table in the source due to being in a form with merged cells, you can run a few queries with results next to each other which create a bigger table that all works together.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
So pleased to hear you're making use of Power Query 😊
@shoppersdream
@shoppersdream 8 ай бұрын
Very Nice, thanks! On MacBook Pro, I don't get the option to choose "From Folder". Thanks
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Thank you! Power Query on Mac is still under development.
@shoppersdream
@shoppersdream 8 ай бұрын
@@MyOnlineTrainingHub Thank You!
@chrism9037
@chrism9037 Жыл бұрын
Another great video, thanks Mynda!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Cheers, Chris 🙏
@kapil4757
@kapil4757 7 ай бұрын
Very informative and practical. Kudos to you. Would you mind sharing the data files, thanks in advance.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
The file download link is in the video description 😉
@kapil4757
@kapil4757 7 ай бұрын
I am afraid,but file download link is not there in the description. Please have a look again, thanks
@ericnovotny7381
@ericnovotny7381 5 ай бұрын
Great video! What if the datasheets within the folder are cumulative rather than containing exclusive data? In other words, the datasheets in the folder each have the same data but the newest one has added the latest rows. Is there a different process for this?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
In that case, I would only get that one file, rather than all of them. You can simplify the process and use the Get data > From Excel File connector.
@arifakanwal6928
@arifakanwal6928 Жыл бұрын
Dear Mynda, Thank you for all the great work..I have been following you on LinkedIn as well But I am in trouble..I want to develop a Training and Development Dashboard without Power BI etc..how can I? I am unable to find something easy and relevant
@arifakanwal6928
@arifakanwal6928 Жыл бұрын
Even I face problem in updating a dashboard over and over again with Pivot tables
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
I don't have an example of a training and development dashboard, however in my Excel Dashboard course (www.myonlinetraininghub.com/excel-dashboard-course) I teach you the skills to enable you to build any dashboard. In terms of PivotTables updating, as long as they share the same source data/query data, when you refresh all (via the data tab) they will all update.
@jorgelara3116
@jorgelara3116 Жыл бұрын
Thanks for this video !! Help me a lot .
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad to hear that!
@rezaamini8580
@rezaamini8580 Ай бұрын
Hi and thanks for your useful video. after transformation I've got the error "The column '....' of the table wasn't found. and I don't know how to fix it?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Ай бұрын
That means in one of the steps it's looking for a column in your table with a specific name. You need to either remove the action that references the name, or edit your source file to rename the column that's incorrectly named.
@raghwendrapandey6664
@raghwendrapandey6664 Жыл бұрын
It's really useful !
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad to hear that!
@cathrach9576
@cathrach9576 2 ай бұрын
In PowerBI, when combining from a Folder, is there a way to work with different tables stored in different sheets in an Excel Workbook. I seem to be able to do so when I load one Workbook, but I don't see the tables when I combine from the Folder. Thank you!
@al3xj
@al3xj 8 ай бұрын
First question - how to get bank files sent from the bank periodically!? That would be so good as in Australia this data is never consistent from banks, but this is great Mynda thanks solves my need to collate all csv's in 1 automated place!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
You’d have to ask your bank how you can get the data in a csv file.
@RamKumar-vb4et
@RamKumar-vb4et Жыл бұрын
Excellent video. A basic question: What could be examples of transformations before the files are combined as opposed to after the files are combined? I am not clear about this difference. Thanks much.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thanks! I give an example in the video of transformations that need to be done in the sample file.
@marjoriefrancis4560
@marjoriefrancis4560 Жыл бұрын
Thank you Mynda! I've made a few of those mistakes and this comes in handy for me. I really appreciate you.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad it was helpful 🙏
@kwanhangcheung691
@kwanhangcheung691 Жыл бұрын
Thx a lot. This is indeed a very video n explaination how its work.😊
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it 🙏
@damorgman
@damorgman 5 ай бұрын
Very nice! If they decide to add a new column to source system and all my new CSVs have a new column I want to include, do I just set that in the sample file? For some reason, just dropping them in, the new column wasn't identified. Hopefully there's another video you can point me too. :)
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Go to the 'Transform Sample' query and edit the Source step in the formula bar, removing the argument for 'Columns =n,". Removing the hard keyed number of columns will allow the query to get all columns. Also, make sure the file with the new/extra columns is the sample file.
@damorgman
@damorgman 5 ай бұрын
@@MyOnlineTrainingHub Your better than chatGPT!
@mogarrett3045
@mogarrett3045 Жыл бұрын
always love your tutorials....excellent
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thanks so much!
@carolynneccles823
@carolynneccles823 8 ай бұрын
Great tutorial. If I am using this to combine bank transaction files, is there a way to clean up the description column? The description includeds receipt numbers, dates and purchase type that aren't required and make the column too wide. I am currently using Text to Columns and delimiter it using the dash -, then I delete the additional columns
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Thank you! Yes, you can use Power Query to split the text by delimiters and delete the columns, that way you only need to set this up once and then Power Query will apply it upon refresh to each new file you add to the folder.
@shaunhoward3977
@shaunhoward3977 7 ай бұрын
Hi, I run Excel from Mac and it does not show the from Folder option. Is there a work around for Mac users? Thank you.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
Not really. The workaround for Mac users is to install Parallels and then install Excel for Windows.
@et1733
@et1733 Жыл бұрын
Hi Mynda, thanks for sharing. My question is : If there's a change in the raw data columns, like additional column in between the existing column or additional columns added after the existing column, how to make the PQ continue to work?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
You can edit the query to allow for the new columns. If it's an ongoing thing, then it's more complicated to automate this and not something I can cover in the comments here, sorry.
@pedja2518
@pedja2518 3 күн бұрын
Great content!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 күн бұрын
Thank you! 😊
@jacka2210
@jacka2210 5 ай бұрын
Hi Mynda, Very helpful video. Is it possible to do this if not all files are the same template? For example, I have an additional column of data in some sheets but not all sheets I am trying to run a query on. Thanks!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Yes. Make sure the file you choose as the sample contains all possible columns.
@jacka2210
@jacka2210 5 ай бұрын
⁠@@MyOnlineTrainingHub I suppose I phrased that incorrectly. I actually have an extra row in some tables in some sheets, but not all of them. Even when modifying the sample, I cannot get it to work with those sheets that do not have that additional row of data. Thank you so much for your prompt response
@gabz1989a
@gabz1989a Жыл бұрын
what happens if your excels are invoices and the data is in not a pretty pivot table spreadsheet but the information is in different columns and rows? how do you get it to pull the data in specific cells and label them with a name, is that possible?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Yes, it'll be possible. Please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@PeterB96
@PeterB96 10 ай бұрын
Hi, can I do this, but each file has its own worksheet instead of combing all of the data on one worksheet?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 10 ай бұрын
You have to create a separate query for each sheet you want as an output. There's no automated way to create separate queries.
@minetoobin9762
@minetoobin9762 3 ай бұрын
Love this but on a mac. can't find "folder" option to select data. ugh. also no combine option probably only because it allows me to select one worksheet at a time.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 ай бұрын
Yeah, unfortunately the Mac version doesn’t have the full functionality.
@ClaudeBalleux
@ClaudeBalleux Жыл бұрын
Very good one. Thank you.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it 🙏
@Secure-pb6dn
@Secure-pb6dn 6 ай бұрын
I am wondering if I am missing something. It only imports the first 255 rows of each file. Files with less than 255 rows, it pads with blanks lines to make up 255. How would I make it import every row and not add blank rows to make up 255 rows per file?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 6 ай бұрын
Power Query imports all data, but in the Power Query editor you only see a preview of the data so that the editor can remain agile as you perform transformations. Once you 'close & load' it will get all data from the source files according to the cleaning steps you perform i.e. if you filter out data in the query, then you won't get that data when you close & load.
@Secure-pb6dn
@Secure-pb6dn 6 ай бұрын
@@MyOnlineTrainingHub Thanks for responding. The issue appears to be with the xls files. I only get the behavior when I import them directly, but when I open, save and immediate close the files then whatever glitch they had is fixed and they import fine. I am now wondering if there is a workaround other than having to resave them, but this forum is probably not the place to work out issues like that.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 6 ай бұрын
It's best to convert the files to .xlsx
@Secure-pb6dn
@Secure-pb6dn 5 ай бұрын
@@MyOnlineTrainingHub Thanks. I will see about doing that.
@kleinboertjie
@kleinboertjie Жыл бұрын
Thanks, that will definitely help
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Great to hear!
@sachinpatel2583
@sachinpatel2583 6 ай бұрын
Hi, I have transformed the data in transform file and now it is not getting refresh in main query. I have also checked the function sample query and it is linked to transform sample file. I have also observed that whenver I am updating steps in transform sample file, steps are not getting reflected file in function file.
@Arachagel
@Arachagel Жыл бұрын
could the power query combine the protected password workbooks?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
No. It can't get data from password protected workbooks.
@alfredtomiamubiaya3330
@alfredtomiamubiaya3330 Жыл бұрын
Many thanks,this is awesome.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it!
@Bondoz007
@Bondoz007 8 ай бұрын
I'm hoping this works for SharePoint folders too?
@lemlemwoldemariam8180
@lemlemwoldemariam8180 Жыл бұрын
Hi Mynda, I have added a new data to my folder and refreshed my power query in excel 365, but it isn't updating the new record. under "Applied steps" double clicked source & I can see its added to the source. But it isn't getting added to the final output of the power query table. Appreciate your feedback on this? I don't understand why refreshing isn't working. Thank you!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Please post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@NevergiveupOnelife
@NevergiveupOnelife Ай бұрын
hi, I am trying to combine 100 workbooks, but some of the files the concerned sheet is not available, so i m hitting the wall again and again. please help
@ledow119
@ledow119 6 ай бұрын
You're a Master!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 6 ай бұрын
Thanks so much!
@googlegoogle-gg3dp
@googlegoogle-gg3dp Жыл бұрын
I have 1 m record on which I want to apply group by to get max value of each category and then same value should reflect against each category in separate custom column.....I tried it but it will take almost 2 hours and eventually system hanged....any suggestions pls
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Maybe load it to the data model and then do the grouping in a PivotTable instead.
@googlegoogle-gg3dp
@googlegoogle-gg3dp Жыл бұрын
@@MyOnlineTrainingHub...thanks and i will try and update you ....but is their any solution in power query
@rameshpathyb4996
@rameshpathyb4996 2 күн бұрын
Is that all the files name should be same for this , because I tired with one it correctly loaded when i try to get new file the error showing the file name is not found
@MyOnlineTrainingHub
@MyOnlineTrainingHub Күн бұрын
No, the file names can't be the same. The table/sheet names in each file must be the same.
@teoxengineer
@teoxengineer Жыл бұрын
Mynda, if we have different header names and we have to combine all files with different headers? What will we do?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Great question. See this video: kzbin.info/www/bejne/qqGukKuhocd3nJI
@kgadeberg
@kgadeberg Жыл бұрын
I am right that this can only be done with local folders? i.e. not folders on SharePoint? I struggle with this, since the spreadsheet can then only be used by the person who created it. Or, as we do, you need to modify the 'Source'-step in all the queries. Any thoughts on this?
@kgadeberg
@kgadeberg Жыл бұрын
Oh and btw: Great video as always 🙂
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Here is a tutorial on how to get files from a SharePoint folder: www.myonlinetraininghub.com/get-data-from-onedrive-or-sharepoint-with-power-query#folder
@sergegagne874
@sergegagne874 Жыл бұрын
Just missing a super cape! :) Awesome as always!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
😁 thanks so much!
@agelee89
@agelee89 2 ай бұрын
When importing files from a folder, if we don't select "Expand the attribute column", then we totally loose those "attribute" data? The same for content, do we need to delete the "Content" column in PowerQuery if we don't want to see content of files? Or this is automatically removed when saving the steps and not selecting "Combine the Content" column?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 ай бұрын
If you want data from the Attribute column, then you need to expand this before expanding the Content column. That said, if you choose 'Combine & Transform', you don't get either of these steps because Power Query automatically expands the Content column for you.
@tarek.grisha
@tarek.grisha 8 ай бұрын
Thank you. I love you.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Glad my video was helpful.
@learnitinstructor5792
@learnitinstructor5792 8 ай бұрын
Excellent!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Thank you!
@TheThatmatt254
@TheThatmatt254 9 ай бұрын
I have two files types in my folder and there is one common column that does not have the same name in both file types. How can I force alignment of the varied column headings? Sample file has "Receiving Country ", while the other type has "Receiving Country ​​"
@MyOnlineTrainingHub
@MyOnlineTrainingHub 9 ай бұрын
You have to rename the column before the append of the tables.
@brkc3153
@brkc3153 4 ай бұрын
what if seeing “ “ symbols with numbers when load the dada. How to get ride of them?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 4 ай бұрын
Do a 'Replace' in Power Query that replaces " with nothing.
@dispirted8
@dispirted8 Жыл бұрын
I like this video. I have edited the sample file query before, and it is good to see it demonstrated. All that stuff that is generated on the left-hand Queries pane in PQ looks daunting. It is always good to know I can ignore most of it! Thinking about the section of the video at 7:37, if a transformation can be done before or after files are combined, my instinct is to put it after. I doubt it makes a noticeable performance difference, if any at all. But it seems like I am being helpful to PQ 😊, by making it do the transformation only once, rather doing it for each file in turn.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad it was helpful. Good point about the efficiency of performing transformations in the final query vs the sample file. I haven't got a dataset big enough to test it on to see if it has an impact. It would be unnoticeable on small datasets.
@txreal2
@txreal2 Жыл бұрын
My Query with appended csv files from a folder have multiple rows of same column names (one from each file) What's the best way to keep only one row? Thanks. Subscriber :)
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
In the sample file query you can promote the first row as the header row. This will repeat the process for every file in the folder so they do not appear throughout the dataset once combined. You see this in the video.
@txreal2
@txreal2 Жыл бұрын
@@MyOnlineTrainingHub Thanks!
@Mr97Frog
@Mr97Frog Жыл бұрын
Does this method works for 3 different data sources in a single folder?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Yes, assuming those data sources are the same structure. It wouldn't make sense to append files that contain different types of data.
@ramviru6112
@ramviru6112 2 ай бұрын
Can we use the same method to combine multiple JSON files from a folders? Pls let me know. Thanks in advance
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 ай бұрын
Hmm, I haven't tried JSON files from a folder, so I'm not sure. It'll only take a few minutes to try it yourself and find out though.
@ramviru6112
@ramviru6112 2 ай бұрын
@@MyOnlineTrainingHub Thank you very much. I tried in the same method and it worked out perfectly. Incase if the columns are not matching in some files within that folder then should we edit those manually?
@sangeetsom82
@sangeetsom82 4 ай бұрын
Wonderful !
@MyOnlineTrainingHub
@MyOnlineTrainingHub 4 ай бұрын
Glad you like it! 🙏
@ahmadalhaddad3081
@ahmadalhaddad3081 5 ай бұрын
thanks a lot !!!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
You're welcome!
@renielmulingbayan9989
@renielmulingbayan9989 Ай бұрын
Hi! i tried doing this, howevery, I encountered a problem. once i expand the table, some rows have values missing for some of the expanded columns. It seems it detects duplicate rows and automatically removes the data in it.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Ай бұрын
The Power Query Editor window only displays a subset of the data. It's only when you 'Close & Load' that you get the complete dataset, so check that before assuming it's missing data. It won't automatically remove duplicates. You'd have to apply that as a step.
@renielmulingbayan9989
@renielmulingbayan9989 Ай бұрын
@@MyOnlineTrainingHub I already loaded it and the table still has values missing. It looks like the error occurs once I expand the tables. I can send you the files I have been working on to check it. Thank you.
@fashihahahmad2346
@fashihahahmad2346 Жыл бұрын
What happen if we combine live data? Example, we want to capture the student's height in 4 clases. Notice that there's new student register during the day which in class 1. Can the teacher update/add new line for the new student? And can the master data capture the new line item?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Yep. Just add the data to the source file and save it. Then refresh the query to pick it up.
@waleedbinmajid5718
@waleedbinmajid5718 5 ай бұрын
DataFormat.Error: The input couldn't be recognized as a valid Excel document. Details: Binary I get this error everytime I try to do it
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Hard to say without further information. Please post your question on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum Be sure to include information like what file type you're connecting to, where the files were generated e.g. 3rd party system etc. Some 3rd party systems do not correctly create Excel files despite them having a .xlsx file extension.
@wizdeasis9846
@wizdeasis9846 Жыл бұрын
Thank you so much for this tips! SHould the number of rows too the same in all files? Or just the columns? Also, after uploading a new file on the same folder, and clicking all refresh button, the new data from the new file won't show. What could be the problem? Appreciate your response Mam. :)
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Just the columns.
@wizdeasis9846
@wizdeasis9846 Жыл бұрын
Thank you! Also, after uploading a new file on the same folder, and clicking all refresh button, the new data from the new file won't show. What could be the problem? Appreciate your response Mam. :) @@MyOnlineTrainingHub
@priyeshsanghvi8424
@priyeshsanghvi8424 Жыл бұрын
Please check the filtering in the first step.....maybe you have filtered out some file and the new file is also filtered out later in that step 🤔
@wizdeasis9846
@wizdeasis9846 Жыл бұрын
thank you SIR! @@priyeshsanghvi8424
@shubhabratadey
@shubhabratadey 11 ай бұрын
Very useful video
@MyOnlineTrainingHub
@MyOnlineTrainingHub 11 ай бұрын
Glad you think so!
@nadermounir8228
@nadermounir8228 Жыл бұрын
Thank u for this nice Video 📹
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it 🙏
@mohammeddapwan6226
@mohammeddapwan6226 12 күн бұрын
thanks alot
@MyOnlineTrainingHub
@MyOnlineTrainingHub 12 күн бұрын
Happy to help 😊
@kiasca3489
@kiasca3489 4 ай бұрын
I don't understand, is there a benefit in performance if I made the changes in the Transform file?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 4 ай бұрын
If you try to unpivot after you've appended all the files you'll end up with a mess. Try it with the sample files for this video (link in description) and you'll see the problem.
@kiasca3489
@kiasca3489 4 ай бұрын
@@MyOnlineTrainingHub thanks, I always learn something new with your videos, I asked because a work around I do is just filter data "does not equal to" and removed those headers but good to know there's other option error free and I had no idea I could edit transform file🙂
@JonathanExcels
@JonathanExcels Жыл бұрын
Good tip!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Cheers 🙏
7 Advanced PivotTable Techniques That Feel Like Cheating
16:07
MyOnlineTrainingHub
Рет қаралды 37 М.
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
Electric Flying Bird with Hanging Wire Automatic for Ceiling Parrot
00:15
Please Help This Poor Boy 🙏
00:40
Alan Chikin Chow
Рет қаралды 9 МЛН
5 Excel Tools Most Users Never Think to Use (Files Included)
12:34
MyOnlineTrainingHub
Рет қаралды 218 М.
How to easily automate boring Excel tasks with Power Query!
17:10
MyOnlineTrainingHub
Рет қаралды 1,5 МЛН
AUTOMATE Data Cleaning with Excel Power Query
6:09
Data with Dylan
Рет қаралды 1,1 М.
13 - Combine All the Excel Files in a folder Using Power Query
10:31
10 Power Query tips EVERY user should know! | Excel Off The Grid
7:27
Excel Off The Grid
Рет қаралды 15 М.
Say Goodbye to IF Statements in Excel with SWITCH
7:45
Teacher's Tech
Рет қаралды 529 М.
The Excel Trick I Use EVERY DAY (and you should too!)
11:21
MyOnlineTrainingHub
Рет қаралды 136 М.