List.Generate in Power Query - Tutorial with Easy Examples

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 45

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

    To learn more about the syntax of List.Generate, make sure to check out: powerquery.how/list-generate/

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

    This is the one and only video where you can understand List.Generate. Microsoft documentation is surprisingly bare, inadequate to explain this complex and powerful function. Thanks Rick.

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

    Thanks Rick clarifying this in calm and easy way.

  • @CAKimberlyLewis
    @CAKimberlyLewis 2 роки тому +2

    Truly appreciate the written blog post partner to the video! Truly helpful to have them both! I know the written posts take so much time, but they are very appreciated.

    • @BIGorilla
      @BIGorilla  2 роки тому +2

      Thank you so much Kimberly for your kind words. I know this function was a tough cooky for me to understand and hopefully my research gives you a kickstart.
      Keep crushing it,
      Rick

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

    I loved the calm and clear way you explained.
    Excellent!
    Thank you very much!

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

    Almost gave up on PQ until I saw this - fantastic and very powerful! Thank you. Subscribed and looking forward to watching your videos. 👍👍

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

      Awesome. And thank you, welcome aboard!👏

  • @samirvaghasiya9918
    @samirvaghasiya9918 11 місяців тому +1

    Extremely useful video. Thanks

  • @suki9860
    @suki9860 2 роки тому

    Elegant, Elegant, Elegant! Simply magic, Rick! Thanks!

    • @BIGorilla
      @BIGorilla  2 роки тому

      My pleasure suki 😁😁

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

    Great video and explanation. Thank you.

  • @vashisht1
    @vashisht1 2 роки тому +1

    Thank you Rick for explaining List.Generate function in depth....love it cheers

    • @BIGorilla
      @BIGorilla  2 роки тому

      Glad to hear that, awesome!

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

    Thank you for the blog and video, really appreciate it.

  • @ThepExcel
    @ThepExcel 2 роки тому +1

    Nice tutorial

  • @tonyagamata2874
    @tonyagamata2874 2 роки тому +1

    Thanks! I'm still learning PBI and currently having a roadblock on a report I'm working on. I'll definitely utilise this function cos it might get me somewhere and see how it goes.
    Muchas gracias !!!

    • @BIGorilla
      @BIGorilla  2 роки тому +1

      Glad to hear that. It's an advanced function but with some examples I hope you'll manage. 😁

    • @tonyagamata2874
      @tonyagamata2874 2 роки тому

      Don't worry @@BIGorilla, the logic and the examples were clearly explained in your vid👍🏾
      Thanks again!

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

    Thanks for sharing the video. I have one question though, I am unable to schedule refresh with the current code. Can you please help me here, on what do I change to schedule refresh on service.

  • @isidrebague3659
    @isidrebague3659 2 роки тому +1

    Simply great. Thansk for sharing

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

    Great one sir !!. Thank you

  • @iankr
    @iankr 2 роки тому +1

    Thanks.
    In the Fibonacci example, why are the x and y sometimes enclosed in [ ] and sometimes they are not?

    • @BIGorilla
      @BIGorilla  2 роки тому

      In one part it's the opening of a record and in the other part the brackets reference the variable that was defined earlier. Hope that helps :)

  • @ПавелЛинев-ч7м
    @ПавелЛинев-ч7м 8 місяців тому

    Хороший контент. Спасибо.

  • @wayneedmondson1065
    @wayneedmondson1065 2 роки тому

    Awesome! Just found your channel and subscribed. Looking forward to learning more. Thumbs up!!

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

    Excellent 💯👍

  • @fajnefajne4339
    @fajnefajne4339 2 роки тому

    This video is luxurious. Thank you very much. :-)

    • @BIGorilla
      @BIGorilla  2 роки тому

      Only the best for you fajne!

  • @odel_leal
    @odel_leal 2 роки тому

    Súper interesting your video. Thank you.

  • @Fatemeh-tu1vc
    @Fatemeh-tu1vc 6 місяців тому

    Hi there, I used your instruction but once I apply the changes it takes 20 hrs. so data be loaded and I have 1200000 rows of data. can you please help me out find the problem?

  • @karimallahwala7022
    @karimallahwala7022 2 роки тому

    Very nice und helpful content

    • @BIGorilla
      @BIGorilla  2 роки тому

      Hope you find it useful!

  • @bn_ln
    @bn_ln 2 роки тому +2

    In the factorial example shouldn't it be y = Number.Factorial ( x ) ---ie. not [x] otherwise the two lists are not the same

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

    Thanks you

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

    Genius 😮

  • @julie_chen
    @julie_chen 2 роки тому

    Saved it !

  • @teaking1981
    @teaking1981 2 роки тому

    Amazing video showing list generate its a function that isnt well documented so appreciate the video, on the part with factorial numbers should the selector for "Y" also be Y=[X]=1 as on that loop it would have been using X as the initial value so you get the duplicate line with 1? Im only asking to try to understand the function :) I really enjoyed the video

    • @BIGorilla
      @BIGorilla  2 роки тому +1

      Hi Glyn,
      That's a good point. You could improve the code by starting with Y = 1, and starting with x = 2. This would mean that the first returned result is Y = 1. The next value then is the Number.Factorial( 2), so for X = 2. With that change, the result would be a list showing:
      {1, 2, 6, 24, 120, 720, 5040, 40320, 362880 }
      Or the full code:
      = List.Generate(
      () => [x = 2, y = 1], // x = increasing series, y = factorial
      each [x]

    • @teaking1981
      @teaking1981 2 роки тому +1

      @@BIGorilla brilliant thanks for the explanation!

  • @DinoAMAntunes
    @DinoAMAntunes 2 роки тому

    Hello Good Night, Can you share a video with a table with 100 rows and 3 columns for example, and you want to split that table in 10 sub-tables, automatically, and 10 new excel sheets. tks in advance.