PowerQuery M code explanation (for Excel newcomers)

Поделиться
HTML-код
  • Опубликовано: 17 окт 2024

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

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

    This is one of the best explanations of M Language i've seen so far ! All the best!

  • @tanteckleng3665
    @tanteckleng3665 11 месяцев назад +1

    Excellent videos
    Making complex concepts simple to understand.

  • @kebincui
    @kebincui 2 года назад +2

    Very good tutorial. Please do more for basic stuff like this which helps to understand its work mechanism. 👍🌹

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

    @3:15 it states “Scholars lists or records but as an”… What is “Scholars”? I note the when you mention it at other points in comes up with alternatives such as ‘colors’. Can you clarify please?

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

      Scalar, like a single value.

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

      @@ExceedLearning Thanks. I couldn’t work it out simply because I was unfamiliar with the term 👍

  • @wayneedmondson1065
    @wayneedmondson1065 2 года назад

    Aweseome video! I really like the topics you choose and have learned a lot from your channel. Keep up the great work! Thumbs up!!

  • @eziola
    @eziola 2 года назад

    These videos are great! Keep them coming!
    Question for you. . . Have you ever combined the Table.TransformColumns function with your own custom function to modify a column of data? If so, what is your most common use of this? I think it's one of the most powerful things you can do in Power Query. Creating your own custom function for a specific purpose and using it with Table.TransformColumns to modify table data.
    Second question. . . What's your most-used technique for looking up data in Power Query (similar to Excel VLOOKUP)?

    • @ExceedLearning
      @ExceedLearning  2 года назад

      Thank you!
      As for the questions, yes I have used Table.TransformColumns with custom functions, but I still find it limited since you can reference only a single column when using custom function (when you transform a column, you can only access that column by using _ , you cannot access other columns from the table).
      The most used technique similar to vlookup is the merge queries option (using left outer join).

  • @zahoorsarbandi2982
    @zahoorsarbandi2982 2 года назад

    a very nice video.. please keep it up!

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

    We probably didn’t need the 5 minutes of SUM explanation if we’re here

  • @rashidkhan8161
    @rashidkhan8161 2 года назад

    hi there, Could please help me to solve this, I have simple list Source = {a, b ,c , d}, when I use this List.Transform( Source, each [_=List.PositionOf(Source, _)]) it create list of record but every record showing filed name "_" , _=0, _=1 etc.. instead of A=0, B=1 etc..

    • @ExceedLearning
      @ExceedLearning  2 года назад

      Hi Rashid,
      The solution could be to rename the record field called "_". Try using this:
      = List.Transform( Source, each Record.RenameFields([_=List.PositionOf(Source, _)], {"_", _}))
      By using Record.RenameFields, you take the field named "_" from the record, and rename it with current row in the list.

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

    This seems slightly misleading. Yes, the Power Query mashup engine is much better than using the Excel function language to perform the same data transformations. You're not going to use Power Query to perform the SUM function. Rather you'd be using DAX (Data Analysis Expressions) to perform the sum using SUM or SUMX. And that's processed by the SSAS analytical database engine more than the Power Query mashup engine. I find learning M code (bypassing the PQ user interface) to be a real challenge.