🔴 Solving Advanced Data Cleaning Problems in Power Query (+ downloadable files)

Поділитися
Вставка
  • Опубліковано 5 тра 2023
  • Check out our newly launched M Language course ↗️ - goodly.co.in/learn-m-powerquery/
    Download Output - www.goodly.co.in/advanced-pow...
    ===== ONLINE COURSES =====
    ✔️ Mastering DAX in Power BI -
    goodly.co.in/learn-dax-powerbi/
    ✔️ Power Query Course-
    goodly.co.in/learn-power-query/
    ✔️ Master Excel Step by Step-
    goodly.co.in/learn-excel/
    ✔️ Business Intelligence Dashboards-
    goodly.co.in/learn-excel-dash...
    ===== LINKS 🔗 =====
    Blog 📰 - www.goodly.co.in/blog/
    Corporate Training 👨‍🏫 - www.goodly.co.in/training/
    Need my help on a Project 💻- www.goodly.co.in/consulting
    ===== 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!
  • Наука та технологія

КОМЕНТАРІ • 100

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

    Download the output file here - goodly.co.in/wp-content/uploads/2023/05/Solving-Tricky-Data-Cleaning-Problems-Ouput.xlsx
    and please watch this video on List.Accumulate - ua-cam.com/video/RIo4OrPixco/v-deo.html

    • @willm7994
      @willm7994 10 місяців тому

      Hi I have found that the links to your courses and workbooks don't work, Is there an issue with your site ?

    • @GoodlyChandeep
      @GoodlyChandeep  10 місяців тому

      @@willm7994 Yes our hosting is down for a bit. It should be working anytime soon. Thanks for being patient.
      If you can drop me an email - goodly.wordpress@gmail.com
      I can let you know when we are up and running

    • @willm7994
      @willm7994 10 місяців тому

      @@GoodlyChandeep thanks will drop you a message I have become quite a fan of your content

    • @GoodlyChandeep
      @GoodlyChandeep  10 місяців тому

      @@willm7994 thanks, The website is working now.

    • @willm7994
      @willm7994 10 місяців тому

      @@GoodlyChandeep thanks just downloaded a workbook 👍

  • @Excelambda
    @Excelambda Рік тому +7

    Super cool!!
    A formula alternative:
    =LET(a,B4:B22,b,C4:C22,u,UNIQUE(a),
    w,BYROW(u,LAMBDA(x,LET(t,TEXTSPLIT(TEXTJOIN(" ",,IF(x=a,b,"")),{"-"," ","="},,1),TEXTJOIN(" ",,--FILTER(t,ISNUMBER(--t)))))),
    HSTACK(u,IFERROR(--TEXTSPLIT(TEXTJOIN(",",,w)," ",",",,,""),"")))
    Note: The results are numbers, not text

  • @konstantinevseyenko9312
    @konstantinevseyenko9312 Рік тому +5

    List.Reverse([Position]) to insert delimiters from the last position instead, will eliminate need of shift calculation

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

    My man, it's simply amazing. You're the best. Thanks a lot.

  • @RaviGupta-mo1nf
    @RaviGupta-mo1nf Рік тому +2

    The efforts you put in to bring such wonderful videos shows the passion you have.
    I have been learning a lot and also becoming more passionate about PQ, PBI & Excel.
    To me, you are a true Guru and I cannot thank you enough.
    I repay your debt by teaching/helping others without payment.
    Thank you once again Chandeep.

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

    Thank you for your insights! I really enjoyed this presentation and learned some techniques!

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

    Thanks for your Explanation. Try it right away on Monday 😊

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

    It is amazing how you can combine several complicated transformations into a few steps.
    The main lesson I took from all this is what you said in the beginning: if one wants to do anything more advanced one should preferably use lists.
    Thank you for this very interesting video.

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

    Thank you, I always end up with a headache trying to work out how best to fix messy data from excel and pdf files, your explanation on List.Accumulate and how to get the results I want helps me so much

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

    Super detailed tutorial. Thanks

  • @raimundojs9547
    @raimundojs9547 Рік тому +2

    I can't thank you enough. You're brilliant!

  • @tak0331
    @tak0331 Рік тому +2

    Great explanation as always! Best part is how you calmly troubleshot errors on the fly - this helped the training resonate even more.
    Let’s get this man 100k subscribers asap.

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

    Excellent. Looking forward to more videos like this with advanced level ❤👍

  • @user-gp5su2mj2b
    @user-gp5su2mj2b 7 місяців тому

    very very excellent, Thanks for your Great explanation

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

    My man, you are super, clearly explained. Key take away for me is that I need to step up my game when I see you do this M magic 😅

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

    You are one of the best in this language Goodly. 🎉🎉 Congrats. NASA level

  • @cristian.angyal
    @cristian.angyal Рік тому

    Missed the Live session but definitely watching the recording!

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

    This is great !!
    What about Split Column and applying By Non-digit To Digit after query " Table.Group(#"Changed Type", {"Transaction NO"}, {{"All", each Text.Combine(_[Payment]," ")}})" .

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

    Thanks for sharing this

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

    Thanks, well i get the same results by using "Column from Example" solely by using UI in 10 steps

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

    Hello from Zimbabwe, missed the live session, but practicing with the recorded video. Thank tutor

  • @007lbp
    @007lbp Рік тому

    Amazing...Advanced M.....Fantastic

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

    Thanks!

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

    App acha teach kertay han please hindi ma be explain kiya kren

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

    ❤❤❤❤ super bro thanks 👍👍👍

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

    Joining from Spokane, WA - United States

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

    Thank you

  • @user-nj2td7ps8w
    @user-nj2td7ps8w 10 місяців тому

    ya chandeep i learnt m code... but still practice more

  • @user-gy2md6dc9p
    @user-gy2md6dc9p Рік тому

    This is a very superb transformation. The crux is making use of the implicit looping in M functions to do the transformations. This example appears complex because it involves two level of looping and application of multi-level looping using M-code transformation is not intuitive to the general folks. Anyway, thanks Chandeep for your detailed explanation with this example.

  • @anuragkumar-dm1er
    @anuragkumar-dm1er Рік тому +1

    Perfect Session. Please do a live session at least once a month. Thanks

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

      Glad you like this Anurag! Yes, we are doing one live session a month!

  • @carolshipley7903
    @carolshipley7903 7 місяців тому

    Wonderful

  • @midmindconsulting1298
    @midmindconsulting1298 9 місяців тому

    you are really a STAR .. Thanks for sharing your knowledge ! Love you Bro !

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

    So WoW, wish you the best and hope to see more video from you. Thanks to you, I always have "surprised" moment whenever watching your video 🎉🎉🎉

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

    It will never be too early for Microsoft to start implementing some regular expressions functionality in their mainstream software. If MS read this, they will retaliate removing that little regexp-like stuff that they have in Word :-) This case would have been an ideal candidate for an easy solution. Thank you for the videos, there is always some interesting tip and technique to be found in them.

  • @DeepakKashyap-fr3ek
    @DeepakKashyap-fr3ek 6 місяців тому

    Hello, Chandeep, Deepak joining from Poland

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

    At 35:00 isnt it better to sort list descending order so that symbols insert from positions at end of string?

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

    Seattle, WA ... Mostly DAX editor

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

    It's amazing!!!!!!!!!

  • @user-lm5wb8vi1x
    @user-lm5wb8vi1x 8 місяців тому

    finished watching

  • @Travel-Costa-Rica
    @Travel-Costa-Rica 11 місяців тому

    Cartago, Costa Rica

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

    You are a legend.

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

    46:35 Rather than trying to guess the delimiters, is there a way you can write in the code something like Is.SpecialChar() - kind of like Is.Num() - and use something like that to clean it up?

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

    40:16 Could we have removed the dashes before splitting the columns?

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

    16:37 Hey Chandeep, Question: You had named your query here “Cols”. So why is it that after you converted it to a list, the M code is referencing “Cols1”? Thanks.

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

    You are awesome 👍

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

    This example is arranged with fixed width. What if each field is with variable width?

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

    both!!

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

    Thank you for this live and your clear explanations. I searched for the files to download but couldn't find them, could you attach them please?

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

      pinned comment

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

      @@GoodlyChandeep Thank you for the file, very good video I learned a lot about the possibilities of List.Accumulate

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

    I use power query instead of M-code, but I am interested in learning it if it will save time. CT

  • @user-nj2td7ps8w
    @user-nj2td7ps8w 10 місяців тому

    I am Prabhakar from Bangalore

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

    M from Indore bro

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

    You could also have used function Splitter.SplitTextByPositions

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

      This seems a good idea, but it is extremely dificult to implement. I tried but failed. The key obstacle is that Table.SplitColumn() with Splitter.SplitTextByPositions cannot get the positon values from the other column, it only handle the data in each own column respectively. If you can do thsi, please kindly share your code. Thanks in advance.

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

      @@kebincui unfortunately I‘m not using Power BI any more (retired)

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

    Why not use space to separate columns, which saving some steps!

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

    What if the Source File is used for the Merge + Append + Group transformations with other files . but now the source file got Updated with Lots of Data and it is difficult to update the file and we need to replace the source file alltogether, with new file with same name, without affecting the previous output. Can it be done with "Parameters" Setting or something else. Please Advise.

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

    36:00 what about using text.replace and replace spaces with pipe ( | ) character

  • @SSi-nq3rt
    @SSi-nq3rt 3 місяці тому

    guess that would have been to complicate. 😶‍🌫️ guess i woul have taken the complex way by creating one table per group, cleansed the first table, copy the code to the remaining tables and then append it again into one table. Or….. just do it more or less manually. And then go to the person who created that list AND…🤔…

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

    USA NJ I use the user interface

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

    Hi how are you

  • @user-sl6ke5wz3z
    @user-sl6ke5wz3z Рік тому

    can u make a video on power query template...how to make a template n reuse it..everymonth my complete data is deleted n new report is pasted..how can i use power query

  • @user-rm2xv2sf1q
    @user-rm2xv2sf1q 9 місяців тому

    From Madagascar

  • @amitjain7949
    @amitjain7949 7 місяців тому

    Hi Chandeep, Pleaseeeee make video on how to upload zip nse bhavcopy to power query from web

    • @IrshadKhan-vk8rn
      @IrshadKhan-vk8rn 7 місяців тому

      @amitjain7949 brother you use some python functions to automatically download the file to the folder location. Once these file are downloaded then create a function using this link code sql10.blogspot.com/2016/06/reading-zip-files-in-powerquery-m.html?m=1 once you created the function just get the data from the folder once done you can then use this function to extract the files from zip file without actually extracting it to that location. Hope that helps.

  • @Mr.VJ0527
    @Mr.VJ0527 Рік тому

    Delhi ncr

  • @SouravMondal-hb8rz
    @SouravMondal-hb8rz 5 місяців тому

    Sir in power Bi how we can keep nth length space Between two text ....? And that space should be visible in visualisation as well

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

      Text.Pad function in Power Query might help

  • @shankar49677
    @shankar49677 10 місяців тому

    Familiarising or updating excel knowledge

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

    Geneva

  • @abcabc-kn4fh
    @abcabc-kn4fh Рік тому

    Bhavnagar gujarat

  • @shankar49677
    @shankar49677 10 місяців тому

    India

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

    Hi sir ., one quary in power quaries in excel work book 1 sheet have Tractor loan data and 2 sheet have home loan data every month we save can youn solve my quries how that work book both data append in power quries but both should be month wise append 1 sheet Tractor loan data april to dec and 2 sheet home loan data april to dec 2 sheet in power quaries

  • @yesmayhem
    @yesmayhem 9 місяців тому

    My client has 80s bandwidth. It's going to take a couple of months to get near speed. I notice the with each action processing queries and loads takes longer. The larger the data set the worse it gets. I tried to create the query with a slimmed down data set. same thing. Is there a way to get past horrible bandwidth?

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

      I really don't know the answer to this 😐

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

      @@GoodlyChandeep lol Thanks for saying this. There are a couple of issues that Power Query may be missing on. At the point of import. I realized that in explorer you can filter file metadata. You can filter on fields like dates in explorer and in its search bar. Power Query should be able to leverage this and other pre import filtering as it does within its already imported dataset. Doing this would be a nice head
      start.

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

    💯👍

  • @user-jl3ml5tg1p
    @user-jl3ml5tg1p Рік тому

    🙂

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

    How to mail you??

  • @shankar49677
    @shankar49677 10 місяців тому

    Coimbatore

  • @Mr.VJ0527
    @Mr.VJ0527 Рік тому

    Interface

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

    Pune

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

    Hey
    Can anyone help me to clean data & visualize in power bi

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

    please provide original file not the output file.

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

    41:33 Nor do you know how many junk characters there will be.

  • @user-lm5wb8vi1x
    @user-lm5wb8vi1x 8 місяців тому

    finished watching