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! ➡️ ➡️ 📌📌📌⬅️ ⬅️❗
@AccessAnalytic2 жыл бұрын
😁
@casaketagarwal43337 ай бұрын
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 Жыл бұрын
Amazing! I spent three hours researching until past midnight, and here you are with the simplest straight solution to the scenario :)
@AccessAnalytic Жыл бұрын
Glad I could help 😀
@DrDamoStrikesBack2 жыл бұрын
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.
@AccessAnalytic2 жыл бұрын
I remember being happily surprised on learning that technique too 😀
@ayandapeter168110 ай бұрын
That's my whole weekend's trouble shooting why my queries are not pulling correctly explained in 9min...Thank you Sir
@AccessAnalytic10 ай бұрын
You’re welcome. Thanks for taking the time to leave a kind comment
@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 Жыл бұрын
Awesome. You’re welcome Bhavik
@EricaDyson Жыл бұрын
Brilliant. Just what I need - not every day in the week, but pretty often. Mega thanks.
@AccessAnalytic Жыл бұрын
Glad to help, thanks for taking the time to leave a kind comment
@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 Жыл бұрын
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.
@pauliboo22 жыл бұрын
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!!
@AccessAnalytic2 жыл бұрын
Great to hear. Thanks for letting me know you’re finding things useful here
@UlyssesHaq2 жыл бұрын
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.
@AccessAnalytic2 жыл бұрын
Diolch yn fawr Imran. Agreed, Power Query is a well of goodness
@elizabethsweatman46816 ай бұрын
Could you expand on how you dynamically format the datatypes?
@AccessAnalytic6 ай бұрын
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_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 !
@AccessAnalytic2 жыл бұрын
Hah, thanks Anthony, glad you found me!
@ivicanuck2 ай бұрын
Thank you soooo much, you saved my life with this technique! 😊
@AccessAnalytic2 ай бұрын
Glad to help.
@rauljimenez54852 жыл бұрын
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!!!
@AccessAnalytic2 жыл бұрын
No worries, check out my interview with Gil here kzbin.info/www/bejne/ZmjdgItrfr58o6s
@rosa37092 ай бұрын
You’re great! It’s a bit confusing at first but I'm learning. Thanks.
@AccessAnalytic2 ай бұрын
Cheers ☺️
@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.
@priyankchhajed14075 ай бұрын
True ! ❤️
@shyamadasgupta94232 ай бұрын
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 Жыл бұрын
I've been stuck with my assignment for weeks. This video is a life saver. Thank you so much.
@AccessAnalytic Жыл бұрын
No worries. Thanks for taking the time to leave a kind comment
@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 Жыл бұрын
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 Жыл бұрын
@@AccessAnalytic thank you very much!
@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 Жыл бұрын
null columns may mean slightly different different spelling of column names ( spaces, uppercase etc )
@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 Жыл бұрын
Great, thanks for the "heads up"
@AccessAnalytic Жыл бұрын
Can you post the updated line of code here for me to refer others to, cheers!
@hk_200k6 ай бұрын
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.
@AccessAnalytic6 ай бұрын
Nope , all good. Thanks for posting.
@yahoobolt2 жыл бұрын
You save my day. You're a brilliant man who can share the simplest ways. I love you man!
@AccessAnalytic2 жыл бұрын
Awesome 😊
@Koniogdy Жыл бұрын
Precious gem in my mini PQ formulas library! :) Many thanks for this and for clear and simply explanations - great job!
@AccessAnalytic Жыл бұрын
Glad to help
@joeswright8611 ай бұрын
subscribed. Finally got me to stop adding a custom column to find tables within workbooks.
@AccessAnalytic11 ай бұрын
Great!
@SharathAcharyaputtur6 ай бұрын
Such a complicated issue solved with so much ease. Thanks a million !!
@AccessAnalytic6 ай бұрын
You’re welcome
@pauliboo22 жыл бұрын
You know I’m making a list of all your KZbin videos rather than writing that down!
@wayneedmondson10652 жыл бұрын
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!!
@AccessAnalytic2 жыл бұрын
Thanks as always Wayne ⭐
@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 Жыл бұрын
Thank you for the support Shagun. Greatly appreciated 🙏🏼
@shirleymoreman67252 жыл бұрын
Thank you Wyn. This is another great technique to add to my ever-growing library of solutions!
@AccessAnalytic2 жыл бұрын
No worries Shirley
@ΓιαννηςΜπαςАй бұрын
that was brilliant! thank so much, you saved me tons of hours with my payroll worksheet!
@AccessAnalyticАй бұрын
Glad to help. Thanks for taking the time to let me know
@IvanCortinas_ES2 жыл бұрын
Sparkly. One line of code, many problems solved.
@txreal22 жыл бұрын
This seems like a good alternative for append tables and delete nulls. Thanks for sharing. You got a subscriber.
@AccessAnalytic2 жыл бұрын
Great
@adrianreboredamartinez10734 ай бұрын
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!
@AccessAnalytic4 ай бұрын
Thanks for taking the time to leave a kind comment
@GeertDelmulle2 жыл бұрын
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.
@AccessAnalytic2 жыл бұрын
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
@tonynewnham58942 жыл бұрын
Thanks Wyn, I have been trying to find this process for a long time. Legend mate
@AccessAnalytic2 жыл бұрын
You're welcome Tony 😁
@JohnSullivan1 Жыл бұрын
This just saved me many hours of work. Thank you!
@AccessAnalytic Жыл бұрын
You’re welcome. Thanks for taking the time to leave a your comment
@lenzypetty93712 жыл бұрын
Awesome....I have been looking for this solution for years. Thanks so very much
@AccessAnalytic2 жыл бұрын
You’re welcome
@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 Жыл бұрын
Thank you. Glad to help and thank for letting me know.
@TashieTash2 жыл бұрын
Thank you so much! All my columns are now visible
@AccessAnalytic2 жыл бұрын
That’s great, thanks for letting me know it helped
@mnowako2 жыл бұрын
The easiest way I’ve seen. Thank you!
@AccessAnalytic2 жыл бұрын
You're welcome Mariusz
@sands7779 Жыл бұрын
Useful explanation, breakdown into steps is helpful and thanks for crediting Gil Raviv.
@AccessAnalytic Жыл бұрын
Thanks
@vasilisa6128 Жыл бұрын
Dear, Wyn! Thank you for the video! Great staff! Helped me a lot.
@AccessAnalytic Жыл бұрын
Thanks great to know
@CelsonFC2 жыл бұрын
Learning from Brazil... Thank you!
@AccessAnalytic2 жыл бұрын
You're welcome
@danielmpinga41025 ай бұрын
This worked out great. Thanks so much for the walkthrough.
@AccessAnalytic5 ай бұрын
I appreciate you taking the time to let me know you found it useful
@felipesignorellireis78392 жыл бұрын
Very Good. Cheers from Brazil
@AccessAnalytic2 жыл бұрын
Thanks Felipe
@Dev_Bartwal2 жыл бұрын
You are awesome Sir Thanku and lots of love from India 🥳🥳🎁
@AccessAnalytic2 жыл бұрын
😀 Thanks for taking the time to leave a kind comment
@norbertschmidt65322 жыл бұрын
SUPER, thanks Wyn. I didn't know before.
@AccessAnalytic2 жыл бұрын
Glad to pass on the tips Norbert
@anasschehima516417 күн бұрын
Thanks a lot , that's really brilliant !
@AccessAnalytic17 күн бұрын
I appreciate you taking the time to let me know you found it useful
@jeongwonc64622 жыл бұрын
Very useful! I will keep the formula for the future reference
@johnhackwood1568 Жыл бұрын
Wyn thanks for this golden video, I think this is the best technique I have seen on this issue.
@AccessAnalytic Жыл бұрын
Very kind of you to take the time to say so. Cheers!
@suhaimiabdazais2 жыл бұрын
This is what I'm looking for.. tq for sharing..
@AccessAnalytic2 жыл бұрын
You're welcome
@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 Жыл бұрын
You’re welcome. I hardly remember any code these days!😄
@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 Жыл бұрын
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
@rrrraaaacccc802 жыл бұрын
Excellent. A great use of M functions 💯👍
@AccessAnalytic2 жыл бұрын
Thank you
@erickelley77032 жыл бұрын
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.
@AccessAnalytic2 жыл бұрын
Yes the game has changed rapidly in the last 6 or 7 years. Still lots of room for SQL databases in this world though 😊
@juliusbiliran6 ай бұрын
This is freaking brilliant! Thanks! Life's hard enough, this HELPS me a LOT! LOL! Thanks again!
@AccessAnalytic6 ай бұрын
Glad to help
@tarek.grisha6 ай бұрын
Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you Thank you
@AccessAnalytic6 ай бұрын
You’re welcome 😀
@cristian.angyal2 жыл бұрын
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 😜
@AccessAnalytic2 жыл бұрын
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.7192 жыл бұрын
Brilliant. Just in time. Thanks for sharing.
@AccessAnalytic2 жыл бұрын
Thanks for commenting 😁
@loserfireable Жыл бұрын
This is just what I needed. You are a life saver. Just subscribed to your channel! Appreciate it!
@AccessAnalytic Жыл бұрын
Glad to help Gabby.
@ExcelUnlocked Жыл бұрын
That's a life saver. Amazing content as usual.👍
@AccessAnalytic Жыл бұрын
Happy to help!
@zuhairalmutawa99412 жыл бұрын
Thank you for sharing this great method... that is so helpful
@AccessAnalytic2 жыл бұрын
Glad to help Zuhair
@darrenhall23052 жыл бұрын
Are you a wizard? Because this is MAGIC!! Thank YOU!
@AccessAnalytic2 жыл бұрын
Cheers Darren, check out my podcast / KZbin series Power Query Magic 😄 kzbin.info
@cjjr852 жыл бұрын
Great that's what I am looking for. Thumbs up
@AccessAnalytic2 жыл бұрын
Excellent
@cosladacity12 жыл бұрын
Table.Combine does the same thing without writing code. but this is good learning knowledge
@AccessAnalytic2 жыл бұрын
Yep you do then lose the file names, but if you don't care about those then that's a good option.
@zzota2 жыл бұрын
Amazing. I didn't know that was possible. TVM.
@AccessAnalytic2 жыл бұрын
You’re welcome
@tlee70282 жыл бұрын
Thank you!! i learnt something new ....
@AccessAnalytic2 жыл бұрын
Great, glad to help
@4nnbnn Жыл бұрын
You just save me!!!! Thank you so much for this video ahhhh God bless you !
@AccessAnalytic Жыл бұрын
You're very welcome, thanks for letting me know it was useful
@Fernando_Calero Жыл бұрын
Beautiful indeed, thanks Wyn!
@AccessAnalytic Жыл бұрын
Cheers Fernando
@naresh200 Жыл бұрын
Super. Thats what I needed.. Thank you
@AccessAnalytic Жыл бұрын
You’re welcome
@shamamajamz7103 Жыл бұрын
Thank you so much!
@AccessAnalytic Жыл бұрын
You’re welcome
@vueittraining Жыл бұрын
Thank you Wyn!!!! Just what I needed!
@AccessAnalytic Жыл бұрын
😄 Bill ? 😊
@vueittraining Жыл бұрын
@@AccessAnalytic Sorry!!! 🤣🤣🤣
@AccessAnalytic Жыл бұрын
😆
@MrWish3322 жыл бұрын
Great Video, really very helpful. Best Wishes
@AccessAnalytic2 жыл бұрын
Thanks Vishal, very kind
@tutsecret499 Жыл бұрын
That's the man I was looking for.
@AccessAnalytic Жыл бұрын
Glad to help
@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 Жыл бұрын
Absolutely
@shubhabratadey5 күн бұрын
Beautiful
@AccessAnalytic5 күн бұрын
Cheers
@baskis692 жыл бұрын
Great trick, very useful. Thank you very much¡¡¡¡
@AccessAnalytic2 жыл бұрын
Cheers Arnau
@deeepika91 Жыл бұрын
THANK YOU!!
@AccessAnalytic Жыл бұрын
You’re welcome
@datascienceworld3854 Жыл бұрын
Thank you
@AccessAnalytic Жыл бұрын
No worries
@syedaneesdurez9880 Жыл бұрын
Amazing trick ..
@AccessAnalytic Жыл бұрын
Thanks
@gini77oo Жыл бұрын
GENIUUUUUUUUUUUUUS THANKS!!!!!!!!!!!!!!!!!!
@AccessAnalytic Жыл бұрын
You’re welcome
@LexWil7 Жыл бұрын
Brilliant. Thank you!
@AccessAnalytic Жыл бұрын
You’re welcome 😀
@ExcelWithChris2 жыл бұрын
Thank you!!!! Brilliant stuff.
@AccessAnalytic2 жыл бұрын
Cheers Chris
@Wastrelification Жыл бұрын
Insane man thanks
@AccessAnalytic Жыл бұрын
No worries
@Paquerette67 Жыл бұрын
This is great! Thank you!
@AccessAnalytic Жыл бұрын
You're welcome
@robertrogowski25942 жыл бұрын
Why not just Table.Combine( „#Removed Other Columns 1”[Transform file])? Should work as well.
@AccessAnalytic2 жыл бұрын
Yep you do then lose the file names, but if you don't care about those then that's a good option
@wiggumo2 жыл бұрын
So does that mean 3 excel files. No matter what and how many columns there, they will all consolidate?
@AccessAnalytic2 жыл бұрын
Sure does Mo Lo
@cheikhhakim5864 Жыл бұрын
thank you sir
@AccessAnalytic Жыл бұрын
You’re welcome
@andrewgrant97822 жыл бұрын
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.
@AccessAnalytic2 жыл бұрын
Yep that should work
@malchicken2 жыл бұрын
Much appreciated ^^
@AccessAnalytic2 жыл бұрын
No worries Hendrick
@thuytamdang3390 Жыл бұрын
Thanks a million! Amazing as ussual
@AccessAnalytic Жыл бұрын
Glad to help. Thanks for taking the time to leave a kind comment
@vsrinivasan5742 жыл бұрын
Great, Very useful, thanks
@AccessAnalytic2 жыл бұрын
Glad it was useful, thanks for taking the time to leave a kind comment
@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 Жыл бұрын
fYI..I'm dealing with 69 columns in the List from the "Headings"
@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Ай бұрын
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Ай бұрын
I don’t understand sorry
@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Ай бұрын
@@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Ай бұрын
Thanks a lot for your answer, that would really help.
@lucianoelias8961 Жыл бұрын
AWESOME!
@AccessAnalytic Жыл бұрын
Cheers
@cesarsaldana3429Ай бұрын
amazing!!!!
@AccessAnalyticАй бұрын
Cheers
@vacilando862 жыл бұрын
İt's easy but literally life saver
@AccessAnalytic2 жыл бұрын
Great to know, thanks Alpay
@m.i.drissboutriha7665 Жыл бұрын
brilliant
@AccessAnalytic Жыл бұрын
Thank you
@TheBebwa8 ай бұрын
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?
@AccessAnalytic8 ай бұрын
Use the Transform Sample File query to remove the first rows, then that automatically applies to each file
@TheBebwa8 ай бұрын
This worked. Thanks@@AccessAnalytic
@AccessAnalytic8 ай бұрын
Great, thanks for letting me know
@jaruwanu2 жыл бұрын
Thank you very much
@AccessAnalytic2 жыл бұрын
You're welcome
@EslamAbdo191910 ай бұрын
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?
@AccessAnalytic10 ай бұрын
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
@ExcelWizard2 жыл бұрын
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
@AccessAnalytic2 жыл бұрын
I like / prefer the Table.Combine approach - I used it here kzbin.info/www/bejne/rGiuZZ-kgb2hnqc
@ExcelWizard2 жыл бұрын
@@AccessAnalytic Great challenge
@AccessAnalytic2 жыл бұрын
@@ExcelWizard Thanks
@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 Жыл бұрын
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 Жыл бұрын
@@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 Жыл бұрын
@@sulemanharoon - correct 😀
@sulemanharoon Жыл бұрын
@@AccessAnalytic Thank you ! You and your videos are always a great help !
@ChrisSmithFW2 жыл бұрын
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.
@AccessAnalytic2 жыл бұрын
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
@ChrisSmithFW2 жыл бұрын
@@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!