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

Поділитися
Вставка
  • Опубліковано 25 гру 2024

КОМЕНТАРІ • 390

  • @GrainneDuggan_Excel
    @GrainneDuggan_Excel 2 роки тому +21

    Brilliant! I wish there was something better than like and save in UA-cam - I need flashing lights a d pointing fingers - I know I need to come back to this video often! ➡️ ➡️ 📌📌📌⬅️ ⬅️❗

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому +1

      😁

    • @casaketagarwal4333
      @casaketagarwal4333 10 місяців тому +1

      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 :)

  • @ayandapeter1681
    @ayandapeter1681 Рік тому +3

    That's my whole weekend's trouble shooting why my queries are not pulling correctly explained in 9min...Thank you Sir

    • @AccessAnalytic
      @AccessAnalytic  Рік тому

      You’re welcome. Thanks for taking the time to leave a kind comment

  • @excelprodata5626
    @excelprodata5626 2 роки тому +8

    Amazing! I spent three hours researching until past midnight, and here you are with the simplest straight solution to the scenario :)

  • @DrDamoStrikesBack
    @DrDamoStrikesBack 2 роки тому +6

    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 роки тому +2

      I remember being happily surprised on learning that technique too 😀

  • @Bhavik_Khatri
    @Bhavik_Khatri 2 роки тому +3

    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

  • @CAKimberlyLewis
    @CAKimberlyLewis Рік тому +1

    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 роки тому +1

    I found your UA-cam 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

  • @Lyriks_
    @Lyriks_ 2 роки тому +1

    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 !

  • @ArleneH-cb8wt
    @ArleneH-cb8wt Рік тому +1

    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  Рік тому +1

      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!

  • @EricaDyson
    @EricaDyson 2 роки тому +2

    Brilliant. Just what I need - not every day in the week, but pretty often. Mega thanks.

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      Glad to help, thanks for taking the time to leave a kind comment

  • @damionc
    @damionc 2 роки тому +2

    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  2 роки тому

      Great, thanks for the "heads up"

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      Can you post the updated line of code here for me to refer others to, cheers!

    • @hk_200k
      @hk_200k 9 місяців тому +1

      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  9 місяців тому

      Nope , all good. Thanks for posting.

  • @rauljimenez5485
    @rauljimenez5485 2 роки тому +1

    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 роки тому +1

      No worries, check out my interview with Gil here ua-cam.com/video/07zOX5IYImI/v-deo.html

  • @UlyssesHaq
    @UlyssesHaq 2 роки тому +4

    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 9 місяців тому

      Could you expand on how you dynamically format the datatypes?

    • @AccessAnalytic
      @AccessAnalytic  9 місяців тому +1

      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/

  • @joeswright86
    @joeswright86 Рік тому +1

    subscribed. Finally got me to stop adding a custom column to find tables within workbooks.

  • @pauliboo2
    @pauliboo2 2 роки тому +1

    You know I’m making a list of all your UA-cam videos rather than writing that down!

  • @khemkas
    @khemkas Рік тому +1

    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 🙏🏼

  • @yahoobolt
    @yahoobolt 2 роки тому +1

    You save my day. You're a brilliant man who can share the simplest ways. I love you man!

  • @Koniogdy
    @Koniogdy 2 роки тому +2

    Precious gem in my mini PQ formulas library! :)
    Many thanks for this and for clear and simply explanations - great job!

  • @SharathAcharyaputtur
    @SharathAcharyaputtur 9 місяців тому +1

    Such a complicated issue solved with so much ease. Thanks a million !!

  • @wayneedmondson1065
    @wayneedmondson1065 2 роки тому +3

    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!!

  • @MarcShanai
    @MarcShanai Рік тому +1

    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 )

  • @JohnSullivan1
    @JohnSullivan1 Рік тому +1

    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

  • @txreal2
    @txreal2 2 роки тому +2

    This seems like a good alternative for append tables and delete nulls.
    Thanks for sharing. You got a subscriber.

  • @shirleymoreman6725
    @shirleymoreman6725 2 роки тому +1

    Thank you Wyn. This is another great technique to add to my ever-growing library of solutions!

  • @tonynewnham5894
    @tonynewnham5894 2 роки тому +1

    Thanks Wyn, I have been trying to find this process for a long time. Legend mate

  • @mirrrvelll5164
    @mirrrvelll5164 Рік тому +1

    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.

  • @lenzypetty9371
    @lenzypetty9371 2 роки тому +1

    Awesome....I have been looking for this solution for years. Thanks so very much

  • @sands7779
    @sands7779 2 роки тому +1

    Useful explanation, breakdown into steps is helpful and thanks for crediting Gil Raviv.

  • @ivicanuck
    @ivicanuck 5 місяців тому +1

    Thank you soooo much, you saved my life with this technique! 😊

  • @vasilisa6128
    @vasilisa6128 Рік тому +1

    Dear, Wyn! Thank you for the video! Great staff! Helped me a lot.

  • @olayemmydurotolorun7102
    @olayemmydurotolorun7102 2 роки тому +1

    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  2 роки тому

      You’re welcome. I hardly remember any code these days!😄

  • @adrianreboredamartinez1073
    @adrianreboredamartinez1073 7 місяців тому +1

    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  7 місяців тому

      Thanks for taking the time to leave a kind comment

  • @genes2311
    @genes2311 Місяць тому +1

    yes ! Amazing... Thank you so much for this. I was struggling doing some pricing comparison with source data with different formats and columns names. This is awesome... Thank you ! :)

  • @johnhackwood1568
    @johnhackwood1568 2 роки тому +1

    Wyn thanks for this golden video, I think this is the best technique I have seen on this issue.

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому +1

      Very kind of you to take the time to say so. Cheers!

  • @IvanCortinas_ES
    @IvanCortinas_ES 2 роки тому +1

    Sparkly. One line of code, many problems solved.

  • @mnowako
    @mnowako 2 роки тому +1

    The easiest way I’ve seen. Thank you!

  • @CelsonFC
    @CelsonFC 2 роки тому +1

    Learning from Brazil...
    Thank you!

  • @yililing7016
    @yililing7016 2 місяці тому +1

    This video deserves a Nobel Prize, Wyn. 😊Thank you so much! Would you recommend the same method when a new column is added but not appearing in the query after refresh? I have a query connected to a sharepoint folder where there're 100 files with the same columns. Recently I had to add one new column starting file 101, I had a hard time finding that newly added column in the query, the refresh does not pick up the new column. This trick saved me.

    • @AccessAnalytic
      @AccessAnalytic  2 місяці тому

      Great to hear 😊. If it’s excel files then yes, if CSVs then maybe ( there can be an additional step to remove delimiter count in source step )

  • @ΓιαννηςΜπας
    @ΓιαννηςΜπας 5 місяців тому +1

    that was brilliant! thank so much, you saved me tons of hours with my payroll worksheet!

    • @AccessAnalytic
      @AccessAnalytic  5 місяців тому +1

      Glad to help. Thanks for taking the time to let me know

  • @Dev_Bartwal
    @Dev_Bartwal 2 роки тому +1

    You are awesome Sir
    Thanku and lots of love from India 🥳🥳🎁

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      😀 Thanks for taking the time to leave a kind comment

  • @rosa3709
    @rosa3709 5 місяців тому +1

    You’re great! It’s a bit confusing at first but I'm learning. Thanks.

  • @TashieTash
    @TashieTash 2 роки тому +1

    Thank you so much! All my columns are now visible

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      That’s great, thanks for letting me know it helped

  • @danielmpinga4102
    @danielmpinga4102 8 місяців тому +1

    This worked out great. Thanks so much for the walkthrough.

    • @AccessAnalytic
      @AccessAnalytic  8 місяців тому

      I appreciate you taking the time to let me know you found it useful

  • @rrrraaaacccc80
    @rrrraaaacccc80 2 роки тому +1

    Excellent. A great use of M functions 💯👍

  • @cristian.angyal
    @cristian.angyal 2 роки тому +1

    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 роки тому +1

      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

  • @loserfireable
    @loserfireable 2 роки тому +1

    This is just what I needed. You are a life saver. Just subscribed to your channel! Appreciate it!

  • @norbertschmidt6532
    @norbertschmidt6532 2 роки тому +1

    SUPER, thanks Wyn. I didn't know before.

  • @ExcelUnlocked
    @ExcelUnlocked Рік тому +1

    That's a life saver. Amazing content as usual.👍

  • @juliusbiliran
    @juliusbiliran 9 місяців тому +1

    This is freaking brilliant! Thanks! Life's hard enough, this HELPS me a LOT! LOL! Thanks again!

  • @jeongwonc6462
    @jeongwonc6462 2 роки тому +1

    Very useful! I will keep the formula for the future reference

  • @GeertDelmulle
    @GeertDelmulle 2 роки тому +5

    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 роки тому +1

      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

  • @sanjokbartaula2622
    @sanjokbartaula2622 Рік тому +4

    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 8 місяців тому

      True ! ❤️

    • @shyamadasgupta9423
      @shyamadasgupta9423 5 місяців тому

      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?

  • @felipesignorellireis7839
    @felipesignorellireis7839 2 роки тому +1

    Very Good. Cheers from Brazil

  • @darrenhall2305
    @darrenhall2305 2 роки тому +1

    Are you a wizard? Because this is MAGIC!! Thank YOU!

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      Cheers Darren, check out my podcast / UA-cam series Power Query Magic 😄 ua-cam.com/users/PowerQueryMagic

  • @z.719
    @z.719 2 роки тому +1

    Brilliant. Just in time. Thanks for sharing.

  • @suhaimiabdazais
    @suhaimiabdazais 2 роки тому +1

    This is what I'm looking for.. tq for sharing..

  • @zuhairalmutawa9941
    @zuhairalmutawa9941 2 роки тому +1

    Thank you for sharing this great method... that is so helpful

  • @4nnbnn
    @4nnbnn Рік тому +1

    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

  • @vueittraining
    @vueittraining Рік тому +1

    Thank you Wyn!!!! Just what I needed!

  • @cjjr85
    @cjjr85 2 роки тому +1

    Great that's what I am looking for. Thumbs up

  • @SuperDuperHappyTime
    @SuperDuperHappyTime 2 роки тому +1

    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  2 роки тому

      Hi, you might find this video useful : Combining Multiple Files from a folder using Power Query in Excel or Power BI
      ua-cam.com/video/nPlrQUbEn4o/v-deo.html

  • @MrWish332
    @MrWish332 2 роки тому +1

    Great Video, really very helpful. Best Wishes

  • @ajayrathod7777
    @ajayrathod7777 Рік тому +1

    This is a great video, suppose next month some more headers are added or some are renamed still this formula can handle situation?

  • @tutsecret499
    @tutsecret499 Рік тому

    That's the man I was looking for.

  • @zzota
    @zzota 2 роки тому +1

    Amazing. I didn't know that was possible. TVM.

  • @tlee7028
    @tlee7028 2 роки тому +1

    Thank you!! i learnt something new ....

  • @naresh200
    @naresh200 2 роки тому +1

    Super. Thats what I needed..
    Thank you

  • @cosladacity1
    @cosladacity1 2 роки тому +1

    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.

  • @Fernando_Calero
    @Fernando_Calero 2 роки тому +1

    Beautiful indeed, thanks Wyn!

  • @erickelley7703
    @erickelley7703 2 роки тому +1

    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 😊

  • @anasschehima5164
    @anasschehima5164 3 місяці тому +1

    Thanks a lot , that's really brilliant !

    • @AccessAnalytic
      @AccessAnalytic  3 місяці тому

      I appreciate you taking the time to let me know you found it useful

  • @sulemanharoon
    @sulemanharoon 2 роки тому +1

    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  2 роки тому +1

      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 2 роки тому +1

      @@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  2 роки тому +1

      @@sulemanharoon - correct 😀

    • @sulemanharoon
      @sulemanharoon 2 роки тому +1

      @@AccessAnalytic Thank you !
      You and your videos are always a great help !

  • @wiggumo
    @wiggumo 2 роки тому +1

    So does that mean 3 excel files. No matter what and how many columns there, they will all consolidate?

  • @TheBebwa
    @TheBebwa 11 місяців тому +1

    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  11 місяців тому

      Use the Transform Sample File query to remove the first rows, then that automatically applies to each file

    • @TheBebwa
      @TheBebwa 11 місяців тому +1

      This worked. Thanks@@AccessAnalytic

    • @AccessAnalytic
      @AccessAnalytic  11 місяців тому

      Great, thanks for letting me know

  • @lashakhorava6918
    @lashakhorava6918 2 роки тому +1

    I can't see Measurement6 from file C

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      Are you trying this out on your own computer Lasha? I don't know why Measurement6 wouldn't show

    • @lashakhorava6918
      @lashakhorava6918 2 роки тому +1

      @@AccessAnalytic Ok, thankyou anyway its a very useful video

  • @kenaun8268
    @kenaun8268 2 роки тому

    Why PQ didnt pull in all the headers in the editor from the folder? Is there a limitation of columns in the editor?

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      No limit, in this scenario (when consolidating files from a folder) it just pulls the headers from the first file when doing the expand.

  • @LexWil7
    @LexWil7 Рік тому +1

    Brilliant. Thank you!

  • @tarek.grisha
    @tarek.grisha 9 місяців тому +1

    Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you

  • @nathanwoolls
    @nathanwoolls 8 місяців тому

    Is there a way to adjust this for cases when you need to remove some rows and promote the first row to headers?

    • @AccessAnalytic
      @AccessAnalytic  8 місяців тому +1

      You should be able to do that in the Transform Ssmple file query. ua-cam.com/video/nPlrQUbEn4o/v-deo.html

  • @ChrisSmithFW
    @ChrisSmithFW 2 роки тому +1

    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 роки тому +1

      @@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

  • @baskis69
    @baskis69 2 роки тому +1

    Great trick, very useful. Thank you very much¡¡¡¡

  • @ExcelWithChris
    @ExcelWithChris 2 роки тому +1

    Thank you!!!! Brilliant stuff.

  • @kenaun8268
    @kenaun8268 2 роки тому

    Hi Wyn, why some of my headings are missing?

  • @Paquerette67
    @Paquerette67 Рік тому +1

    This is great! Thank you!

  • @mayur3651
    @mayur3651 6 місяців тому

    I had a doubt. If we add a new column in any of the tables, will it get added in the consolidated table ???

  • @andrewgrant9782
    @andrewgrant9782 2 роки тому +1

    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.

  • @decentmendreams
    @decentmendreams 2 роки тому +1

    This is an awesome trick . Would this work if the number of columns vary as well ?

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому +1

      Yep, also check out this video which has a simpler technique ua-cam.com/video/v7K4lnLXnhE/v-deo.html

    • @decentmendreams
      @decentmendreams 2 роки тому

      @@AccessAnalytic thanks. I had skipped it because of the size but glad you reminded me.

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      All good, When you say size, do you mean length of video?

  • @stevenswall
    @stevenswall 2 роки тому

    Does this work with CSV files? None of mine have tables and column names already.

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      Hi, yes it loves CSV files and converts them into Tables and columns

  • @GettingDownToCases
    @GettingDownToCases Рік тому

    OMG, this is amazing, Wyn; thank you so much for this clever post (and of course, a huge thanks to Gil!)
    One problem though - when I use the exercise files, everything works perfectly.
    However, I have a problem right away when I use my own files where my column headings are dates and my rows contain names. The combined files are loaded into PQ with column headers as follows: Column1, Column2, etc., as if PQ didn't know that my dates were intended as column headers. Am I doing something wrong or is there a (hopefully, easy) solution to this?
    Thank you so much.

    • @AccessAnalytic
      @AccessAnalytic  Рік тому

      Thanks, Yeah if your headings are numerical / date it won’t auto promote headers. So you’ll need to click the Use First row as header button early in the transform sample file step

    • @GettingDownToCases
      @GettingDownToCases Рік тому +1

      @@AccessAnalytic What I did was create a dummy file with 1 dummy row and 1 dummy col where the header is simply 'dummy', i.e. non-numeric. When I include that dummy file into the folder, then make that the "First file" for the combine, everything works perfectly! Somehow, the dummy file was ignored altogether saving me the effort to remove it myself.
      What a wonderful service you've provided, Wyn. You are the real deal - THANK YOU SO MUCH.

    • @AccessAnalytic
      @AccessAnalytic  Рік тому

      Glad you got it working!

  • @mehdiabid8324
    @mehdiabid8324 4 місяці тому +1

    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  4 місяці тому

      I don’t understand sorry

    • @mehdiabid8324
      @mehdiabid8324 4 місяці тому

      @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  4 місяці тому

      @@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.
      ua-cam.com/video/ESap6ptV8fI/v-deo.htmlsi=QtL9nMz4FoGXfhHs

    • @mehdiabid8324
      @mehdiabid8324 4 місяці тому +1

      Thanks a lot for your answer, that would really help.

  • @thuytamdang3390
    @thuytamdang3390 Рік тому +1

    Thanks a million! Amazing as ussual

    • @AccessAnalytic
      @AccessAnalytic  Рік тому

      Glad to help. Thanks for taking the time to leave a kind comment

  • @davidjosevarelagarcia7011
    @davidjosevarelagarcia7011 Рік тому

    Hi Whyn ,thanks for sharing your knowledge. In case the headers started in different positions (row 3, 4, 7) in each sheets and rows had to be canceled to promote as headers, what would the process be like, could you help me?

    • @AccessAnalytic
      @AccessAnalytic  Рік тому

      You'll need to apply some logic in the Transform Sample file step (that logic will be applied to each file ). Maybe you can apply a filter to remove the required rows, rather than specifying a specific count

  • @sohailansari9337
    @sohailansari9337 2 роки тому +1

    Awesome video..👏 Do we have a function to combine tables please assist 🙏

  • @EslamAbdo1919
    @EslamAbdo1919 Рік тому

    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  Рік тому

      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
      ua-cam.com/video/n8_sA6NMlkA/v-deo.htmlsi=H83zOfBiRPGWuBzU

  • @4141-i7o
    @4141-i7o 2 роки тому +1

    Great vdo. Could you tell me how to merge 2 tables with different column value but have the same ID? (But I wanna keep all the rows in the first table even though in the second table didn' t have any value). I tried using power query merge feature but the output always excluded the Null Value of the first table in the merged table. Thank in advance.

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      When you do the merge there is a drop down box set to Left Outer. If you want all rows from both tables then change it to Full Outer

    • @4141-i7o
      @4141-i7o 2 роки тому

      @@AccessAnalytic I have tried several times and the merged file is still the same (excludes all all rows with null value from the first table). I still dun understand it.

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      @@4141-i7o so here's an example table A has 1 5 6 9 table B has 5 and 9. With table A selected go to merge and merge in table B. Expand columns. Table A now still has all original records, plus the columns from Table B for records 5 and 9.
      What behaviour are you wanting using this example.

    • @4141-i7o
      @4141-i7o 2 роки тому +1

      @@AccessAnalytic It worked now. Thanks you so much.

    • @AccessAnalytic
      @AccessAnalytic  2 роки тому

      You’re welcome

  • @vtanz
    @vtanz 8 місяців тому

    Could you tell us the steps using power query to remove header first 2 rows and split into columns and then merge multiple files into one single file

    • @AccessAnalytic
      @AccessAnalytic  8 місяців тому

      You do those transformations in the query called “Transform sample file”
      I go into details of the helper queries in this video:
      Combining Multiple Files from a folder using Power Query in Excel or Power BI ( ⚠️see description )
      ua-cam.com/video/nPlrQUbEn4o/v-deo.html

  • @aymanraouf1820
    @aymanraouf1820 Рік тому

    How can i combine and reshuffle though.

  • @nostale_____8650
    @nostale_____8650 Місяць тому

    Hello i am having a problem when i combine this method and the one that you hace for speed up your excel connection to a sharefokder that you have 😢

    • @AccessAnalytic
      @AccessAnalytic  Місяць тому

      What’s the issue? And which video are you referring too ( I’ve done a couple of similar ones )

  • @michaelp1856
    @michaelp1856 2 роки тому

    Thanks. The files I have contain some cells filled with a colour that I would like to retain in the combined file (not via conditional formatting). Is there a way?

  • @PatrickTutembe
    @PatrickTutembe Рік тому

    Wow!
    In my case, I would like to use this trick but my data has headers that need to be merged from two rows.
    Forexample, in the case on Measurement 1, Measurement 2, etc; suppose the data has another word like "Total weight" in a row just above "Measurement...." for all files.
    Any ideas on how this would work out?
    Thank you very much

    • @AccessAnalytic
      @AccessAnalytic  Рік тому +1

      It’s difficult to answer here but sounds like a situation where demoting the header, transpose, fill down and then merge the 2 headings . Then transpose again