The Fastest Replace Values method using a list in Power Query

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

КОМЕНТАРІ • 26

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

    Brilliant as always. This video helps us to understand clearly how those functions works in steps. Thanks Wyn ❤👍

  • @VideoAndrega
    @VideoAndrega Місяць тому +1

    You are great in explaining, intellectually honest and generous. Thank you!

  • @bryanvenn5721
    @bryanvenn5721 2 місяці тому +2

    Very helpful explanations!! Thank you for showing the results of all the different options. Would love to see more videos like this!

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

      Thanks. I appreciate you taking the time to let me know you found it useful

  • @jeromeastier462
    @jeromeastier462 2 місяці тому +1

    Hi Wyn, excellent video, very well edited! I really appreciate the facts that you are citing all your references.

  • @w13ken
    @w13ken 2 місяці тому +1

    Thanks Wyn, an excellent video that's very well explained and stepped through. And thanks for being honest that you didn't just bang those last 2 solutions out 🙂. Power Query is incredible but the syntax can be pretty tricky and with 700+ functions it's about knowing the art of the possible and lots of practice. Bookmarked this one for when excellent performance on large datasets is essential.

    • @AccessAnalytic
      @AccessAnalytic  2 місяці тому +1

      You’re welcome. Thanks for the feedback

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

      @@AccessAnalytic ...and one quick one: how did set up the small table/350k table switcheroo?

    • @AccessAnalytic
      @AccessAnalytic  2 місяці тому +1

      I used a parameter( so pull the number into Power Query ) then use it in a Keep Top Rows step

  • @Back1Ply
    @Back1Ply 2 місяці тому +1

    Always love a power query deep dive, thanks for the this.

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

      You’re welcome. I appreciate you taking the time to let me know you found it useful

  • @StephanBenne
    @StephanBenne 2 місяці тому +1

    Hi Wyn,
    Generally I like the single line of code solutions I tried to use it before in a complex PowerQuery and my refresh time went to the roof. Therefor I stepped back to the Query Merge options. Is is easy to understand and very fast.
    Thanks for putting the different options side by side.

  • @emujkic
    @emujkic 2 місяці тому +1

    Well done. Love it.
    Great explanations.

  • @mehulthakkar6094
    @mehulthakkar6094 2 місяці тому +1

    Brilliant !!! Very Good👋👋

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

    Hey Wyn,
    Here’s my experience on approx. match lookup.
    If you want to do exact or approximate match in PQ-M, yes List.Accumulate (LA) is efficient.
    Then again Table.Combine is beautiful function as well (that’s a hint).
    OTOH, I very much like to use the List.PositionOf (LPOSO) function for both, that is: including approximate match lookup.
    (Really, you can)
    Excelisfun has a video on approximate lookup to which I reacted giving various methods (including List.Generate per Mike’s request).
    In my experience LA and especially LPOSO are the fastest. I believe those methods to be a little less convoluted that your methods in this video, honestly.
    BTW: indeed most important: tables (or lists!) that are called over and over in a function should be buffered right before usage for max. performance.

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

      Do you have a blog post or video that demonstrates LPOSO?

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

    Just amazing. thank you!

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

      You’re welcome. Thanks for leaving a kind comment

  • @williamarthur4801
    @williamarthur4801 2 місяці тому +1

    I kew I had used this or
    similar method so had a look through and found this ;
    List.Accumulate( Table.ColumnNames( Source ) , Source, (s,c)=>
    Table.TransformColumns( s,
    { c, each Text.Combine( List.ReplaceMatchingItems(
    Splitter.SplitTextByWhitespace() (_), OldNew )," ") }) ) , The To.Columns is very fast even though it requries nested list transform if text is to be split, I did try working on records but there was not speed difference, but i just like records.

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

      Are you able to re-phrase that code so it works with my example