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

  Рет қаралды 130,724

MyOnlineTrainingHub

MyOnlineTrainingHub

Күн бұрын

Most people combine files from a folder with Power Query all wrong. In this video I show you why it’s wrong and the way you should be doing it.
When Power Query combines files in a folder it automatically creates a bunch of queries for you. There are two queries that are important, the sample file query and the final query.
Most people use the wrong query to make their transformations and wonder why they’re struggling.
Check out the video to see examples of when and why you should use the sample file query vs the final query.
📑FILE DOWNLAD & STEP BY STEP written instructions here: www.myonlinetraininghub.com/p...
🎓 LEARN MORE in my Excel courses: www.myonlinetraininghub.com/
🔔 SUBSCRIBE if you’d like more tips and tutorials like this.
📢 Please leave me a COMMENT. I read them all!
🎯 CONNECT with me on LinkedIn: / myndatreacy
🎁 SHARE this video and spread the Excel love.
Or if you’re short of time, please click the 👍
💬 EXCEL QUESTIONS: Get help on our Excel Forum: www.myonlinetraininghub.com/e...
⏲ TIMESTAMPS
0:00 How to Combine Multiple Excel Files From a Folder
0:20 The Data & Where to Save it
1:08 Getting the Data From a Folder
3:01 The Important Queries
3:57 When to use the Sample Query
7:36 The Important Stuff
7:53 Loading the Data
8:51 Getting New Data

Пікірлер: 248
@StephenZipprich
@StephenZipprich 11 ай бұрын
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 11 ай бұрын
Yes, great idea. 👍
@shivankurchahar7368
@shivankurchahar7368 3 ай бұрын
Where do i get this option? I am not able to find Queries & Properties option. Can you please elaborate?
@thatJustinUknow
@thatJustinUknow 9 ай бұрын
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 9 ай бұрын
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!
@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.
@emmanuelle8032
@emmanuelle8032 4 ай бұрын
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 3 ай бұрын
Wow! That's awesome to hear 👏
@nazarkamal8831
@nazarkamal8831 6 ай бұрын
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 6 ай бұрын
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!
@IvanCortinas_ES
@IvanCortinas_ES 11 ай бұрын
Great video Mynda. As always a clear explanation!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 11 ай бұрын
Thank you!
@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.
@KathleenChartier
@KathleenChartier 5 ай бұрын
Another great video on how to make use of the great functionality in Excel!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Glad it was helpful!
@AchmadHilmanS
@AchmadHilmanS 13 күн бұрын
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 13 күн бұрын
Thank you so much! 🥰 I'm so pleased I can help. Keep learning and practicing 💪
@ersofrescht4661
@ersofrescht4661 5 ай бұрын
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 5 ай бұрын
Glad it helped! 😊
@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
@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 🙏
@reginaldarbruthnot1766
@reginaldarbruthnot1766 5 ай бұрын
absolutely outstanding video - superbly presented - detailed yet simple and clear and easy to follow - outstanding! Thank you so much.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Glad it was helpful! 🙏😊
@reginaldarbruthnot1766
@reginaldarbruthnot1766 5 ай бұрын
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
@yuhooh
@yuhooh 9 ай бұрын
Great for share me the tips , edit Transform sample files query if we want to clean and transform before combine.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 9 ай бұрын
Awesome to hear!
@notesfromleisa-land
@notesfromleisa-land 11 ай бұрын
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 11 ай бұрын
Nice!
@azmatmalikLTU
@azmatmalikLTU 7 ай бұрын
The best thing i notice besides the video is that you responded each and every comment. ❤
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
Always! 😊Thanks for watching.
@davidm2419
@davidm2419 Ай бұрын
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 Ай бұрын
Thank you! Glad it was helpful.
@Lyle-In-NO
@Lyle-In-NO 8 ай бұрын
Absolutely awesome! Thank you for sharing this.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Our pleasure!
@chrism9037
@chrism9037 Жыл бұрын
Another great video, thanks Mynda!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Cheers, Chris 🙏
@talkinghat88
@talkinghat88 Жыл бұрын
The transpose trick is very useful to say the least. Thank you!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad it was helpful!
@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!
@amanzurusaviour6021
@amanzurusaviour6021 7 ай бұрын
Awesome, your are the best teacher and I can't wait to enrolled for your paid sessions.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
Awesome, thank you! I look forward to teaching you more of the amazing things Power Query can do 😊
@user-hh8oi1dx7v
@user-hh8oi1dx7v Жыл бұрын
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
@brunomelki4512
@brunomelki4512 Жыл бұрын
Your new look is a winning one and the content as usual outstanding!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thanks so much 😊
@joncue0304
@joncue0304 3 ай бұрын
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 3 ай бұрын
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 3 ай бұрын
@@MyOnlineTrainingHub Have done that some, I'll probably start doing it again.
@mogarrett3045
@mogarrett3045 Жыл бұрын
always love your tutorials....excellent
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thanks so much!
@jorgelara3116
@jorgelara3116 11 ай бұрын
Thanks for this video !! Help me a lot .
@MyOnlineTrainingHub
@MyOnlineTrainingHub 11 ай бұрын
Glad to hear that!
@kwanhangcheung691
@kwanhangcheung691 Жыл бұрын
Thx a lot. This is indeed a very video n explaination how its work.😊
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it 🙏
@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
@raghwendrapandey6664
@raghwendrapandey6664 9 ай бұрын
It's really useful !
@MyOnlineTrainingHub
@MyOnlineTrainingHub 9 ай бұрын
Glad to hear that!
@aikimark1955
@aikimark1955 Жыл бұрын
This might be an example I use when promoting ETLT in the "ETL vs ELT" debate. Thanks
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
😊ETLT! Yes.
@ClaudeBalleux
@ClaudeBalleux Жыл бұрын
Very good one. Thank you.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it 🙏
@kleinboertjie
@kleinboertjie Жыл бұрын
Thanks, that will definitely help
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Great to hear!
@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.
@alfredtomiamubiaya3330
@alfredtomiamubiaya3330 Жыл бұрын
Many thanks,this is awesome.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it!
@sergegagne874
@sergegagne874 Жыл бұрын
Just missing a super cape! :) Awesome as always!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
😁 thanks so much!
@ledow119
@ledow119 3 ай бұрын
You're a Master!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 3 ай бұрын
Thanks so much!
@Fxingenieria
@Fxingenieria 2 ай бұрын
Excelent video, can we get the files to practice? I didn't found them in the article. Thanks.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 ай бұрын
It's there now: www.myonlinetraininghub.com/power-query-get-files-from-a-folder
@traciesmobile683
@traciesmobile683 11 ай бұрын
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 11 ай бұрын
So pleased to hear you're making use of Power Query 😊
@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
@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 🙏
@computerdaddymultimedia281
@computerdaddymultimedia281 3 ай бұрын
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 3 ай бұрын
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
@kapil4757
@kapil4757 4 ай бұрын
Very informative and practical. Kudos to you. Would you mind sharing the data files, thanks in advance.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 4 ай бұрын
The file download link is in the video description 😉
@kapil4757
@kapil4757 4 ай бұрын
I am afraid,but file download link is not there in the description. Please have a look again, thanks
@nadermounir8228
@nadermounir8228 Жыл бұрын
Thank u for this nice Video 📹
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it 🙏
@stopthink9000
@stopthink9000 Жыл бұрын
Brilliant! Thx!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
My pleasure!
@omari9593
@omari9593 Жыл бұрын
I love your channel 💚💚
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thanks so much!
@aicx40
@aicx40 Жыл бұрын
Thanks for sharing.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
My pleasure 😊
@JonathanExcels
@JonathanExcels Жыл бұрын
Good tip!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Cheers 🙏
@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.
@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
@tarek.grisha
@tarek.grisha 5 ай бұрын
Thank you. I love you.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Glad my video was helpful.
@learnitinstructor5792
@learnitinstructor5792 5 ай бұрын
Excellent!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Thank you!
@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.
@shubhabratadey
@shubhabratadey 8 ай бұрын
Very useful video
@MyOnlineTrainingHub
@MyOnlineTrainingHub 8 ай бұрын
Glad you think so!
@mdukaruppu
@mdukaruppu 4 ай бұрын
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 4 ай бұрын
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
@sangeetsom82
@sangeetsom82 Ай бұрын
Wonderful !
@MyOnlineTrainingHub
@MyOnlineTrainingHub Ай бұрын
Glad you like it! 🙏
@al3xj
@al3xj 5 ай бұрын
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 5 ай бұрын
You’d have to ask your bank how you can get the data in a csv file.
@Mahesh717
@Mahesh717 5 ай бұрын
What in case if we have different no of columns & data in different files !
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Ideally the files should have the same structure. However, as long as the first file/sample file has all possible columns, it will work.
@ahmadalhaddad3081
@ahmadalhaddad3081 2 ай бұрын
thanks a lot !!!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub 2 ай бұрын
You're welcome!
@ksperder4035
@ksperder4035 6 ай бұрын
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 6 ай бұрын
I'm not aware of a specific limit, but you might find the queries become very slow.
@ksperder4035
@ksperder4035 6 ай бұрын
@@MyOnlineTrainingHub Thanks! Happy new Year!
@damorgman
@damorgman 2 ай бұрын
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 2 ай бұрын
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 2 ай бұрын
@@MyOnlineTrainingHub Your better than chatGPT!
@ericnovotny7381
@ericnovotny7381 2 ай бұрын
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 2 ай бұрын
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.
@andyhayes31
@andyhayes31 Ай бұрын
Hi Mynda, I found this video very helpful, and actually made me work differently. But I have discovered a problem. I am using your example but is there a way to pass the folder name and path in as a parameter? Any help would be appreciated as it is driving me mad.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Ай бұрын
Yes, you can have a dynamic folder path. I don't have a KZbin video on it but I cover it in my Power Query course: www.myonlinetraininghub.com/excel-power-query-course
@carolynneccles823
@carolynneccles823 5 ай бұрын
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 5 ай бұрын
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.
@jacka2210
@jacka2210 2 ай бұрын
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 2 ай бұрын
Yes. Make sure the file you choose as the sample contains all possible columns.
@jacka2210
@jacka2210 2 ай бұрын
⁠@@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
@HamdanYouTuber
@HamdanYouTuber Жыл бұрын
I learn a lot from your channel, thank you.
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Great to hear 🙏
@YOGENDERSINGH-gy9nq
@YOGENDERSINGH-gy9nq Ай бұрын
Thanks love you
@MyOnlineTrainingHub
@MyOnlineTrainingHub Ай бұрын
Welcome 😊
@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.
@enrique7estrada
@enrique7estrada 4 ай бұрын
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 4 ай бұрын
You could add a filter in the query to ignore data today's date minus n days old.
@enrique7estrada
@enrique7estrada 4 ай бұрын
@@MyOnlineTrainingHub Thanks so much for the suggestion! Any resource where I can see an example?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 4 ай бұрын
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 4 ай бұрын
@@MyOnlineTrainingHub I tried signing up but i'm getting an error saying my username is not registered
@MyOnlineTrainingHub
@MyOnlineTrainingHub 4 ай бұрын
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
@shoppersdream
@shoppersdream 5 ай бұрын
Very Nice, thanks! On MacBook Pro, I don't get the option to choose "From Folder". Thanks
@MyOnlineTrainingHub
@MyOnlineTrainingHub 5 ай бұрын
Thank you! Power Query on Mac is still under development.
@shoppersdream
@shoppersdream 5 ай бұрын
@@MyOnlineTrainingHub Thank You!
@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.
@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
@wizdeasis9846
@wizdeasis9846 9 ай бұрын
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 9 ай бұрын
Just the columns.
@wizdeasis9846
@wizdeasis9846 9 ай бұрын
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 9 ай бұрын
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 9 ай бұрын
thank you SIR! @@priyeshsanghvi8424
@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
@gabz1989a
@gabz1989a 9 ай бұрын
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 9 ай бұрын
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
@msajidaman
@msajidaman Жыл бұрын
Great!!!!!!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Thank you!
@mfaisal20
@mfaisal20 Жыл бұрын
When you press refresh the query will do all the previous years again as well, correct? is there a way only data from new source file copied to the data folder gets appended to the table created previously by power query?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Correct. In Excel there is no way to do an incremental refresh. Only Power BI has this feature.
@mfaisal20
@mfaisal20 Жыл бұрын
@@MyOnlineTrainingHub do you have already a video how this works in power BI?
@sachinpatel2583
@sachinpatel2583 3 ай бұрын
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.
@minetoobin9762
@minetoobin9762 24 күн бұрын
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 23 күн бұрын
Yeah, unfortunately the Mac version doesn’t have the full functionality.
@PremKumar-rf3mo
@PremKumar-rf3mo Жыл бұрын
Wowow... I'm wait
@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
@shaunhoward3977
@shaunhoward3977 4 ай бұрын
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 4 ай бұрын
Not really. The workaround for Mac users is to install Parallels and then install Excel for Windows.
@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!
@Bondoz007
@Bondoz007 6 ай бұрын
I'm hoping this works for SharePoint folders too?
@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.
@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.
@Arachagel
@Arachagel 10 ай бұрын
could the power query combine the protected password workbooks?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 10 ай бұрын
No. It can't get data from password protected workbooks.
@PeterB96
@PeterB96 7 ай бұрын
Hi, can I do this, but each file has its own worksheet instead of combing all of the data on one worksheet?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
You have to create a separate query for each sheet you want as an output. There's no automated way to create separate queries.
@googlegoogle-gg3dp
@googlegoogle-gg3dp 9 ай бұрын
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 9 ай бұрын
Maybe load it to the data model and then do the grouping in a PivotTable instead.
@googlegoogle-gg3dp
@googlegoogle-gg3dp 9 ай бұрын
@@MyOnlineTrainingHub...thanks and i will try and update you ....but is their any solution in power query
@nz2555
@nz2555 Жыл бұрын
How to make the number of files in the folder dynamic, so PQ always only grabs the most recent 5 files? I tried to sort the files by dates and keep top 5. But when I tested by adding the 6th file in the folder, the PQ loaded it. Thanks!
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
You probably need an index number that numbers the top 5 based on date. I don't have a tutorial I can point you to, but you're welcome post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@notesfromleisa-land
@notesfromleisa-land 11 ай бұрын
Gtk you have a forum
@brkc3153
@brkc3153 Ай бұрын
what if seeing “ “ symbols with numbers when load the dada. How to get ride of them?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Ай бұрын
Do a 'Replace' in Power Query that replaces " with nothing.
@TheThatmatt254
@TheThatmatt254 6 ай бұрын
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 6 ай бұрын
You have to rename the column before the append of the tables.
@derekeano
@derekeano 7 ай бұрын
I don't understand the interaction between the Sample query (which loads data one specific file) and the Combined query, which only loads names, file extensions, file paths, etc.??? I can't get my Excel to put the two together. :(
@MyOnlineTrainingHub
@MyOnlineTrainingHub 7 ай бұрын
The combined query should load all the data. If it's not, then maybe you still have a double arrow at the top of one of the columns (usually called Content) that you can expand to get the underlying data. If you're still stuck, please post your question on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@kiasca3489
@kiasca3489 Ай бұрын
I don't understand, is there a benefit in performance if I made the changes in the Transform file?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Ай бұрын
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 Ай бұрын
@@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🙂
@ramadanshaban1068
@ramadanshaban1068 Жыл бұрын
Bravooooooo
@MyOnlineTrainingHub
@MyOnlineTrainingHub Жыл бұрын
Glad you liked it 🙏
@eduardciobanu1380
@eduardciobanu1380 Ай бұрын
What if every week you put a new filen with different sheet name? How you can fix this issue?
@MyOnlineTrainingHub
@MyOnlineTrainingHub Ай бұрын
I don't have a video on that, but you're welcome to post your question on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum
@debSilbert
@debSilbert 10 ай бұрын
It seems that this doesn't work on Excel 365 on a Mac. I imagine because the file system is completely different?
@MyOnlineTrainingHub
@MyOnlineTrainingHub 10 ай бұрын
Yes, Power Query for Mac is still in development and doesn't have all the functionality we have on Windows yet.
@debSilbert
@debSilbert 8 ай бұрын
@@MyOnlineTrainingHub I need a way to combine multiple small files downloaded from Amazon Kindle Direct Publisher. They only provide monthly reports and I want to combine them all. How do you have a query append data rather than overwrte it when it loads?
@tejashri3155
@tejashri3155 13 күн бұрын
Hi I have a query on handling dynamic combining sharepoint excel files. So I have many files in a folder which gets refreshed on a month basis--File name and file count changes every month based on the data fetched from source. How can I define to always fetch all the files in the folder irrespective of file count or names? Kindly advice
@MyOnlineTrainingHub
@MyOnlineTrainingHub 13 күн бұрын
If you don't apply any filters on the folder contents it will always get all files in the folder.
@MyOnlineTrainingHub
@MyOnlineTrainingHub 13 күн бұрын
If you don't apply any filters on the folder, it will always get all files.
@tejashri3155
@tejashri3155 13 күн бұрын
@@MyOnlineTrainingHub Ahh thats great the, I didnt expect such a quick response, thanks much :)
@tejashri3155
@tejashri3155 12 күн бұрын
@@MyOnlineTrainingHub Hi, I have tried combining my files and ended up in an issue. All my excels not necessarily have the same sheets, Im trying to combine a sheet which is present in file 2, not in file 1. I have managed to edit my parameter and sample file query to refer to file 2 and now all good in transform sample file query. it now refers to my file 2 which contains the required step. However merge query failed in expand table step as the table column in file 1 is shown as error (due to missing sheet), while all other rows have tables.Can you please advice how to we handle this missing sheets while combining excels and merging them together..Please note that I have already fixed the sample file and everything is file except the Expanded table step.
How to easily automate boring Excel tasks with Power Query!
17:10
MyOnlineTrainingHub
Рет қаралды 1,5 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 9 МЛН
Универ. 13 лет спустя - ВСЕ СЕРИИ ПОДРЯД
9:07:11
Комедии 2023
Рет қаралды 6 МЛН
FOOLED THE GUARD🤢
00:54
INO
Рет қаралды 62 МЛН
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
5 HIDDEN Excel Tools Almost Nobody Is Talking About
9:00
MyOnlineTrainingHub
Рет қаралды 29 М.
How to Get List of File Names in a Folder using Excel
5:40
Excel Weez
Рет қаралды 6 М.
6 Excel Tools Most Users Never Think to Use (Files Included)
12:34
MyOnlineTrainingHub
Рет қаралды 84 М.
High-Income Excel Skills Worth Learning in 2024 (Free File)
29:19
MyOnlineTrainingHub
Рет қаралды 320 М.
Get Multiple Files Containing Multiple Sheets with Power Query
8:49
MyOnlineTrainingHub
Рет қаралды 404 М.
5 Excel Secrets You'll Be Embarrassed You Didn't Know
17:32
Excel Campus - Jon
Рет қаралды 80 М.
Get Data From SharePoint or OneDrive with Power Query - Demystified!
14:00
MyOnlineTrainingHub
Рет қаралды 191 М.
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
Хотела заскамить на Айфон!😱📱(@gertieinar)
0:21
Взрывная История
Рет қаралды 4,4 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 7 МЛН
#miniphone
0:16
Miniphone
Рет қаралды 3,6 МЛН
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 1,7 МЛН
Lid hologram 3d
0:32
LEDG
Рет қаралды 10 МЛН