Power Query Excel | M CODE - List.Generate (POWERFUL fx - While loop equivalent)

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

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

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

    I m always impressed by your solutions thank you!

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

    Thank you very much KT 🙏🙏🙏

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

    Neat 😊 I loved the pace of this video..Really helped me understand better the fourth argument, which I was not using much before..Brilliant 👍 The date table one was great example to understand..

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

      Thank you, Sumanth. I'll keep this pace from now on. 🙂

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

    Great 💯👍

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

      Thank you, @rrrrassscccc80 for your kind compliment 😊

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

    Would it be possible to create videos using actual examples with real world application, not just theoretical possibility to combine/output this or that. You introduced good stuff, but I don't seem to be able to see how this would benefit usual corporate office type analytical work. Thanks.

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

      Hi aatsw, It is very common that I received the same question about the application. Yes, I'll cover some complex examples. In the PQ challenge, the shared workbook contains a solution to the challenge with List.Generate. Remember, this function is very flexible, and understanding the concept is a must. When you want to repeatedly do one thing, this function is your friend. Whatever transformation I did in List.Accumulate can be achieved through List.Generate.

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

    Great video! Could you do video on some reusable FX codes that you can use everywhere? Like, columns comparer, table comparers for duplicates or changes...or some error handling FX and so on...
    Think of it like calendar query that you can find everywhere and people are copy it in their reports.

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

      Hi mirror velll, it will be an extension to custom function. Noted. I need to find some examples.

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

    I find M language extremely difficult to understand.

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

      There are a few keys you need master then M code becomes easy. The language grammar and its structures. The three main things to focus on M are table, list, and record. The best way to start M is to use the standard functions to generate the code and observe its behaviours.

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

      @@bsmart2gether408 Thank you Sir. I don't know where to start. I use the user interface in Power query but same is somehow limited.

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

      Limited is fine. Try to understand the generated code. You can also watch some of my other videos like cell reference, level to M, etc. These videos can help you to understand some of the basics.

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

      @@bsmart2gether408 .Thank you very much Sir. One question, to understand Power Query M language, one should have coding knowledge?

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

      The answer is no. It is kind of like Excel. Understand the syntax can be understood as an understanding of vlookup or xlookup formula. It has the rules.