5 Tricks to Reduce Steps in Power Query

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

КОМЕНТАРІ • 76

  • @cristian.angyal
    @cristian.angyal 3 роки тому +4

    Great video Chandeep, very useful!
    Thanks for the shout-out! Means a lot!

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

    Thank you.
    Another option for the last step: You can combine source and navigation. Copy the {}-part from nav to the source.

  • @osoriomatucurane9511
    @osoriomatucurane9511 16 днів тому

    Awesome, That what I have been doing in exploring M Code write at the beguining of my learning journey. I tweak or fine tune the code by
    1. Nesting functions
    2. Exploiting fully the functions optional arguments like data types, column names

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

    This is a good example of how knowing just a little bit of manual coding can give big benefits.

  • @tARasKoni
    @tARasKoni 3 роки тому

    Go beyond comfort zone, beyond habits work only with Power Query UI and try to play with M-code in formula bar. Thank you Chandeep! Very cool kick in right direction)

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

    Check out our newly launched M Language course ↗ - goodly.co.in/learn-m-powerquery/

  • @jimfitch
    @jimfitch 3 роки тому +4

    Great tips. In response to your request, the Promoted Headers tip was new to me. I had already discovered the others before now. ... I agree with you that these tips are very useful. We don’t have big data requirements, so I don’t expect that they improve performance much for us, but they simplify the code (steps) & make maintenance much easier.

  • @natam1595
    @natam1595 3 роки тому +2

    Thanks, very useful!
    I never realised that I should use more parameters in functions, this changes my thinking. Time to prune my queries :)

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

    Fantastic video, Goodly. I use Power Query every day in my day job so this will come in very useful.

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

    I like timestamps
    0:45 Reduce Changed type steps
    5:10 Reduce reorder columns steps
    7:22 Apply batching
    9:49 Reduce renaming columns
    13:30 Reduce promoted headers
    cheers

  • @sanjeevsoni6793
    @sanjeevsoni6793 3 роки тому

    Last one is the best...
    Thanks for consolidating the 💡. We will definitely use.
    Your are excellent 👏👌 in marking the things simple.

  • @vijaykrishnan4151
    @vijaykrishnan4151 3 роки тому

    Pretty good ...Chandeep. Another way I reduce the steps is the nesting of queries. However, a word of caution is to avoid too many nested queries as they become difficult to debug later.

  • @abeerattia4523
    @abeerattia4523 3 роки тому

    Thanks Chandeep , you make every thing easy for us, Abeer from Egypt

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

    My best PQ trick is to watch videos from Goodly 😊😊

  • @IvanCortinas_ES
    @IvanCortinas_ES 3 роки тому

    This is insanely good. Thank you Chandeep!

  • @askulasaatwik8thc644
    @askulasaatwik8thc644 3 роки тому +1

    promote headers is great step to reduce in Power query

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

    Thank you Goodly. I learnt all these tricks though trial and error but it's good to know I've been doing the right thing.

  • @Chris_in_fremantle
    @Chris_in_fremantle 3 роки тому

    Great tip re promoting headers. Thanks

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

    Nice tricks, I am using them all, but still do not understand when and how to use table buffer so I merge few times large data sources and speed up the query refresh. Sometimes it takes 30-40 minutes and I am merging 2-3 or more times the same tables, where I think Table.buffer may help...
    I will be happy if you make a video ot this topic. There are no many and no good explanations on how to use it and when...
    Thank you!

  • @Smantkar
    @Smantkar 5 місяців тому

    explanation is too good. looking for more video's like this

  • @durbhamurthy2151
    @durbhamurthy2151 3 роки тому +2

    Thanks a lot. I learned a whole new way of looking at my M code. Question. Apart from the aesthetics, is there any harm to having more steps? Is there a significant penalty in speed or file size?

    • @excel-in-g
      @excel-in-g 3 роки тому

      I actually have the same question (sort of). Ken Puls explicitly mentions on his website it does not make sense to combine query steps into one. Since the code will work inside out. But that is about nesting functions as I understand it. In that case more can be better and can have a positive impact on maintenance as well.
      Using extra arguments inside the function that replaces an extra step will have an impact. Hard to tell how much that impact is. I know in PowerBI there is a way to test it.
      Leaving Columns as any type does have an impact on memory and data storage. Any consumes the most. So I'm guessing there is some debate whether all these tips are to be followed blindly each and every time. Context is everything in PowerBI ;-).
      @chandeep @goodly, I'm kind of curious to know your extra insights on the topic. I'm almost certain you do have them.

    • @GoodlyChandeep
      @GoodlyChandeep  3 роки тому +2

      - In PBI you can use Query diagnostics to test the performance of each step.
      - Also you're right about most solutions are contextual!
      - I often use these tricks to not pollute the number of steps in my query!

    • @excel-in-g
      @excel-in-g 3 роки тому

      @@GoodlyChandeep , thanks for answering. I know those diagnostics exists. Still in step-in mode when it comes down to PowerBI. Somehow I'm sticking to Excel for the moment. All 'bout comfort zone , right?
      I don't mind extra steps in my queries as long as they are not somehow redundant. Like many of your examples.

  • @venkyr81
    @venkyr81 3 роки тому

    Thanks a million for this very useful Video Chandeep!

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

    Promoted Header was unknown to me. Thanks for sharing this.

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

    This is very good information, thank you.
    May I suggest adding chapter markers for each of the tips. I came back to look again at the tip regarding adding headers in one step and I had to search through all the video to find it.
    Again, I appreciate your content and the work you put into it. I have learned a lot and I am grateful.

  • @b.salmon4194
    @b.salmon4194 10 місяців тому

    renaming the columns in M code rather than using an applied step is genius, so simple but wasn't obvious to me

  • @barttitulaerexcelbart9400
    @barttitulaerexcelbart9400 3 роки тому +1

    As usual, very good video Chandeep! I know you can not please all people in the world, but the background music is no pleasure for me, since I have to concentrate on the English...

    • @GoodlyChandeep
      @GoodlyChandeep  3 роки тому +1

      Thanks Bart, just experimenting stuff (in terms of music). If a lot of people feel alike, I'll certainly stop :)
      Hope that's not too much of a hassle. Thanks again!

  • @sravankumar1767
    @sravankumar1767 3 роки тому

    Nice Explanation Chandeep...

  • @GrainneDuggan_Excel
    @GrainneDuggan_Excel 3 роки тому

    Great tips, Chandeep. The promote headers and add date ones are especially helpful! Thanks

  • @shabbirkanchwala-abwaab6263
    @shabbirkanchwala-abwaab6263 3 роки тому

    Thank you
    Good tricks
    Sir, More steps make File size larger?

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

    Thanks Chandeep for nice tips ..

  • @shraddhamane2385
    @shraddhamane2385 3 роки тому

    very informative. Can u tell how to unlink the all quires in one step ,once work done ?

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

    While combining files, Merge columns getting stuck if some time one column is not there. Means column name is dynamic but value type in columns is same which is why merging is required.

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

    Very good tips. Thanks

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

    A few good extra hints here. I like to work on the principal of reduced steps.
    Was there an easy way to replace multiple values in one batched step?
    I looked at a few suggestions, but they were really long winded & I tried to guess a few variations but had no joy.

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

      You can do that using a list accumulate function

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

    Do you have early morning live classes ??

  • @RonDavidowicz
    @RonDavidowicz 3 роки тому

    Very interesting video for someone just getting started. Question: What is the benefit of reducing steps?

    • @GoodlyChandeep
      @GoodlyChandeep  3 роки тому +1

      See this - ua-cam.com/video/2bzJFrJPg_c/v-deo.html

  • @excelemployeeleavetracker1274
    @excelemployeeleavetracker1274 3 роки тому

    Great Video my friend: Question: Is there a way to ADD a column from the Source Data to a Query After the Query has been created an loaded to a Table? Thank-you for the helpful information!

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

    Thanks, very useful!

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

    My colleague said that once he got a .pbix file to work with, and when he tried to open it didn't open and there was an error that there isn't enough ROM to open it (he had 16 gb). When he managed to open it in cloud virtual machine he said that there was a tons of steps in power query which caused problem with calculating it.

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

    Create a dedicated playlist on power query functions (M language)... Not much content is available online for that..
    And yes... Great content... Keep up the good work

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

    Hi. It is obvious that reducing the steps simplifies the whole code (sometimes not ;-). But PQ in my case is terribly slow. Clicking on any step requires massive amounts of data to be refreshed. Sometimes it is impossible to work with. That's why I wanted to ask: do You have a video with 5 Tricks to Speed up Work Power Query?
    Great job as always!!!

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

      I'll have to create a video on that.
      If you can explain your problem clearly and send me a few examples that slow down your query I can create something interesting. goodly.wordpress@gmail.com
      Thanks
      Chandeep

  • @sloku8716
    @sloku8716 3 роки тому

    This video is nothing but AWESOME, ;)..!!!

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

    Great video!

  • @TalmadgesArcade
    @TalmadgesArcade 7 днів тому

    Thank you

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

    finished watching

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

    Nice! Very handy and simple tricks :)

  • @mnowako
    @mnowako 3 роки тому

    Good one 👍 Thank you!

  • @alexrosen8762
    @alexrosen8762 3 роки тому

    Great tricks! Thanks :-)

  • @notesfromleisa-land
    @notesfromleisa-land Рік тому

    Promoted Headers code...new trick for old dog. Why reduce steps (some of your viewers ask), because when you go back you will reduce the number of WTF? moments in looking at your query steps. I'm still a new user to PQ--and I evangelize its virtues to many. (I realize that I am one of MANY that have managed to overlook this essential tool. I also find that if I use the F2 button and rename the steps, particularly for adding columns for calculations; it allows for a cleaner (re)view of the query.

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

    Everyone talks about expand column & tables but I was wondering how can we pack our 1000s rows of data into 100s rows of data so that we can later again expand those.

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

    Is there a performance issue if we reduce steps?

  • @diptisharma9900
    @diptisharma9900 3 роки тому +1

    Hey, your tricks are awesome and really very relevant to the topics thanks a lot.
    I would request you to please make some videos on mekko custom visual.

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

    Need to get in touch with you

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

    1:45

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

    पहप्पे, आपके विडिओ बहुत कामके हैं , पर यार पीछे बाजा क्यों बजते हो , बड़ा distracting होता है

  • @stevecassell
    @stevecassell 6 місяців тому +1

    So you turned off auto detect data type then showed how to manually apply auto detect data type? Seems like you like fixed a problem that you created 😂