How to use Power Query to Combine Multiple Files that have different headings

  Рет қаралды 115,075

Access Analytic

Access Analytic

Күн бұрын

Пікірлер: 384
@GrainneDuggan_Excel
@GrainneDuggan_Excel 2 жыл бұрын
Brilliant! I wish there was something better than like and save in KZbin - I need flashing lights a d pointing fingers - I know I need to come back to this video often! ➡️ ➡️ 📌📌📌⬅️ ⬅️❗
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
😁
@casaketagarwal4333
@casaketagarwal4333 7 ай бұрын
There is a save button hidden in the 3 dots. You can create a playlist and save the video in it. This video is added to my Excel playlist :)
@excelprodata5626
@excelprodata5626 Жыл бұрын
Amazing! I spent three hours researching until past midnight, and here you are with the simplest straight solution to the scenario :)
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Glad I could help 😀
@DrDamoStrikesBack
@DrDamoStrikesBack 2 жыл бұрын
Thank you! Until today I hadn't realised that one could bunny-hop references to earlier points in the applied steps list and effectively get multiple bites at the data. So useful.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
I remember being happily surprised on learning that technique too 😀
@ayandapeter1681
@ayandapeter1681 10 ай бұрын
That's my whole weekend's trouble shooting why my queries are not pulling correctly explained in 9min...Thank you Sir
@AccessAnalytic
@AccessAnalytic 10 ай бұрын
You’re welcome. Thanks for taking the time to leave a kind comment
@Bhavik_Khatri
@Bhavik_Khatri Жыл бұрын
Hey Wyn, I used 1 line of code which emancipated me from recursive day/nightmares. Thank you again for sharing your knowledge and giving everyone a very good foundation. Kind Regards, Bhavik
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Awesome. You’re welcome Bhavik
@EricaDyson
@EricaDyson Жыл бұрын
Brilliant. Just what I need - not every day in the week, but pretty often. Mega thanks.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Glad to help, thanks for taking the time to leave a kind comment
@CAKimberlyLewis
@CAKimberlyLewis Жыл бұрын
Grateful does not even begin to express how I feel! I've been seeking this solution for longer than I care to admit. THANK YOU! I receive multiple reports that have the same columns but in a different order and this was a perfect append solution!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Hi, glad I could help. if the columns have the same names then a normal consolidation from folder process should work fine. The order shouldn’t matter.
@pauliboo2
@pauliboo2 2 жыл бұрын
I found your KZbin channel after listening to your podcasts, so excellent that you’re sharing all this info in a great tutorial. I’m new to Power products, only started learning a month ago, but using everything in anger at work, replacing all my vba macros!!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Great to hear. Thanks for letting me know you’re finding things useful here
@UlyssesHaq
@UlyssesHaq 2 жыл бұрын
Pure gold dust. Love it! Please dont stop sharing your content. I appreciate your succinct and clean approach. Diolch from Newcastle 🤓 P.s. this method can also be used to dynamically rename column headers AND dynamically format datatypes. PowerQuery is the gift that kerps on giving.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Diolch yn fawr Imran. Agreed, Power Query is a well of goodness
@elizabethsweatman4681
@elizabethsweatman4681 6 ай бұрын
Could you expand on how you dynamically format the datatypes?
@AccessAnalytic
@AccessAnalytic 6 ай бұрын
I’ve not seen a simple method to do that. You could try this datachant.com/2018/05/14/automatic-detection-of-column-types-in-powerquery/
@Lyriks_
@Lyriks_ 2 жыл бұрын
I can't believe i didn't find your channel before, what a pitty that i needed excel global summit to learn about the great wyn hopkins !
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Hah, thanks Anthony, glad you found me!
@ivicanuck
@ivicanuck 2 ай бұрын
Thank you soooo much, you saved my life with this technique! 😊
@AccessAnalytic
@AccessAnalytic 2 ай бұрын
Glad to help.
@rauljimenez5485
@rauljimenez5485 2 жыл бұрын
Gil Raviv is the mutt's nutts!!! His book and blog are a must for anyone using Power Query. Thank you for making the video!!!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
No worries, check out my interview with Gil here kzbin.info/www/bejne/ZmjdgItrfr58o6s
@rosa3709
@rosa3709 2 ай бұрын
You’re great! It’s a bit confusing at first but I'm learning. Thanks.
@AccessAnalytic
@AccessAnalytic 2 ай бұрын
Cheers ☺️
@sanjokbartaula2622
@sanjokbartaula2622 Жыл бұрын
Instead of "combine and transform", i go to "transform data"=> get table from binary=> expand table. This gets all the unique columns from all the files.
@priyankchhajed1407
@priyankchhajed1407 5 ай бұрын
True ! ❤️
@shyamadasgupta9423
@shyamadasgupta9423 2 ай бұрын
That will not work here. Try it. Once you get table from binary, you will see that the Tables only have Sheet. No Table inside. EDIT: Once I added the Custom column TABLES beside BINARY, I expanded it. There I got another DATA column (with TABLES under it) that could be expanded again. I removed all other columns except this DATA column. Then CLOSE&APPLY. THAT WORKED BEAUTIFULLY! Are my steps correct? Is this exactly what you do?
@ArleneH-cb8wt
@ArleneH-cb8wt Жыл бұрын
I've been stuck with my assignment for weeks. This video is a life saver. Thank you so much.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
No worries. Thanks for taking the time to leave a kind comment
@ArleneH-cb8wt
@ArleneH-cb8wt Жыл бұрын
@@AccessAnalytic my only problem was the pertinent values of most columns that's been combined were replaced with null. Do you have a video that can restore the missing values? Thanks again.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Hi it won’t replace with nulls, if the columns have slightly different names they will show up side by side so you would need to scroll down to see the values ( e.g. the new columns are offset to the right AND the data appears on NEW rows )
@ArleneH-cb8wt
@ArleneH-cb8wt Жыл бұрын
@@AccessAnalytic thank you very much!
@MarcShanai
@MarcShanai Жыл бұрын
After DAYS of looking for help, this is the first video that's gotten me some. Unfortunately, when I get to the end, everything's good, except for one last column that shows null. Then, when I load, it shows what the null columns SHOULD'VE been, but they're repeats. Still the closest I've gotten to what I need though, so I'm super grateful.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
null columns may mean slightly different different spelling of column names ( spaces, uppercase etc )
@damionc
@damionc Жыл бұрын
Thank you. This was very helpful. Just to add, I found that I had to wrap this in a List.Buffer function as my query was taking too long to run based on the number of different columns I had. This solved the issue and it ran much faster.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Great, thanks for the "heads up"
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Can you post the updated line of code here for me to refer others to, cheers!
@hk_200k
@hk_200k 6 ай бұрын
For anyone who's interested, its something like HEADINGS = List.Buffer(... existing code). It's much faster. But I don't know if there's any drawback.
@AccessAnalytic
@AccessAnalytic 6 ай бұрын
Nope , all good. Thanks for posting.
@yahoobolt
@yahoobolt 2 жыл бұрын
You save my day. You're a brilliant man who can share the simplest ways. I love you man!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Awesome 😊
@Koniogdy
@Koniogdy Жыл бұрын
Precious gem in my mini PQ formulas library! :) Many thanks for this and for clear and simply explanations - great job!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Glad to help
@joeswright86
@joeswright86 11 ай бұрын
subscribed. Finally got me to stop adding a custom column to find tables within workbooks.
@AccessAnalytic
@AccessAnalytic 11 ай бұрын
Great!
@SharathAcharyaputtur
@SharathAcharyaputtur 6 ай бұрын
Such a complicated issue solved with so much ease. Thanks a million !!
@AccessAnalytic
@AccessAnalytic 6 ай бұрын
You’re welcome
@pauliboo2
@pauliboo2 2 жыл бұрын
You know I’m making a list of all your KZbin videos rather than writing that down!
@wayneedmondson1065
@wayneedmondson1065 2 жыл бұрын
Hi Wyn. Great new trick for the Power Query tool bag! Thanks for showing the steps and sharing the sample files to follow along. Much appreciated! I'll definitely bookmark this for future reference. Thanks for sharing and thumbs up!!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Thanks as always Wayne ⭐
@khemkas
@khemkas Жыл бұрын
Wyn, I cannot thank you enough for sharing this fantastic video and your incredible knowledge of Microsoft Excel, Power Query, Power BI, and DAX! Your expertise and passion for these tools truly shine through in your content. I've had the pleasure of attending a couple of your workshops, and I must say, your insights have been game-changing for me. Your dedication to empowering others with these skills is genuinely inspiring, and I am incredibly grateful for the opportunity to learn from you. Keep up the amazing work, and I eagerly await your next masterpiece!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Thank you for the support Shagun. Greatly appreciated 🙏🏼
@shirleymoreman6725
@shirleymoreman6725 2 жыл бұрын
Thank you Wyn. This is another great technique to add to my ever-growing library of solutions!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
No worries Shirley
@ΓιαννηςΜπας
@ΓιαννηςΜπας Ай бұрын
that was brilliant! thank so much, you saved me tons of hours with my payroll worksheet!
@AccessAnalytic
@AccessAnalytic Ай бұрын
Glad to help. Thanks for taking the time to let me know
@IvanCortinas_ES
@IvanCortinas_ES 2 жыл бұрын
Sparkly. One line of code, many problems solved.
@txreal2
@txreal2 2 жыл бұрын
This seems like a good alternative for append tables and delete nulls. Thanks for sharing. You got a subscriber.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Great
@adrianreboredamartinez1073
@adrianreboredamartinez1073 4 ай бұрын
Beautiful. I've a query with this problem. Now I think I can make it work and check some 700,000 records with some formulas. Thanks!
@AccessAnalytic
@AccessAnalytic 4 ай бұрын
Thanks for taking the time to leave a kind comment
@GeertDelmulle
@GeertDelmulle 2 жыл бұрын
Honestly, for me the step before the trick (the column driven drill down) was the missing link. The trick line itself wasn’t that bad. Recently I had a similar problem that I solved, where I didn’t need List.Union but rather List.Combine. Getting the column names, filtering them, replacing the headers with the actual columns, combining them into a single column. Repeat for different filter values. Combining the results into columns of a table and move on from there… This here is a great lesson, though, because it teaches us to leave the autopilot and start thinking for ourselves. PS: I never use the Files From Folder input technique: it creates too many queries IMO. I prefer putting the path of the folder in a table, load that to PQ and work from there, doing every step myself. Any thoughts on that? Do you see any disadvantages for that compared to the std. interface approach? Thanks.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
When consolidating from SharePoint I go via the transform option, make a master Folder query, reference that then do the the combine, this creates a sample file and consolidation both linked to the master folder query. Simpler to then change folders in future. I’m a fan of the transform sample file element generated by the UI
@tonynewnham5894
@tonynewnham5894 2 жыл бұрын
Thanks Wyn, I have been trying to find this process for a long time. Legend mate
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
You're welcome Tony 😁
@JohnSullivan1
@JohnSullivan1 Жыл бұрын
This just saved me many hours of work. Thank you!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You’re welcome. Thanks for taking the time to leave a your comment
@lenzypetty9371
@lenzypetty9371 2 жыл бұрын
Awesome....I have been looking for this solution for years. Thanks so very much
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
You’re welcome
@mirrrvelll5164
@mirrrvelll5164 Жыл бұрын
Amazing video as usually! Today I was struggling with X folders and files there, getting proper structure and so on...seeing this, I will be smarter tomorrow with all the columns I need =)
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Thank you. Glad to help and thank for letting me know.
@TashieTash
@TashieTash 2 жыл бұрын
Thank you so much! All my columns are now visible
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
That’s great, thanks for letting me know it helped
@mnowako
@mnowako 2 жыл бұрын
The easiest way I’ve seen. Thank you!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
You're welcome Mariusz
@sands7779
@sands7779 Жыл бұрын
Useful explanation, breakdown into steps is helpful and thanks for crediting Gil Raviv.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Thanks
@vasilisa6128
@vasilisa6128 Жыл бұрын
Dear, Wyn! Thank you for the video! Great staff! Helped me a lot.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Thanks great to know
@CelsonFC
@CelsonFC 2 жыл бұрын
Learning from Brazil... Thank you!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
You're welcome
@danielmpinga4102
@danielmpinga4102 5 ай бұрын
This worked out great. Thanks so much for the walkthrough.
@AccessAnalytic
@AccessAnalytic 5 ай бұрын
I appreciate you taking the time to let me know you found it useful
@felipesignorellireis7839
@felipesignorellireis7839 2 жыл бұрын
Very Good. Cheers from Brazil
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Thanks Felipe
@Dev_Bartwal
@Dev_Bartwal 2 жыл бұрын
You are awesome Sir Thanku and lots of love from India 🥳🥳🎁
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
😀 Thanks for taking the time to leave a kind comment
@norbertschmidt6532
@norbertschmidt6532 2 жыл бұрын
SUPER, thanks Wyn. I didn't know before.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Glad to pass on the tips Norbert
@anasschehima5164
@anasschehima5164 17 күн бұрын
Thanks a lot , that's really brilliant !
@AccessAnalytic
@AccessAnalytic 17 күн бұрын
I appreciate you taking the time to let me know you found it useful
@jeongwonc6462
@jeongwonc6462 2 жыл бұрын
Very useful! I will keep the formula for the future reference
@johnhackwood1568
@johnhackwood1568 Жыл бұрын
Wyn thanks for this golden video, I think this is the best technique I have seen on this issue.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Very kind of you to take the time to say so. Cheers!
@suhaimiabdazais
@suhaimiabdazais 2 жыл бұрын
This is what I'm looking for.. tq for sharing..
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
You're welcome
@olayemmydurotolorun7102
@olayemmydurotolorun7102 Жыл бұрын
Wow.....this is so brilliant, been searching since only to come across. This is so helpful Although the codes are not gonna be easy to remember but I can always refer to this video. Thank you 👍
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You’re welcome. I hardly remember any code these days!😄
@SuperDuperHappyTime
@SuperDuperHappyTime Жыл бұрын
Thank you for the video. This solved most of my issues, but I had an issue with loading data because the Sheet Names were different. Found a workaround elsewhere by changing the formula of Transform Sample File>Navigation to =Source{0}[Data]. I get what it's doing, but now I think I'd like to know more about what the 'Helper Queries' are doing.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Hi, you might find this video useful : Combining Multiple Files from a folder using Power Query in Excel or Power BI kzbin.info/www/bejne/pIHPo4SLl6qhatE
@rrrraaaacccc80
@rrrraaaacccc80 2 жыл бұрын
Excellent. A great use of M functions 💯👍
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Thank you
@erickelley7703
@erickelley7703 2 жыл бұрын
I'll probably never do it the old way again. What's neat and simultaneously annoying is that this M model can be pasted directly into PowerBI & likely set to automatically refresh if it's a SharePoint folder. You bypass SSIS/ADF altogether and have PBI Services do the work for just the model you choose to refresh. Two decades of work say that I *have* to bring the data into SQL and do magic things, but you really don't at this point. That era of needing a database to do smart models for business users is really & truly over, but the nostalgia is eternal.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Yes the game has changed rapidly in the last 6 or 7 years. Still lots of room for SQL databases in this world though 😊
@juliusbiliran
@juliusbiliran 6 ай бұрын
This is freaking brilliant! Thanks! Life's hard enough, this HELPS me a LOT! LOL! Thanks again!
@AccessAnalytic
@AccessAnalytic 6 ай бұрын
Glad to help
@tarek.grisha
@tarek.grisha 6 ай бұрын
Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you
@AccessAnalytic
@AccessAnalytic 6 ай бұрын
You’re welcome 😀
@cristian.angyal
@cristian.angyal 2 жыл бұрын
Really nice trick Wyn. Thanks for sharing! When I first saw the name I immediately thought of an Unpivot Other Columns based on the first file … but this is really cool too 😜
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Yep unpivotting the transform file would be my first choice approach. A recent scenario needed the data loaded as columns as part of another process so unpvotting wasn’t an option
@z.719
@z.719 2 жыл бұрын
Brilliant. Just in time. Thanks for sharing.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Thanks for commenting 😁
@loserfireable
@loserfireable Жыл бұрын
This is just what I needed. You are a life saver. Just subscribed to your channel! Appreciate it!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Glad to help Gabby.
@ExcelUnlocked
@ExcelUnlocked Жыл бұрын
That's a life saver. Amazing content as usual.👍
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Happy to help!
@zuhairalmutawa9941
@zuhairalmutawa9941 2 жыл бұрын
Thank you for sharing this great method... that is so helpful
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Glad to help Zuhair
@darrenhall2305
@darrenhall2305 2 жыл бұрын
Are you a wizard? Because this is MAGIC!! Thank YOU!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Cheers Darren, check out my podcast / KZbin series Power Query Magic 😄 kzbin.info
@cjjr85
@cjjr85 2 жыл бұрын
Great that's what I am looking for. Thumbs up
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Excellent
@cosladacity1
@cosladacity1 2 жыл бұрын
Table.Combine does the same thing without writing code. but this is good learning knowledge
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Yep you do then lose the file names, but if you don't care about those then that's a good option.
@zzota
@zzota 2 жыл бұрын
Amazing. I didn't know that was possible. TVM.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
You’re welcome
@tlee7028
@tlee7028 2 жыл бұрын
Thank you!! i learnt something new ....
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Great, glad to help
@4nnbnn
@4nnbnn Жыл бұрын
You just save me!!!! Thank you so much for this video ahhhh God bless you !
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You're very welcome, thanks for letting me know it was useful
@Fernando_Calero
@Fernando_Calero Жыл бұрын
Beautiful indeed, thanks Wyn!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Cheers Fernando
@naresh200
@naresh200 Жыл бұрын
Super. Thats what I needed.. Thank you
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You’re welcome
@shamamajamz7103
@shamamajamz7103 Жыл бұрын
Thank you so much!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You’re welcome
@vueittraining
@vueittraining Жыл бұрын
Thank you Wyn!!!! Just what I needed!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
😄 Bill ? 😊
@vueittraining
@vueittraining Жыл бұрын
@@AccessAnalytic Sorry!!! 🤣🤣🤣
@AccessAnalytic
@AccessAnalytic Жыл бұрын
😆
@MrWish332
@MrWish332 2 жыл бұрын
Great Video, really very helpful. Best Wishes
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Thanks Vishal, very kind
@tutsecret499
@tutsecret499 Жыл бұрын
That's the man I was looking for.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Glad to help
@ajayrathod7777
@ajayrathod7777 Жыл бұрын
This is a great video, suppose next month some more headers are added or some are renamed still this formula can handle situation?
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Absolutely
@shubhabratadey
@shubhabratadey 5 күн бұрын
Beautiful
@AccessAnalytic
@AccessAnalytic 5 күн бұрын
Cheers
@baskis69
@baskis69 2 жыл бұрын
Great trick, very useful. Thank you very much¡¡¡¡
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Cheers Arnau
@deeepika91
@deeepika91 Жыл бұрын
THANK YOU!!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You’re welcome
@datascienceworld3854
@datascienceworld3854 Жыл бұрын
Thank you
@AccessAnalytic
@AccessAnalytic Жыл бұрын
No worries
@syedaneesdurez9880
@syedaneesdurez9880 Жыл бұрын
Amazing trick ..
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Thanks
@gini77oo
@gini77oo Жыл бұрын
GENIUUUUUUUUUUUUUS THANKS!!!!!!!!!!!!!!!!!!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You’re welcome
@LexWil7
@LexWil7 Жыл бұрын
Brilliant. Thank you!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You’re welcome 😀
@ExcelWithChris
@ExcelWithChris 2 жыл бұрын
Thank you!!!! Brilliant stuff.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Cheers Chris
@Wastrelification
@Wastrelification Жыл бұрын
Insane man thanks
@AccessAnalytic
@AccessAnalytic Жыл бұрын
No worries
@Paquerette67
@Paquerette67 Жыл бұрын
This is great! Thank you!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You're welcome
@robertrogowski2594
@robertrogowski2594 2 жыл бұрын
Why not just Table.Combine( „#Removed Other Columns 1”[Transform file])? Should work as well.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Yep you do then lose the file names, but if you don't care about those then that's a good option
@wiggumo
@wiggumo 2 жыл бұрын
So does that mean 3 excel files. No matter what and how many columns there, they will all consolidate?
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Sure does Mo Lo
@cheikhhakim5864
@cheikhhakim5864 Жыл бұрын
thank you sir
@AccessAnalytic
@AccessAnalytic Жыл бұрын
You’re welcome
@andrewgrant9782
@andrewgrant9782 2 жыл бұрын
Thanks! Just what I needed. Also got me thinking: if I knew that my files would only ever have different permutations of columns "Measurement1" to "Measurement6", could I create a dummy file in the folder with just these headings and no data then use it as the sample file? It wouldn't dynamically accommodate further columns but, with over 200 Excel files to combine and no new columns for the foreseeable future, it might work in my situation.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Yep that should work
@malchicken
@malchicken 2 жыл бұрын
Much appreciated ^^
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
No worries Hendrick
@thuytamdang3390
@thuytamdang3390 Жыл бұрын
Thanks a million! Amazing as ussual
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Glad to help. Thanks for taking the time to leave a kind comment
@vsrinivasan574
@vsrinivasan574 2 жыл бұрын
Great, Very useful, thanks
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Glad it was useful, thanks for taking the time to leave a kind comment
@lasisiabolaji4402
@lasisiabolaji4402 Жыл бұрын
Such a wonderful video. However, I'm currently facing a challenge. After replacing the list of headers with the "Headings", it keeps loading without stopping. In fact, I had to abort the query as the expected result ought to be about 25,000 rows but the query process is showing about 1.5m rows before I abort the process.
@lasisiabolaji4402
@lasisiabolaji4402 Жыл бұрын
fYI..I'm dealing with 69 columns in the List from the "Headings"
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Sounds strange. Try with a much smaller sample ( 5 columns, 20 rows ) and see if it works ok. I’d recommend posting your question with screenshots to one of the forums such as community.powerbi.com/t5/Power-Query/bd-p/power-bi-services Or techcommunity.microsoft.com/t5/microsoft-excel/ct-p/Excel_Cat?WT.mc_id=M365-MVP-5002589 Or www.reddit.com/r/excel/? www.reddit.com/r/PowerBI/?
@mehdiabid8324
@mehdiabid8324 Ай бұрын
Brilliant, thanks a lot for the video, just one simple question, what if i need data of a column to be considered just one time (columns to be considered all but one time) Hope to hear from you Thanks another time
@AccessAnalytic
@AccessAnalytic Ай бұрын
I don’t understand sorry
@mehdiabid8324
@mehdiabid8324 Ай бұрын
@AccessAnalytic no problem Here is an example: In my work i receive each week an Excel file that contains some data of the current week and four previous weeks (for example this week I will receive a column named wk-32 and other columns of four pevious weeks : wk-31 wk-30 wk-29 wk-28) Next week I Will receive (wk-33 wk-32 wk-31 wk-30 wk-29) I use the method you shared it was vers helpful but I need the data of one column to be considered Just one time, for example i have sum of column wk-29 is 5000 dollars if the other Excel file contains aalso wk-29 I need to have only 5000 dollars not 10000. I home I could explain more, Thanks a lot,
@AccessAnalytic
@AccessAnalytic Ай бұрын
@@mehdiabid8324 - I would use the Transform Sample file step to Unpivot Other Columns so that the individual week columns are a single column rather than separate ones. You can then apply a remove duplicates. kzbin.info/www/bejne/e4TEoWmmqbtrnKssi=QtL9nMz4FoGXfhHs
@mehdiabid8324
@mehdiabid8324 Ай бұрын
Thanks a lot for your answer, that would really help.
@lucianoelias8961
@lucianoelias8961 Жыл бұрын
AWESOME!
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Cheers
@cesarsaldana3429
@cesarsaldana3429 Ай бұрын
amazing!!!!
@AccessAnalytic
@AccessAnalytic Ай бұрын
Cheers
@vacilando86
@vacilando86 2 жыл бұрын
İt's easy but literally life saver
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Great to know, thanks Alpay
@m.i.drissboutriha7665
@m.i.drissboutriha7665 Жыл бұрын
brilliant
@AccessAnalytic
@AccessAnalytic Жыл бұрын
Thank you
@TheBebwa
@TheBebwa 8 ай бұрын
This is great. I'm trying to figure out how to add a step that skips the first few rows on each excel sheet any ideas?
@AccessAnalytic
@AccessAnalytic 8 ай бұрын
Use the Transform Sample File query to remove the first rows, then that automatically applies to each file
@TheBebwa
@TheBebwa 8 ай бұрын
This worked. Thanks@@AccessAnalytic
@AccessAnalytic
@AccessAnalytic 8 ай бұрын
Great, thanks for letting me know
@jaruwanu
@jaruwanu 2 жыл бұрын
Thank you very much
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
You're welcome
@EslamAbdo1919
@EslamAbdo1919 10 ай бұрын
That's fantastic. Thank you sooo much. How can I do the same thing if there are multiple tables in multiple tabs in the same workbook file?
@AccessAnalytic
@AccessAnalytic 10 ай бұрын
So do you want to consolidate multiple tables from multiple sheets from multiple workbooks, or just multiple sheets from 1 workbook? If it's just one workbook then check this out kzbin.info/www/bejne/pGnCpHRsg7KfoaMsi=H83zOfBiRPGWuBzU
@ExcelWizard
@ExcelWizard 2 жыл бұрын
Great use of List.Union I use Table.Combine let Source = Folder.Files("D:\Source Files"), GetTable = Table.Combine(List.Combine(Table.AddColumn(Source, "Table", each Excel.Workbook([Content],true)[Data])[Table])) in GetTable And 2 more steps to add fileName let Source = Folder.Files("D:\Source Files"), GetTable = Table.ExpandListColumn(Table.AddColumn(Source, "Table", each Excel.Workbook([Content],true)[Data]),"Table"), AddFileName = Table.AddColumn(GetTable, "Table_fileName", each Table.ReorderColumns(Table.AddColumn([Table],"Name",(t) => [Name]),{"Name"} & Table.ColumnNames([Table]))), Combine = Table.Combine(AddFileName[Table_fileName]) in Combine
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
I like / prefer the Table.Combine approach - I used it here kzbin.info/www/bejne/rGiuZZ-kgb2hnqc
@ExcelWizard
@ExcelWizard 2 жыл бұрын
@@AccessAnalytic Great challenge
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
@@ExcelWizard Thanks
@sulemanharoon
@sulemanharoon Жыл бұрын
Thank you ! Great content ! I was wondering, what are the drawbacks in using the "Append" function in the Combine section in Home tab?
@AccessAnalytic
@AccessAnalytic Жыл бұрын
No downsides as such, appended table column names need to match exactly ( including upper / lower case match ) if you want the columns to stack on top of each other. Otherwise new columns are created
@sulemanharoon
@sulemanharoon Жыл бұрын
@@AccessAnalytic Great! Thank you! So the data from same name columns will be appended on top of each other. Any additional or different name column will be added as a new column. These new column will have null values corresponding to the data set where these do not exist.
@AccessAnalytic
@AccessAnalytic Жыл бұрын
@@sulemanharoon - correct 😀
@sulemanharoon
@sulemanharoon Жыл бұрын
@@AccessAnalytic Thank you ! You and your videos are always a great help !
@ChrisSmithFW
@ChrisSmithFW 2 жыл бұрын
Great solution if starting a new query but not so great if the query has been built already since removing all subsequent steps and data reverts the report back to almost source-level. Secondarily, though I've found a work-around to ensure the most recent Test CSV is included in the query folder, the 2 new test fields I created within the test CSV still are not populating even after performing [transform data] steps. Ugh, so frustrating.
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
Yeah retrofitting is always hard, I normally start to create a new query, get it to the same starting point as the old query then copy the code across in the advanced editor
@ChrisSmithFW
@ChrisSmithFW 2 жыл бұрын
@@AccessAnalytic Not a bad idea and an approach I may ultimately take. Problem is that I have approximately 20 separate monthly data sources, at least 50% of which contain 50K or more rows of data, so updating each of those files with this parameter won't be an extremely fast process. Since I went through a similar exercise recently, focusing on back-end processes with very little improvement to the visuals during this time, I'll have to be more deliberate since clients typically want to see front-end improvements and sometimes don't understand the time and focus spent on back-end optimization. Thanks so much for the help here. Love your tutorials!
@AccessAnalytic
@AccessAnalytic 2 жыл бұрын
@@ChrisSmithFW No worries
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 16 МЛН
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 126 МЛН
Power Query - Avoid "Helper Queries" (+10 Cool Tricks)
18:40
5 Excel Tools Most Users Never Think to Use (Files Included)
12:34
MyOnlineTrainingHub
Рет қаралды 215 М.
How to combine in a folder multiple files with different column headers - T0030
31:13
Celia Alves - Solve & Excel
Рет қаралды 34 М.
🚨 YOU'RE VISUALIZING YOUR DATA WRONG. And Here's Why...
17:11
Adam Finer - Learn BI Online
Рет қаралды 158 М.
5 Excel Tricks for Self-Updating Spreadsheets (Files Included)
22:52
MyOnlineTrainingHub
Рет қаралды 122 М.
EASY Trick to COMBINE Multiple Excel files into ONE with Power Query
11:47
Combine Files with DIFFERENT Headers in Power Query | TWO Examples
11:47
How to Rename Column Headings with Power Query - the quick automated way
11:31
Excel Formatting Tricks That Make You Look Like a Pro
12:15
MyOnlineTrainingHub
Рет қаралды 31 М.
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 16 МЛН