Clean Up and Combine P&L Statements from Multiple Excel Files || Power Query Case Study

  Рет қаралды 22,794

Goodly

Goodly

Күн бұрын

Check out our newly launched M Language course ↗️ - goodly.co.in/l...
In this video, we will walk you through a practical case study on how to clean up and merge Profit and Loss (P&L) data from multiple Excel files automatically using Power Query.
We'll organise, transform, and merge multiple P&L worksheets into one consolidated report using various functions and techniques in Power Query.
#PowerQueryCaseStudy #ExcelAutomation #DataAnalysis
===== ONLINE COURSES =====
✔️ Mastering DAX in Power BI -
goodly.co.in/l...
✔️ Power Query Course-
goodly.co.in/l...
✔️ Master Excel Step by Step-
goodly.co.in/l...
✔️ Business Intelligence Dashboards-
goodly.co.in/l...
===== LINKS 🔗 =====
Blog 📰 - www.goodly.co....
Corporate Training 👨‍🏫 - www.goodly.co....
Need my help on a Project 💻- www.goodly.co....
Download File ⬇️ - goodly.co.in/c...
===== CONTACT 🌐 =====
Twitter - / chandeep2786
LinkedIn - / chandeepchhabra
Email - goodly.wordpress@gmail.com
===== WHO AM I? =====
A lot of people think that my name is Goodly, it's NOT ;)
My name is Chandeep. Goodly is my full-time venture where I share what I learn about Excel and Power BI.
Please browse around, you'd find a ton of interesting videos that I have created :) Cheers!

Пікірлер: 105
@pabeader1941
@pabeader1941 Жыл бұрын
4 minutes 30 seconds into the video. That's when my jaw hit the floor. 4 minutes and 30 seconds. I had to stop the video at that point and give my brain time to digest what it had just received. To work it's way through the myriad of hours I've spent trying to find a way to do exactly that. You are amongst the very few content creators that can do that to me. My oh my!
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Thanks. There is more to come :)
@mnowako
@mnowako Жыл бұрын
My jaw just dropped. What an amazing lesson. Thank you!
@hapemokenela7388
@hapemokenela7388 Жыл бұрын
I've just discovered this channel, this dude is an amazing teacher.
@cesarsaldana3429
@cesarsaldana3429 2 ай бұрын
Amazing!!!!! Greetings from Mexico.
@williamarthur4801
@williamarthur4801 Жыл бұрын
Ingenious as your number selection was I found ; List.Select( List.Transform( Table.ColumnNames( Custom1 ), (B)=> try Number.From(B) otherwise "A" ), (C)=> C "A") a bit simpler.
@Drew-vp
@Drew-vp Ай бұрын
You're one of the best on youtube for this subject. Your videos are short but so powerful. Thank you so much.
@krishanphophalia9303
@krishanphophalia9303 Жыл бұрын
Chandeep, You are genius and sharing such knowledge is truly noble deed. Great appreciation from bottom of my ❤. I have learnt a lot and always wait for weekend to watch your videos. 😍😍😍
@OdelLeal
@OdelLeal Жыл бұрын
That’s great content. You’re a great Teacher.
@imadnb3579
@imadnb3579 Жыл бұрын
Mind blowing stuff!!! I was looking for the files to practice - I found them in your blog, Thanks Chandeep.
@chrism9037
@chrism9037 Жыл бұрын
Chandeep, you are a genius with PQ, thanks!
@pabeader1941
@pabeader1941 Жыл бұрын
You deserve every penny!
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Thank you so much ❤️
@emilmubarakshin49
@emilmubarakshin49 Жыл бұрын
I’m actually doing something along this but as per usual Chandeeps ingenuity has no limit
@syrophenikan
@syrophenikan Жыл бұрын
Absolute GENIUS!!!!!! I learned MANY new things in this video. Great job.
@mirrrvelll5164
@mirrrvelll5164 Жыл бұрын
Great course! This was smooth. Do more like these real-time problems =)
@paser2
@paser2 Жыл бұрын
You sir, are brilliant! Thanks for sharing your knowledge is a simple to understand method. Keep up the great work.
@KuldeepSingh-nq1vi
@KuldeepSingh-nq1vi Жыл бұрын
Really you are Awesome to teach us in so easy manner..
@brightonalbert3237
@brightonalbert3237 7 ай бұрын
thank you so much was handling a file per file
@GrainneDuggan_Excel
@GrainneDuggan_Excel Жыл бұрын
Marvelously clear explanation! thanks Chandeep
@Piyush.A
@Piyush.A Жыл бұрын
Bravo Mr. Goodly Chhabra!
@mis-g7n
@mis-g7n 7 ай бұрын
Fantastic video, as always! Would you be able to create a similar video covering a case where you deal with tables with variable column names. E.g. when exporting pdf file with tables into PQ which in PQ looks jumbled up, i.e. columns and rows misaligned, column headers appearing in different rows and with variable empty cells in-between.
@omermirza5994
@omermirza5994 4 ай бұрын
Incredible. You're awesome. This will make me go back and simplify everything I've done :D
@siddheshamrutkar8684
@siddheshamrutkar8684 Жыл бұрын
WonderFul.. 👍
@alexrosen8762
@alexrosen8762 Жыл бұрын
Amazing tutorial. I have learned so much! Thanks Goodly 🙏
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Glad it was helpful Alex :)
@alinelung
@alinelung Жыл бұрын
Thank you for the outstanding tutorials! They have been immensely beneficial.
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Great to hear :)
@tunaikinyanguk5493
@tunaikinyanguk5493 Жыл бұрын
awesome as always!
@hariprasad289
@hariprasad289 Жыл бұрын
Thank you Goodly for your knowledge sharing. Really worth a ton..
@Wid76
@Wid76 Жыл бұрын
Just awesome , Love your Power Query course and your studies!
@jimfitch
@jimfitch Жыл бұрын
Terrific tips here! Thank you!
@BrainyBrunetteBarbie
@BrainyBrunetteBarbie Жыл бұрын
Well, that was just beautiful. Cannot wait to use this method!
@mohitchaturvedi8931
@mohitchaturvedi8931 Жыл бұрын
Master class. Are you mvp now? I voted for you.
@juanocasio8998
@juanocasio8998 8 күн бұрын
Great content. Is there a way to do the same thing with a folder full of text files? They import as binary in the Content column, but I can't figure out how to convert that to a table
@ravchana2393
@ravchana2393 Жыл бұрын
Singh you smash it every time bro 👊🏽⚡️
@mohammedabdulwahab4152
@mohammedabdulwahab4152 9 ай бұрын
HI Goodly, Your video are awesome, Details, and advanced, Easy to follow and quick to learn, I am beginner and learnt most stuff watching your video, I work in Readymix Concrete industry and so i have different location instead of Stores, The first line item of income statement of my industry is the sales volume quantity in M3(metric Cube), so all the rest of Main and Subline line items are divided by Sales volume to reach the unit per M3 of every item, Could you please provide me measure to divided first line item sales volume with rest of the Item. This is the biggest hurdle i am facing as beginner and also share like of video showing tips to write a measure.,
@mdm3770
@mdm3770 6 ай бұрын
Wow! Nice one! How do you make annotations at the same time you are recording ?
@raimundojs9547
@raimundojs9547 Жыл бұрын
Perfect! Thank you for sharing.
@Chillman666
@Chillman666 Жыл бұрын
Hi Goodly! Haven't faced such task yet but still looks amazing how much could be accomplished with Power Query. Recently I managed to adapt one of your latest techniques for automatically detecting Headers no matter at which row they start (you showed something similar in this video, as well) and it works like a charm! At this point my Power Query would stop working only if someone manages to change a name of a column which we need to keep as a part of the final result (and I have added Proper case step so upper or lowercase letters in columns' names won't stop Power Query. As long as we have a key word in source's name, correct sheet's name and all our crucial columns' names intact everything is fine when I handover such automated task to someone else who just have to update the sources, refresh, save and send latest results. And this saves so much time it is unreal but also prevents the chance for human error. Thank you again for all your time and efforts you have put in this cause. It really makes a difference ❤!
@rexnguyen6247
@rexnguyen6247 Жыл бұрын
😊😊😊😊
@vadnerepravin
@vadnerepravin Жыл бұрын
Thank you very much for this informative video
@leroymarcelswartz8693
@leroymarcelswartz8693 Жыл бұрын
Great help vids, youre awesome, I see you changed the wording in your courses shoutout, i half expected to sing along again
@balajisurvase142
@balajisurvase142 Жыл бұрын
again!! amazing case study video !!! can we get the same videos of case studies in the future also?
@PedroCabraldaCamara
@PedroCabraldaCamara Жыл бұрын
Fantastic
@karinamatvejeva3164
@karinamatvejeva3164 Жыл бұрын
Amazing 🤩 thank you!!!
@sc71blazer
@sc71blazer 2 ай бұрын
First a disclaimer, I am a novice so my questions will show my lack of expertise. Why did you take the route of cleaning one file and making the code a function to then use on all the files, instead of loading all the files from a folder, select combine and transform and clean the data using the techniques in your video. Wouldn't that apply all the steps to all the files in the folder, just like the function solution in the video does? If the answer is "yes", what are the benefits of going the function route? Or is it a personal preference? Also, I would want to keep the store ID somewhere in my reporting. I think it is on the first line or two of the source data. Any ideas how to keep that in the solution? Thank you so much. I really am enjoying your videos, have recommended you to several friends, and will likely sign up for your class in the near future.
@abdulhaseeb8027
@abdulhaseeb8027 Жыл бұрын
I have created something similar recently using the same technique. I referred a bunch of ur videos for that and my solution was quite similar.
@abdulhaseeb8027
@abdulhaseeb8027 Жыл бұрын
All credit to you and ur videos.
@ssananda
@ssananda Жыл бұрын
Toooooooooooo Gooooooooooood sirji
@sanumpzha
@sanumpzha Жыл бұрын
Nice Video Chandeep.👍
@rifkagumay
@rifkagumay 8 ай бұрын
Terima kasih.
@GoodlyChandeep
@GoodlyChandeep 8 ай бұрын
Thanks a lot!
@geovanrocha2822
@geovanrocha2822 7 ай бұрын
Super!
@saviofarrar8282
@saviofarrar8282 Жыл бұрын
Hi Chandeep! Can we perform a similar method when we import csv files?
@mnowako
@mnowako Жыл бұрын
Thanks
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Thanks a ton Mariusz!
@tnssajivasudevan1601
@tnssajivasudevan1601 Жыл бұрын
Great Sir
@brij26579
@brij26579 Жыл бұрын
Awesome👌👌👏👏
@lynxwomancat
@lynxwomancat Жыл бұрын
Hi, Chandeep. I can see this solving many issues I currently have. Is it possible for you to post/paste the Advanced Editor (M code) for both the function and the query. I'm one who needs to see the code and interpret the whole. I love your videos, they help me so much! I'm saving this video in my library so I can go through, step-by-step, to solve and develop muscle memory. UPDATE: I was reading the comments below and see you have sample files in your Blog. I'll go there to get the M Code.
@light_gaming7235
@light_gaming7235 Жыл бұрын
Goodly bhai make a video on IRR MONTH WISE PLEASE
@jamesstramer5186
@jamesstramer5186 Жыл бұрын
Another case study! I really enjoy trying these out on my own and then looking at your method. Please keep uploading these!
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Thanks James! There is more to come :)
@silverfunnel6819
@silverfunnel6819 Жыл бұрын
I wonder why Power Query isn't used in my company. We are about 150 and I am the only one having knowledge in M language. Such a good tool.
@Rice0987
@Rice0987 Жыл бұрын
@@silverfunnel6819 the same situation in our company. VBA is maximum at couple people. Moreover they often use xls instead of xls* format.🤔 And i'm always resaving them into new format!
@pabeader1941
@pabeader1941 Жыл бұрын
@@silverfunnel6819 Often it is lack of knowledge. Most people don't venture beyond what they were first shown. You need to be the one to show them the light. If they continue to stay in the darkness that is their failing.
@silverfunnel6819
@silverfunnel6819 Жыл бұрын
@@pabeader1941 You hit the bull's eye🙂.
@Bhavik_Khatri
@Bhavik_Khatri Жыл бұрын
Excellent video and I learnt lots of new techniques.Can you please provide files too?
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Thanks Bhavik. You can get the file here - goodly.co.in/clean-up-and-merge-from-multiple-excel-files-automatically-power-query-case-study/
@kebincui
@kebincui Жыл бұрын
Awesome👍
@eslamfahmy87
@eslamfahmy87 Жыл бұрын
great work, but my P& L tables are different, and that answer , not work with it. So, can I share with u my data ? To explain for us new things
@jerrydellasala7643
@jerrydellasala7643 Жыл бұрын
Goodly, great video as always! One thing. For some reason when I tried to edit any of the M Code, the Intelisense would not work! I was able to use it in a new blank file and even older files without a problem. I found that the file's language was English(India) and changed it to English(US) but that didn't help either. I checked all the relevant settings but couldn't find a solution. I am using the Insider Beta edition, but I doubt that's the issue. Any idea of what the problem might be?
@RobertoPoehlmann
@RobertoPoehlmann Жыл бұрын
Hi, you can add a column with the store name from the first row of the firts column, instead of deducing it from the file name. There is an easy way.
@Rice0987
@Rice0987 Жыл бұрын
On our production we had such file. And i was ready to convert this to normal view, but i've asked could we enter data in a bit another format and i've got the answer YES. So, i just create normal table where now they enter data. 😁
@alexanderbitschi7623
@alexanderbitschi7623 Жыл бұрын
Hi Goodly! I have used your video to read a lot of PDF-Files. The Problem is, that in the PDF‘s there are pages and tables. In the function I have filtered rows only for pages. After expanding the pages I have made the necessary steps to get the data I need. So far so good - but how can I use the function for the other files, if every files includes pages and tables? I hope you can help me or better said, you have time for answering my question. Thank you in advance.
@johnveliku
@johnveliku Жыл бұрын
this guy has a special place in Heaven!
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
haha Thanks john :)
@eisaal-binali4968
@eisaal-binali4968 3 ай бұрын
i have same problem but in deferent formant , how you can help me
@robrayborn1349
@robrayborn1349 7 ай бұрын
I can't seem to get this to work with a folder full of csv files. Any advice?
@ankursharma6157
@ankursharma6157 Жыл бұрын
Token of Gratitude!
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Thank you so much
@aftabsiddique3650
@aftabsiddique3650 Жыл бұрын
Hi! Could you update this video with multiple sheets in each file.
@minadev1
@minadev1 6 ай бұрын
what do you mean by Pivoated?
@Anthony_Lecoq
@Anthony_Lecoq Жыл бұрын
Great video Chandeep as usual. At 15min02 you commented several line with several // at once ? Uselly i wrap them between /* and */ . What was the keybord shortcut used to comment several line with // ? Looks pretty for development purpose ;) thanks in advance ;)
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Ctrl /
@Anthony_Lecoq
@Anthony_Lecoq Жыл бұрын
@@GoodlyChandeep thanks a lot ;) will be usefull.
@Anthony_Lecoq
@Anthony_Lecoq Жыл бұрын
@@GoodlyChandeep I tried "Ctrl" button simultaneously with the "/" button I tried a bunch of potential key combination but it did not work neither. Does it require q specific add-in ?
@nunolourenco1532
@nunolourenco1532 Жыл бұрын
NOICE!!!!
@Anthony_Lecoq
@Anthony_Lecoq Жыл бұрын
For some reason, ctrl + / does not work on my computers… but I found another shortcut in microsoft documentation that works ;) ctrl + k + c to comment and ctrl + k + u to remove the comment ;)
@Deoreth
@Deoreth Жыл бұрын
I prefer to generate values I need to keep and then filter by them like so: let Source = { 1, 2, 3, 2023, "2022", 2020, "a", 5.5, 6, "b", 8, 8.5, "c", "null", null }, Converted = List.Transform ( Source, each try Number.From ( _ ) otherwise null ), YearsList = List.Generate ( () => 2019, each _
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Neat!
@robrayborn1349
@robrayborn1349 Жыл бұрын
Followed this all the way through to end up with " An error occurred in the ‘’ query. Expression.Error: We cannot convert the value "InputTable" to type Table. Details: Value=InputTable Type=[Type]"
@robrayborn1349
@robrayborn1349 Жыл бұрын
I figured it out. I've found this instruction immensely helpful!
@Ratnakumarwrites
@Ratnakumarwrites Жыл бұрын
Chandeep you know how to teach Man
@JustinCamp100
@JustinCamp100 13 күн бұрын
Yar bhai kahan se sikha inta
@GoodlyChandeep
@GoodlyChandeep 13 күн бұрын
time pass karte karte agaya bro!
@Rice0987
@Rice0987 Жыл бұрын
All is ok, but rocket animation is really bad idea... Greetings from Ukraine!
@GoodlyChandeep
@GoodlyChandeep Жыл бұрын
Oh crap.. I thought people are gonna like it :(
@Rice0987
@Rice0987 Жыл бұрын
@@GoodlyChandeep you've used not proper type of rocket. :(
@EftyHasanRatul
@EftyHasanRatul 11 ай бұрын
Talk slowly bro😢
@farooqtahir538
@farooqtahir538 3 ай бұрын
we are not interested to learn M language
@baroute78160
@baroute78160 Жыл бұрын
Hey, again a very interesting case study with unstructured file. The tips of Table.Skip function in the beginning is priceless thank you ! Another thing, interesting way to use [HasError] in the record. Maybe another way with the syntax « try Number.From(_) otherwise null » and use the function List.RemoveNulls. Same result at the end but just different way 😬 Thanks a lot for all your videos ❤
@fracyoulongtime8123
@fracyoulongtime8123 Жыл бұрын
I
@radon8452
@radon8452 Жыл бұрын
Another possibility → try Number.From(_) is number otherwise false
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 61 МЛН
Новый уровень твоей сосиски
00:33
Кушать Хочу
Рет қаралды 4,7 МЛН
Шок. Никокадо Авокадо похудел на 110 кг
00:44
Bike Vs Tricycle Fast Challenge
00:43
Russo
Рет қаралды 94 МЛН
Cleaning Messy Data | Power Query Case Study
13:26
Goodly
Рет қаралды 30 М.
45) How to create measure as a slicer in power bi #powerbi #dax
5:19
Intelligence For Business
Рет қаралды 7 М.
5 Surprising Power Query Tricks You Need to Know!
14:14
Goodly
Рет қаралды 33 М.
Advanced Unpivoting Tricks in Power Query
30:19
Goodly
Рет қаралды 19 М.
Table.TransformColumns in Power Query | Super Function ⚡
18:50
Convert Multiple Column Groups to Rows in Power Query
17:18
Players vs Corner Flags 🤯
00:28
LE FOOT EN VIDÉO
Рет қаралды 61 МЛН