Free M Code Class from Basic to Advanced: Power Query Excel & Power BI, Custom Functions 365 MECS 12

Поделиться
HTML-код
  • Опубликовано: 26 июл 2024
  • Download Zipped Folder with All Files: excelisfun.net/files/12-M365E...
    This video is a comprehensive lesson in Power Query M Code in Excel & Power BI.
    This full free Microsoft 365 Excel & Power BI class is taught by Excel MVP and Highline College Professor and can be found here: • Excel & Power BI Compl...
    This video covers.
    1. (00:00) Introduction
    2. (00:26) Define M Code
    3. (03:05) Power Query and M Code are in Both Excel and Power BI Desktop
    4. (05:08) Advanced Editor button in Excel & Power BI Desktop
    5. (05:39) Power BI Desktop “Enable Load”
    6. (06:22) M Code Basics, tour of Power Query Editor and the three locations to view and change M Code. We use a Group By Query to learn about the basics of M Code.
    7. (10:23) M Code Identifiers and spaces.
    8. (14:21) let expression definition and structure.
    9. (16:32) Expressions
    10. (18:20) Insert or Delete Query (let expression) Steps: 2 possibilities.
    11. (24:45) #shared to show Standard Library in Power Query
    12. (26:32) Learn about 15 M Code Values: Null, Logical, Text, Number, Time, Date, DateTime, DateTimeZone, Duration, Table, Record, List, Binary, Function, Type
    13. (33:15) IF function and AND Function in M Code
    14. (36:23) Compare Excel Close & Load to Power BI Desktop Close & Apply
    15. (38:45) Copy and Paste Tables into Power BI Desktop.
    16. (39:35) Power Query Date and Duration Examples
    17. (46:32) Table Values
    18. (51:08) Record Values
    19. (53:37) List Values
    20. (59:05) Binary, Function and Type M Code Values
    21. (59:40) Data Types
    22. (59:40) Values Vs. Data Types
    23. (01:01:38) M Code Lookup: Two-way Lookup, Column Lookup, Row (or Record) lookup. Also know as: Projection (lookup column) and Selection (lookup row)
    24. (01:03:19) Diagrams for M Code Lookup
    25. (01:06:04) Row Index Lookup
    26. (01:07:15) Key Match Lookup
    27. (01:08:55) Drill Down, Primary Keys and Lookup
    28. (01:13:33) Custom Functions (5 examples to learn basics)
    29. (01:17:50) Build reusable function.
    30. (01:22:08) Build Custom Function as a Query Step.
    31. (01:27:04) each and Underscore.
    32. (01:29:47) Approximate Match Lookup M Code Custom Function (4 examples)
    33. (01:39:13) Full Video Summary and Conclusions
    34. (01:40:32) Closing and Video Links
    Song in video: Rock Intro 3 by Audionautix is licensed under a Creative Commons Attribution 4.0 license. creativecommons.org/licenses/... . Artist: audionautix.com/
    #Girvin
    #excelisfun
    #M365
    #MECS
    #Microsoft
    #MCode
    #PowerQuery
    #PowerBI
    #DataMashup
    #LearnMCode
    #FreeMCodeClass
    #LearnMCodeFast
    #MCodeMadeEasy
    #MCodeLanguage
    #CustomFunctions
    #MCodeCustomFunctions
    #PowerQueryLookup
    #MCodeLookup
    #MCodeSpecifications
    #datascience
    #PowerQueryMCode
    #DataAnalysis
    #MicrosoftDataAnalytics
    #PowerQueryMCode
    #PowerBIMCode
    #McodeAndDAX
    #datacleaning
    #datatransformation
    #ETL
    #advancedexcel
    #mcode
    #powerbi
    #excel
    #businessintelligence
    #businessanalystcourse
    #mcodetutorial
    #mlanguage
    #mlanguagetutorial
    #powerbitutorial
    #powerquerytutorial

Комментарии • 341

  • @excelisfun
    @excelisfun  Год назад +23

    Dataflows (Power Query Online) is introduced in the next video MECS #13 : )
    There are a practice files for both Excel & Power BI Desktop! The practice files (homework) are in both files, but instructions are only in Excel file on the HW(1) worksheet.

    • @ExcelInstructor
      @ExcelInstructor Год назад

      Hi Mike great Video.
      19:50 Probobly under 1 of my comments I already showed a solution for dynamic type pickup. so you can use exact same technique to rename columns. and when used with M code if statement you can create quite advanced way of renaming columns, including an excel Table which would have table column names and its renamed column.

    • @excelisfun
      @excelisfun  Год назад

      @@ExcelInstructor That is in the next video : )

    • @ExcelInstructor
      @ExcelInstructor Год назад +1

      41:53: When im trying to explain adding values in PQ as easy to understand example im using fraction addition. becouse when adding fractions denominator has to be the same for all the fractions that we want to add, so in a sense Power query "denominator" is the data type we are opereting on.

    • @excelisfun
      @excelisfun  Год назад

      @@ExcelInstructor That is a great example : ) : )

    • @ExcelInstructor
      @ExcelInstructor Год назад

      1:02:05 Q1: That's easy :) [Supplier] is the column name we are extracting values from, and {2} is 0-based position from the top of the list from the [Supplier] Column extracting actually position number 3. PQs 0,1,2 = to 1,2,3 :)
      1:02:09: Q2: This is bit more complex but still very easy :) so let me break it down to parts:
      Part 1: the function itself: Excel.Currentworkbook() a function that return every readable object for PQ into a Table of values (ranges, named ranges, Printing ranges, Tables, objects from name manager and even printing areas)
      Part 2: the curly bracket: within it we have field access operator pointing to very specific record named "LookupExample" basically this creates a record that contains an object and a name.
      Part 3: [Content] that is pointing to specific column that is actually always the same for every imported document. this Column contains table object.
      so all this "mess" looks to every object in excel workbook, then searches for a specific record containing a Table, then the table is "extracted" from the record and displayed into basic table we can start working on.

  • @PavanLalwani
    @PavanLalwani Год назад +23

    Mike you are teaching the whole world directly by your videos, indirectly by teaching instructors like me who are carrying this legacy ahead.
    You are truly amazing and best in the world . Inspiring !!!

    • @excelisfun
      @excelisfun  Год назад +2

      Yes!!! Love to hear this. It has been my goal for 15 years here at RUclips to provide free education for the world in hopes that it would spread and shower Excel efficacy and fun onto the world.

    • @ankursharma6157
      @ankursharma6157 Год назад +3

      Pavan Sir,
      Like Mike, You are also helping countless People through Your RUclips Channel.
      We are Grateful to Mike and You 🙏🏿

    • @PavanLalwani
      @PavanLalwani Год назад +3

      @@ankursharma6157
      Ankur it's absolutely my pleasure doing this and seeing the change

    • @excelisfun
      @excelisfun  Год назад +1

      @@ankursharma6157 @PavanLalwani : ) : ) : ) : ) Go Team!!!!!!!

    • @excelisfun
      @excelisfun  Год назад +3

      @@PavanLalwani I did not know about your awesome channel!!! I just subscribed : ) Go Team!!!

  • @gvitullib
    @gvitullib Год назад +29

    In my opinion, the best Code M step by step course I have watched so far. This 365 MECS series are like top ranked Oscar´s awards movies. Thanks a lot Mike !!

    • @excelisfun
      @excelisfun  Год назад +3

      You are welcome a lot!!!! Thanks for the Oscars, gvitullib!!!!

  • @QuantumIdeas
    @QuantumIdeas 8 месяцев назад +3

    This is the most comprehensive Power Query/M Code video I've come across in RUclips so far, and I've already viewed weeks of Power Query/M Code videos already. I wish I came across this video a lot earlier and I could have saved a lot of wasted time.

    • @excelisfun
      @excelisfun  8 месяцев назад +1

      I wish you had too. But Google seraph is not determined by quality and value. Glad you found it!!!

  • @ruelformales5184
    @ruelformales5184 Год назад +3

    Mike deserves all the praises in this comment. He is just in a different level!

  • @rrrprogram8667
    @rrrprogram8667 Год назад +15

    Top class video by a legendary man Mike Girvin.....thanks for sharing...

    • @excelisfun
      @excelisfun  Год назад

      Yes, RRR-Long-Time Viewer!!!!! You can watch and help, RRR: ruclips.net/video/3ZkIwKBVkVE/видео.html

  • @user-fn2rc7uc9b
    @user-fn2rc7uc9b Год назад +8

    I just dropped out from one of the top universities here in Korea and now I am focusing all my time and efforts in learning every detail of your lectures and your book. The difference in the quality is so outstanding that I feel ashamed even trying to compare. Thank you so much for your knowledge and effort, and more importantly your passion. I want to go back in time and slap myself who thought Excel was nothing more than a boring technology. I am trying to move away from all the fancy software engineering, machine learning, ai trend that I blindly pursue and am planning to focus the next several years on understanding and mastering Excel. Thank you so much and I hope you have a great day

    • @excelisfun
      @excelisfun  Год назад +7

      I am so happy to help!!!! It is 100% true for many decades: Colleges and Universities around the world have abjectly failed to proper train graduating students. Almost everyone must know Excel (especially in the data-driven decision era), but almost no graduating students are taught Excel. Maybe they take one high-ill-informed class in the matriculation process, but they ultimately leave the university without a key skill. This is why I became a professor over 2 decades ago. The funny thing is 2 decades have past since I became a professor, but there are still very few teachers in the world who are actually teaching students what they need to know, in this regard.
      I am super glad to help you!!!!!

    • @excelisfun
      @excelisfun  Год назад +10

      As you watch and study my videos, remember these are not free: I do change a thumbs Up for each video ; )

    • @Cracktune
      @Cracktune Год назад +1

      good luck!

  • @hBrynx
    @hBrynx 9 месяцев назад +1

    I’m glad I already watched your video on LAMBDA worksheet function. It really helped to link the related concepts from that video to this one. This is high quality learning material! 👏

  • @excelisfun
    @excelisfun  Год назад +2

    Dataflows (Power Query Online) is introduced in the next video MECS #13 : )

  • @GameboyMufti
    @GameboyMufti Год назад +8

    Thanks for sharing , I am amazed how people like you are sharing such useful and precious knowledge for free.
    Thanks once again for sharing.

    • @excelisfun
      @excelisfun  Год назад +2

      I am happy to share free education for 15 years here at RUclips, to help people like you and the rest of the Team : ) You can help get this video to more people, just be sure to watch end of video: ruclips.net/video/3ZkIwKBVkVE/видео.html

  • @qamaruddinkhichi904
    @qamaruddinkhichi904 Год назад +26

    I'm speechless to see your hardworking, dedication, enthusiasm, and unconditional support to help us.
    Thanks a lot!

    • @excelisfun
      @excelisfun  Год назад +3

      Yes!!!! That has been my goal for 15 yeasr here at RUclips : ) : ) Tell all your friends about the free education here at excelisfun!

    • @qamaruddinkhichi904
      @qamaruddinkhichi904 Год назад +2

      @@excelisfun off course, I'll, let me tell you whenever somebody asks me the best RUclips channel to learn Excel from. I always recommend this channel. I myself leanred from here.

    • @excelisfun
      @excelisfun  Год назад +1

      @@qamaruddinkhichi904 : ) : ) : )

  • @michaelt312
    @michaelt312 Год назад +1

    I am as excited about this series as I was when my wife gave me the Marvel Infiniti boxed series. You are a greater hero than any of them. Thank you!!

    • @excelisfun
      @excelisfun  Год назад +1

      You are "Infiniti boxed" welcome for the series!!!!!!

  • @joedi
    @joedi Год назад +2

    Mike honestly teaches for common person. I’ve paid for a lot of training and have learnt a lot but Mike just makes it so simple for all. If I ever visit the US,I’m taking this dude out for lunch!

    • @excelisfun
      @excelisfun  Год назад +1

      Glad it all helps! Can't wait for lunch ; )

    • @joedi
      @joedi Год назад

      @@excelisfun definitely. If you’re ever in NZ visiting Chandoo, I’m local to where he lives. Lunch offer stands here as well. 😊

    • @excelisfun
      @excelisfun  Год назад

      @@joedi We could have a regular Excel Paaaaaaaaarrrrteeee!!!

  • @nadermounir8228
    @nadermounir8228 Год назад +4

    The best Video on M-code on the Internet for sure. The PDF notes are superb. Couldn't have learned excel without Mike Girvin :)

  • @bucs2021
    @bucs2021 Год назад +5

    This is 'next in line', excellence work of Mr Girvin. Tireless keeps giving us knowledge. Unbelievable. Thank You!

    • @excelisfun
      @excelisfun  Год назад

      You are welcome for the believable-unbelievable, Bucs 2003!!!!!

  • @MerkDolf
    @MerkDolf Год назад +2

    The good thing about epic videos are that you can go back over and over again, plus with the addition of time stamps great thank you very much.

    • @excelisfun
      @excelisfun  Год назад +1

      That is exactly why I make them: time-stamped one-stop shopping!!!! The problem is, the vast majority of Excellers do not like long videos. They want a quick answer. And the RUclips/Google algorithm hates my videos and does not promote them well... But for smart people like you: Bam!!! I got you covered ; )

  • @chrism9037
    @chrism9037 Год назад +3

    Awesome Mike! I definitely need to get better with M code to take my PQ abilities to the next level. Thanks for another great video!

    • @excelisfun
      @excelisfun  Год назад +1

      This video should be good for an M Code launch into Power Query awesomeness!!!!

  • @KuldeepSingh-nq1vi
    @KuldeepSingh-nq1vi Год назад +2

    No other video is available like this in respect to M Language.. Thanks for making this descriptive video..

    • @excelisfun
      @excelisfun  Год назад

      You are welcome for the description!!!

  • @roywilson9580
    @roywilson9580 Год назад +2

    Thanks for the interesting intro to M Code, it is certainly a powerful way to use the Power BI application to clean and prepare data ahead of analysis. Love the way you give clear and concise explanations with multiple examples and your boundless enthusiasm for the subject matter. I like that power query makes you think more about data types and how the data is structured versus how to achieve the required structure and have noticed that with the newer functions in Excel that Microsoft seem to be pushing for a more highly structured approach to data on the grid which can only be a good thing.

    • @excelisfun
      @excelisfun  Год назад +1

      Only a good thing! For sure : ) Glad you like the video, Roy! In the next video we will see how for even mundane topics like connecting to a data source and importing data, if we know some M Code we can do some magic things!

  • @AmirEdalatCa
    @AmirEdalatCa 9 месяцев назад +1

    Amazing work! Did a fantastic job in preparation and presentation and the content is really helpful!

  • @anthonygeo3
    @anthonygeo3 Год назад +1

    Literally just started using power query this week and have a development goal for the year of learning power BI. Thank you for uploading!

    • @excelisfun
      @excelisfun  Год назад +1

      You are welcome, anthony!!!!!!

  • @kamalsh123
    @kamalsh123 Год назад +1

    This video is great. i am using power query for about 5 years but this video taught me all new aspects of it. thank you mike

    • @excelisfun
      @excelisfun  Год назад

      I love to hear that!!!! With M Code you will have so much more power. Next video has lots of M Code tricks too : )

  • @HuTrzy
    @HuTrzy 4 месяца назад +1

    It's hard for me to even express how grateful I am for such a great piece of work... Thank you so much !!!

    • @excelisfun
      @excelisfun  4 месяца назад

      You are welcome so much! Tell all your friends and colleagues : )

  • @daviddevita
    @daviddevita 3 месяца назад +1

    Duuuuuude! I've ben begging for a video like this!!! Thanks a ton!!!

    • @excelisfun
      @excelisfun  3 месяца назад

      You are welcome a ton!!!!!

  • @mcwahaab
    @mcwahaab Год назад

    This is so excellent and insightful, Mike. You are really making a difference and we appreciate

    • @excelisfun
      @excelisfun  Год назад

      Glad you like this MECS class!!!!

  • @Sou985
    @Sou985 4 месяца назад +1

    This Channel is a goldmine! Thank you!

  • @zt.5677
    @zt.5677 Год назад +1

    A genius video. All in one on M Code. I wish I could like it more than once. Thank you.

    • @excelisfun
      @excelisfun  Год назад

      Thank you for the many Thumbs Ups : ) : )

  • @ahmedaiad3372
    @ahmedaiad3372 Год назад +2

    I would like to say to you that you provided almost all of the required basics for any one to start working based on power query editor and with little help of Copilot and chatGPT4 any thing could be done based on this knowledge provided in your video , in the End , that was a great video
    👌👌👌

    • @excelisfun
      @excelisfun  Год назад +1

      Glad it helps! Contrary to many human's beliefs, if you don't understand M Code (or any given topic) well, Copilot and chatGPT will just get you in trouble.

  • @B1897forzajuve
    @B1897forzajuve Год назад +3

    You made my day Mike. Thank you very much.

    • @excelisfun
      @excelisfun  Год назад

      Yes!!!!! Makinbg Days is THE best : ) : ) Tell all your friends who want to learn M Code : )

  • @kevinmcmullen5009
    @kevinmcmullen5009 Год назад +1

    Thanks for sharing - this is so well done. I've been using Power Query since 2014, and I still learned a ton! ... M = data Mashup, who knew! :-)
    Great video Mike!

  • @darrylmorgan
    @darrylmorgan Год назад +1

    Boom!Real Fun Class,Picked Up Some Amazing Tips...Thank You Mike :)

    • @excelisfun
      @excelisfun  Год назад

      Glad you got some tips, Bike Brother!!!! What tips did you learn?

  • @xiajunjim
    @xiajunjim Год назад

    Appreciated your huge effort Mike!

    • @excelisfun
      @excelisfun  Год назад

      You are welcome for the hugeness ; ) Tell all your friends about the fun!!!

  • @mr.chinmayajoshi2688
    @mr.chinmayajoshi2688 Год назад +1

    Added to playlist! Thank you for your efforts. ❤️❤️❤️

    • @excelisfun
      @excelisfun  Год назад +1

      You are welcome for the efforts!!!!!

  • @imranmlk79
    @imranmlk79 Год назад +1

    Excellent work and easy to follow!

  • @exp3905
    @exp3905 10 месяцев назад

    Thanks man. I needed this

  • @patrickschardt7724
    @patrickschardt7724 Год назад +1

    I am definitely not a Power Query expert. In the relatively short time I’ve been using it, I’ve noticed a couple things related to hardcoded values:
    1. Avoid if possible by doing things like making a variable for the columns names
    2. If they can’t be avoided, try to put those steps at the end of queries to reduce the number of steps that reference it in someway
    What a fantastic tutorial. I’ll have to get these notes

    • @excelisfun
      @excelisfun  Год назад +1

      Great advice!!! Yes, check out the notes, they should be good!

  • @martyc5674
    @martyc5674 Год назад +1

    This is the one I’ve been waiting for!!

    • @excelisfun
      @excelisfun  Год назад +1

      Yes!!!!! All throughout the month long production, this video has been waiting for you too, Martin ; ) P.S. tell all your friends too : )

  • @kiwikiow
    @kiwikiow Год назад +2

    I like the way you teach M Code step by step. Video and all files you created are awesome. 👍👍 Thank you very much Mike 🙏💚

    • @excelisfun
      @excelisfun  Год назад +1

      You are welcome very much! pdf files, Excle files and videos are ghostly fun ; )

    • @christellelemaire9749
      @christellelemaire9749 Год назад

      Coucou 🧡💜❤️❤️💙💙❤️🧡💜❤️❤️💙💙❤️🧡💜❤️❤️💙💙❤️🧡

    • @excelisfun
      @excelisfun  Год назад

      @@christellelemaire9749 : ) : ) : ) : )

  • @JLyck
    @JLyck Год назад +2

    Appreciate what you have taugth me
    in this video and the others! Mange tak.

    • @excelisfun
      @excelisfun  Год назад

      Thank you VERY much for your kind donation!!!! It really helps me to keep going : ) : ) : )

  • @zoranmilokanovic6229
    @zoranmilokanovic6229 Год назад +1

    Huge like for the video! Keep up the good work!

  • @MrChevago
    @MrChevago Год назад +1

    Thanks for sharing. This is the best class I 've ever seen. I like the way you teach a real Master.

  • @beingrishi6450
    @beingrishi6450 6 месяцев назад +1

    Absolute exceptional

  • @snowylau9328
    @snowylau9328 2 месяца назад +1

    oh my gosh, that was a lot of content jammed packed into 1h 40 mins. I sat through it and followed along for the whole morning and afternoon.
    Great for beginners, the pace at the start was great, lost you there a bit during the Custom Functions part where there was 5 methods 1:24:42 , went to rewatch and rewatch at a slower speed (I usually use 2x so went to 1.5x or 1.25x)
    And then, just as I thought I was back on track, during the last 5 mins of the double "each" part and the 3 different ways to write a match lookup function in the advanced editor, it lost me, 1:36:16 , due to the tabs and spacing, but I went to your "12-M365ExcelClassFinished" file and slowly untabbed and read through each line and rewatch your video and it helped.
    Really great teacher! Will just need some time to process everything after absorbing all that content at one go and I will definitely go back to this video for reference along with your word document whenever I need help to refresh concepts again.
    Brilliant M code tutorial!

    • @excelisfun
      @excelisfun  2 месяца назад

      Your study methods are perfect for people who REALLY want to learn. I put so much all in one class: long videos, files to practice, finished solutions, pdf notes. But only those that take 10 to 30 hours of concentrated study will come away with good skill. Awesome stragey, Snowy!!!!

    • @snowylau9328
      @snowylau9328 2 месяца назад

      @@excelisfun yes, I appreciate all the comprehensive files and notes! Thank you!

  • @johnlug9655
    @johnlug9655 5 месяцев назад +1

    Awesome Explanation and exploiting many uses of implementation. Very thorough and exemplary!!

    • @excelisfun
      @excelisfun  5 месяцев назад

      Glad you like it!!!! Tell all your friends about the high caliber and that it is free: they won't believe it lol

  • @enrikdp9318
    @enrikdp9318 Год назад +1

    Thanks for your amazing Excel content. Very helpful to become an Excel Wiz.

    • @excelisfun
      @excelisfun  Год назад

      Yes indeed: M Code makes great Excel & Power BI Wizzes!!!!

  • @martinpaulbannister1745
    @martinpaulbannister1745 Год назад +1

    Fantastic video. Thank u Mike 👍

  • @sandeshjoshi7470
    @sandeshjoshi7470 Год назад +1

    Thanks for sharing the same, waiting for such video for a long time 🙂

    • @excelisfun
      @excelisfun  Год назад

      You are welcome for the share!!!

  • @excellearner63
    @excellearner63 10 месяцев назад +1

    Thanks so much Teacher!

  • @richardhay645
    @richardhay645 Год назад +1

    Great video. Definitely took a fair amount of elapsed time and several settings to get through!! There has been a shortage of available videos on
    PQ so this one is a valuable addition. Maybe the subject of your next book?!?!?

    • @excelisfun
      @excelisfun  Год назад +1

      Glad you like it, Richard!!!! Yes, not many videos on RUclips about M Code. I am stumped from a marketing perspective, cuz I can't seem to get a free video like this out to people, and the google algorithm hates most videos that I post. Too bad good free material doesn't get to more people. I would love to write a book about PQ and M Code. I am planning to, but I always am so slow at things these years... lol

  • @SyedMuzammilMahasanShahi
    @SyedMuzammilMahasanShahi Год назад +1

    Awesome Mike with another EXCELlent video. Thanks for the share.

    • @excelisfun
      @excelisfun  Год назад

      You are welcome for the share, Fellow Teacher!!!!

  • @JMPRMAIL
    @JMPRMAIL Год назад +1

    Thank you very much Mike.

    • @excelisfun
      @excelisfun  Год назад

      You are welcome very much, JMPRMAIL!!!!! Tell al your friends too: ruclips.net/video/3ZkIwKBVkVE/видео.html

  • @emarcos40
    @emarcos40 Год назад +1

    Great input. Thank you for your support.

    • @excelisfun
      @excelisfun  Год назад

      You are welcome for the support!!

  • @Anthony_Lecoq
    @Anthony_Lecoq Год назад

    Thanks mike, great big video, always something new to learn ;)

  • @excel_along_the_way
    @excel_along_the_way Год назад +1

    Hi Mike, late to this party but thank you for this tutorial. Much appreciated.

    • @excelisfun
      @excelisfun  Год назад

      Paaaaarrrrrrdeeeeee!!!! Welcome to the party, Lester!!!

  • @Faisal63045
    @Faisal63045 Год назад +1

    Thank you, i fall in love with Excel because of you

    • @excelisfun
      @excelisfun  Год назад +1

      You are welcome! Glad you love it : ) : )

  • @sumardjo
    @sumardjo 2 месяца назад +1

    Waooo...
    Completed to simple file and step by step
    thanks very much...
    thanks ....

    • @excelisfun
      @excelisfun  2 месяца назад

      I have a new version of this video and its even better. It comes out tomorrow.

  • @dacsontran5813
    @dacsontran5813 Год назад +1

    Thank you for sharing it!

  • @tibibara
    @tibibara Год назад +1

    An excellent tutorial (again :) ) for the PQ/M, even for experienced users! 💯Thank you very much!🙏

    • @excelisfun
      @excelisfun  Год назад +1

      You are welcome very much!!! As an experienced PQ/M pro, what things in the video were helpful or what did you learn?

    • @tibibara
      @tibibara Год назад +1

      @@excelisfun ☺😇 I'm not a pro 😁, but I've already implemented a few semi-automatic solutions with PQ in a corp. environment. In the last 2-3 years, I've completed a few PQ courses, some of them were comprehensive, but somehow your approach, teaching method and your way of thinking is much closer to me, not only in that topic, but also in the others. For example, the LOOKUP methods were not explained so well and understandably in any course. In fact, there was no mention of it anywhere in this context: analogously to excel (INDEX fx).
      This tutorial made the whole picture and syntaxes much more understandable and clear, which so far I haven't used 100% consciously.
      (I mean here copied sources.) So thanks again :)
      I'm already excitedly waiting for the next part MECS13, I'm planning that for the weekend :D :D :D

    • @excelisfun
      @excelisfun  Год назад +1

      @@tibibara Yes!!!! The next few MECS are all about Power Query and M Code. You should enjoy. I am glad that the stories that I tell to try and make complicated things less complicated work for you : )

  • @paspuggie48
    @paspuggie48 Год назад +1

    I tweeted a link to this video Mike. It's the least I can do, I mean the first PQ video I ever watched was by you 5 years ago and I've never looked back 🤘

    • @excelisfun
      @excelisfun  Год назад +1

      Yes!!!!! 5 years of Power Query fun!!!!!

  • @yordanosadigo
    @yordanosadigo Год назад +1

    You are always my best !

  • @josh_excel
    @josh_excel Год назад +2

    When you use EACH, the _ represents the whole record or other object returned from each row and in many contexts, using _ is not required, but you can put it in just before the [ ] and it works.

  • @onsaelijulius4090
    @onsaelijulius4090 Год назад +1

    Thank you so much Bro ,Great appreciation will follow each steps for M code

    • @excelisfun
      @excelisfun  Год назад

      You are welcome, onsaeli!!!!

  • @eladiomendez8226
    @eladiomendez8226 Год назад +1

    Yes!!! You are awesome

    • @excelisfun
      @excelisfun  Год назад

      Thank you!!! I hope you enjoy the M Code fun and will tell all your friends : )

  • @AhmedElShafeey
    @AhmedElShafeey 5 месяцев назад +1

    Stunsing as always ❤❤

    • @excelisfun
      @excelisfun  5 месяцев назад

      Glad this M Code fun helps!!!!!

  • @sr5726
    @sr5726 3 месяца назад +1

    thank you so much. Learnt a lot

    • @excelisfun
      @excelisfun  3 месяца назад

      You are welcome, SR!!!! P.S. In the sports of BMX, Skateboarding and Boomeranging, SR means Stay Rad : )

  • @RetroDree
    @RetroDree Год назад +1

    This is Amazing. Thank you so much

  • @alterchannel2501
    @alterchannel2501 Год назад +1

    This is in absolute the best video and the best explanation I have seen and heard online. It's a PowerTutorial that Data Meshed all my confused knoledge of M code and cleaned it and put it in Steps in my mind. Thank you so much

    • @excelisfun
      @excelisfun  Год назад +1

      You are welcome. I love how you said this: "Data Mashed all my confused knowledge of M code and cleaned it up and put it in steps in my mind"!!!! : ) : ) : ) : ) That is EXACTLY what I have tried to do with the MECS class and these very long one-stop shopping videos: for a given topic: put the important elements of a given topic all in one place, and present it in an order that helps to make the complicated, less complicated : )

    • @alterchannel2501
      @alterchannel2501 Год назад +1

      @@excelisfun ☺

    • @excelisfun
      @excelisfun  Год назад

      @@alterchannel2501 : ) : )

  • @mrtharunprao
    @mrtharunprao Год назад +1

    Thank you for this session

    • @excelisfun
      @excelisfun  Год назад

      You are welcome for the M Code session!!!

  • @FutureCommentary1
    @FutureCommentary1 Год назад +3

    Commenting for the algorithm.

  • @davidjefferson6986
    @davidjefferson6986 Год назад +1

    Great video, thanks

  • @johnhackwood1568
    @johnhackwood1568 3 месяца назад

    Thank you Mike such a broad topic handled so thoroughly and well.

    • @excelisfun
      @excelisfun  3 месяца назад

      You are welcome, John!!!!

  • @HusseinKorish
    @HusseinKorish Год назад

    Amazing Mike ... this is what i was waiting for ...Thanks alot

    • @excelisfun
      @excelisfun  Год назад +1

      Yes!!!! The wait is over. Watch and be happy, Hussein!!!!

    • @HusseinKorish
      @HusseinKorish Год назад

      @@excelisfun Yes Sir

    • @excelisfun
      @excelisfun  Год назад

      @@HusseinKorish : )

  • @subbu_ca
    @subbu_ca Год назад +1

    This is just amazing

  • @garudabowo
    @garudabowo Месяц назад +1

    Sir you are amazing teacher

  • @vaibhavgond
    @vaibhavgond Год назад +1

    Thanks for sharing Mike.

  • @motomatevideos
    @motomatevideos 3 месяца назад

    Super Dope 😅❤

  • @majidramzan6702
    @majidramzan6702 Год назад +1

    Thanks, sir, for your efforts

  • @raymondso4734
    @raymondso4734 Год назад +1

    useful video, thanks for sharing

    • @excelisfun
      @excelisfun  Год назад

      You are welcome for the useful share : ) : ) : )

  • @lucianoriquet8552
    @lucianoriquet8552 7 месяцев назад +1

    Fantastic

  • @FRANKWHITE1996
    @FRANKWHITE1996 8 месяцев назад

    thanks for sharing 👍

  • @shubhampawar8506
    @shubhampawar8506 Год назад +1

    M Code by Master Mike ❤️ I always used to get confuse in list within list ..but now I understood it thoroughly . Thanks a lot ❤️

    • @excelisfun
      @excelisfun  Год назад

      Yes, the little details of M Code will make you a master. As soon as we se the ingenious beauty of how a list within a list is used in the Group By feature to get the 1) name of the new columns, 2) aggregate calculation, and 3) data type: BAM!!!! It makes prefect sense. This is a good example of why it takes so long to make videos like this (this one took 162 hours). I have to search and hunt for the perfect examples that illuminate the meaning of a certain topic, then I have to string together the related topics in the right order so it is smooth and easy to understand. Further, in the section of the video about lists, after I completed the filming and editing for the list section, I had to come back two times to insert new examples to help flush out the beauty and power of lists.
      You are welcome a lot, shubham!!!

    • @shubhampawar8506
      @shubhampawar8506 Год назад

      @@excelisfun Hats off to You ❤️..162 hours OMG ...You are really a true Excel Master. I luv the way , you are teaching anybody who has little knowledge or no prior knowledge can easily understand ❤️❤️

    • @excelisfun
      @excelisfun  Год назад

      @@shubhampawar8506 That is one of my specialties as a human. Since I am not that smart, and graduated High School illiterate, and had to learn as a dumb adult how to do things. I get it. I can build stories to make complicated things less complicated. My stories make few assumptions. My storied try to anticipate all questions and place the answers into the story in the right order. This is why the videos and stories take so long to make. I plan a story that even dumb people like me can understand. Although PHDs and Engineers and Mathematicians can all watch my videos and learn stuff (they are the ones who could understand it if I made lots of assumptions and let out details), I try to make my video stories so that we all can understand, learn, gain power and have more fun!!!!

    • @shubhampawar8506
      @shubhampawar8506 Год назад

      @@excelisfunYou are Intelligent and Smartest person for me ❤️❤️Lots of respect for You ❤️

    • @excelisfun
      @excelisfun  Год назад +1

      @@shubhampawar8506 : ) : ) Hard work and determination can get us anywhere : )

  • @unigirl123
    @unigirl123 Год назад

    I wish this came out much earlier, but still watch the whole thing to fill in my knowledge gap. Thank you !

    • @excelisfun
      @excelisfun  Год назад +1

      I published a video almost exactly in my MSPTDA class like this back in 2018: ruclips.net/video/NS1AvfV9BeI/видео.html
      Where where you, unigirl lol BUT: The good news is: better late than never. I hope all the M is great for you! P.S. when did you discover my excelisfun channel? What topics do you want? What field do you work in?

    • @unigirl123
      @unigirl123 Год назад

      @@excelisfun oh wow back in 2018 ? How could I miss that one ? I watched your channel a while back and somehow it fell off my radar lol but good to be back now. I work in aviation so a lot of non-accounting stats that I do besides the typical financial. Is there a way that power BI / Power Query can convert different PDFs to a table ? I get weekly pricing notifications from different vendors sending in PDF so if I somehow can drop the PDFs to a folder, refresh the table and get the weekly summary, that would be amazing. Thank you !

    • @excelisfun
      @excelisfun  Год назад

      @@unigirl123 Yes - the next video in this class is all about importing data with many examples. There is one pdf example. BUT: there is one HUGE problem with your situation: by definition, pdf files are not designed to carry data from one system to another, like csv, txt, Excel, xml, json files. So there is NO way to guarantee that results are correct with file types like pdf and picture. Not only that, but the from Folder Feature (which would be perfect for this) can't interpret pdf data in a reliable way... Your situation is an example that plagues the planet earth: most people are ignorant about the structure of data. In a data driven decision world, this is a HUGE problem. The solution is to have the tables sent as csv or txt or some other file format where an easy solution can be created.

  • @charlie81988
    @charlie81988 Год назад +1

    Thanks!

    • @excelisfun
      @excelisfun  Год назад

      You are welcome!!!! Thank you very much for the donation!!! It helps and your are kind : ) : )

  • @jhaanand81
    @jhaanand81 Год назад +1

    Just wow🎉

  • @rtrbs8383
    @rtrbs8383 Год назад +1

    Thank you very Much .....Sir...

    • @excelisfun
      @excelisfun  Год назад

      You are welcome very much!!!!

  • @sanjeevsoni6793
    @sanjeevsoni6793 Год назад +1

    Excellent, short videos cover the lot of M Code Topics

    • @excelisfun
      @excelisfun  Год назад

      Glad it is EXCELlent for you. But I do not understand what your comment means? "short videos cover the lot of M Code Topics "

  • @mrcoffeeguystv
    @mrcoffeeguystv Год назад +1

    Thank you for your service and tips sir you are the best

  • @morenabalatseng8003
    @morenabalatseng8003 Год назад +1

    May God bless you Irvin

    • @excelisfun
      @excelisfun  Год назад

      I hope you will like the video : )

    • @morenabalatseng8003
      @morenabalatseng8003 Год назад

      @@excelisfun I like it. There isn't a video that you have made that I have watched and has no practical application in my life. You are the gift that keeps giving. Thank you Sir.

    • @excelisfun
      @excelisfun  Год назад +1

      @@morenabalatseng8003 You are welcome for the gifts!!!! Just keep watching, learning and clicking that thumbs ups : ) Tell all your friends too!!

  • @مسلم_سني_مسلم
    @مسلم_سني_مسلم Год назад

    The useful content and precious video thank you very much for sharing

    • @excelisfun
      @excelisfun  Год назад +1

      You are welcome for the share and useful content!!!!

    • @مسلم_سني_مسلم
      @مسلم_سني_مسلم Год назад

      @@excelisfun
      My English seems not good enough 😁😁😁
      Thanks again sir

    • @excelisfun
      @excelisfun  Год назад +1

      @@مسلم_سني_مسلم : ) : )

  • @HoaiNam1511
    @HoaiNam1511 5 месяцев назад +1

    thank you for your share. You help me solve my problem.

  • @williamarthur4801
    @williamarthur4801 Год назад

    I wish you'd done this a few years ago , a great resource for anyone starting and a good refresher,
    I always forget records don't need " " ,
    really looking forward to functions, usually muddle through but never know when to start with a variable, or with let and then the variable or if it needs to b for table or column. Now my head hurts.
    Thank you once again.

    • @excelisfun
      @excelisfun  Год назад

      I did make a video almost identical over 4 years back: MSPTDA #9 : ) I thought you already watched the MSPTDA class. Anyway, this MECS video #12 has all the content from MSPTDA #9 but it is presented in a smoother and more clear story : )
      I got you covered in this video if you want to learn Custom Functions, william! P.S. sorry about the head hurting : )

    • @williamarthur4801
      @williamarthur4801 Год назад +1

      @@excelisfun Seen it, but thanks, the msptda series was incredibly thorough, really enjoyed it.

    • @williamarthur4801
      @williamarthur4801 Год назад +1

      @@excelisfun Yes loved the msptda series, my problem with custom functions is when writing from scratch, not converting, and when to to be used by using 'invoke custom function' to act on a column, or when to have a table function select the function and then select the table to act upon, I've done both but never quite sure which I need without experimenting.

    • @excelisfun
      @excelisfun  Год назад

      @@williamarthur4801 If I understand you correctly, I just create reusable functions (invoke custom function button) when I have to use the formula more than one time. Otherwise, I just write it in the column.

    • @williamarthur4801
      @williamarthur4801 Год назад +1

      @@excelisfun Sorry for not getting back soon, this is the sort of thing I meant,
      this is for a running total after having grouped the date, so when converting delete all before index;
      (RunningTotal as table)=>
      let
      #"Added Index" = Table.AddIndexColumn(RunningTotal, "Index", 1, 1, Int64.Type),
      #"Added Custom" = Table.AddColumn(#"Added Index", "Custom", each List.Sum ( List.FirstN(RunningTotal [Units], [Index])))
      in
      #"Added Custom"
      this works on the column, but this one renames headers with what's (Goodly Challenge) in first two rows, and (i think),
      needs the 'as table' ; then select the function and the tabel to work on in drop down;
      oh, he used Table.Record but I like this.
      (NewN as table ) => let
      NewName = List.Zip( { Table.ColumnNames(NewN),
      List.Transform( Table.ToColumns( Table.FirstN( NewN ,2) ),(_)=>Text.Combine(_," ")) } ),
      Custom2 = Table.RenameColumns( Table.RemoveFirstN( NewN , 2), NewName )
      in
      Custom2
      I shall stop now, and thank you for taking the tiem to reply.

  • @einoconsult5563
    @einoconsult5563 Год назад

    Mike :) at 39:52 I am French and my regional settings are set to France as well, when I chande the type if the first column to Date (using US locale) I get the format DD/MM/YYYY. But in your case I would maybe suggest to use the Date.ToText with the format and culture options to display the date the format you want

    • @excelisfun
      @excelisfun  Год назад

      I think you can use Data Type Using Local and get the dates to work.

  • @temidayoadebiyi7024
    @temidayoadebiyi7024 Год назад +2

    Finally the first to comment
    😁😁😁😁

  • @matuscernuska1117
    @matuscernuska1117 Год назад +1

    Ďakujeme.

    • @excelisfun
      @excelisfun  Год назад

      Thank you so much for your kind donation!!!! : ) : )

  • @masoudas2196
    @masoudas2196 Год назад +1

    Thanks

  • @TheAlwaysGoel
    @TheAlwaysGoel Год назад +1

    Respect ...👍👍

    • @excelisfun
      @excelisfun  Год назад

      Thanks : ) Do you use Power Query often?

    • @TheAlwaysGoel
      @TheAlwaysGoel Год назад +1

      @@excelisfun yes power query is a essential part in my work but before your video I have no idea about m code so thanks for your video...

    • @excelisfun
      @excelisfun  Год назад

      @@TheAlwaysGoel You are welcome! Power Query and M Code are power in the working world : ) Be sure to tell all your friends !!!

  • @nileshvakharia4547
    @nileshvakharia4547 Год назад

    Thanks a lot for this video
    Sir can you please give a link of video ,as I had watched earlier but don't remember now and need to refer the same, where you have explained how to fetch discount amount where there are three columns, 1. from no. Of units,2. To No. Of units and 3. Disc rate

  • @MaydayAggro
    @MaydayAggro 6 месяцев назад

    Mike, or anyone else - I have been looking for a way to use Power Query to reconcile two datasets which ONLY have values in common. Both datasets include dates, but the date of a particular transaction in one dataset may be a day or two earlier or later than the other dataset. For example, there may be a dozen $50 transactions on one date in dataset A, but they may be scattered over two or three days in dataset B. Is there a way for Power Query to perform a few different merges (left outer, right outer, left anti, right anti) using a "slightly fuzzy" date comparison with a "strict" amount comparison, so that I can use the merges as support for the reconciliation? Every tutorial I have seen used datasets with very cut and dried index columns that make this type of reconciliation a relative cinch.
    I would appreciate any help offered. These datasets can have over ten thousand transactions per month, making manual reconciliation very tedious and time consuming.

  • @MagicOfMushrooms
    @MagicOfMushrooms 5 дней назад

    I didn't know you could pull spilled array formulas in through power query!

  • @nourreldeenmohamed367
    @nourreldeenmohamed367 Год назад +1

    Mr Girvin
    which is better to automate tasks in excel, python tools like ( xlwings and pyxll ) or VBA
    which one I should go with

    • @excelisfun
      @excelisfun  Год назад +1

      I am not skilled in those areas. I cannot answer your question. Sorry.