10 Power Query tips EVERY user should know! | Excel Off The Grid

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

КОМЕНТАРІ • 136

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

    OMG! Disabling the auto Change Data Types!! Love that tip!

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

      Yes, that one is pretty useful. 👍

    • @satx9684
      @satx9684 13 днів тому

      Yes, I thought the same thing. I hate t when Power Query does that automatically.

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

    Unchecking enable background refresh - didn't know that. Thank you!😊

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

      That's one is really useful - I'm glad you won't have the double refresh issue ever again.

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

    Excellent! The Jack Bauer of Excel strikes again. Thank you for sharing! The rounding info is a life saver.

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

    I will making the Folder.Contents change tomorrow. I didn’t know about that. I knew of most of the other ones but it’s always good to refresh the mind

  • @Adam_K_W
    @Adam_K_W Місяць тому +3

    These are all great! I think I was aware of roughly 7 of those and have used a few of them. My personal favorite PQ shortcut is once I've worked out a query, especially a complex query, I will go to the advanced editor, copy the all of the query language there and drop it into Microsoft Co-Pilot and ask it to Q.C. check my query and optimize it. If there are multiple steps where I've added a number of columns one at a time or something like that, AI will combine those steps for me into a single step and give me a new concise query that I can paste back into the advanced editor. **Make sure to save the original language to a word document or simply duplicate the query you're going ask AI to rework before you do this. That way, if AI gives you a buggy bit of M language, you can easily revert to the one you know works well.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Місяць тому

      Interesting - hopefully you learn from changes which the AI has made and try to build the query better next time.

    • @Adam_K_W
      @Adam_K_W Місяць тому

      @@ExcelOffTheGrid yes, when adding multiple columns, step by step, AI will merge those steps using list.transform it's pretty slick when it works out. AI isn't infallible though so you have to know what you're looking at and QC check it.

  • @TravelRunner
    @TravelRunner День тому

    Wow these tips are super useful. I've been a victim to the double refresh all the time! Thanks so much for this video, new subscriber here.

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

    Thanks for the tips ! The "default load" one was exactly what I was looking for !

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

    9/10. The part about rounding numbers was new to me.

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

    Thank you Mark! I used pretty much all of them, but you gave me tips on using them better with sub tips I didn't know. For example I would rename steps but didn't know you could add a long description in Properties. But I rename steps getting rid of spaces: this removes the (annoying ?) double quotes and hash (i.e. "# ") which I find easier to read and tweak my Power Query script in Advanced Editor, often with Excel formula cheats or in SSMS Studio.

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

    The last three tips are new to me.

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

    Excellent tips, Mark! I’m an advanced PQ user & learned useful techniques today. Thank you!

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

      Glad it was helpful! - There is always something new to learn.

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

    I knew most of them but wasn't aware that Excel and Power Query use different rounding methods. Thank you so much for bringing that to my notice. Then I had lots of fun writing a formula that uses banker's rounding in Excel.
    That's one of the reasons why I like your videos so much. After pretty much every single one, I end up thinking about the problem and coming up with my own solutions. Inspiring creativity is the best kind of teaching!

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

      Thank you for those kind comments about the videos. I'm always trying to create good content and constantly improve.
      This is the formula I use for Bankers Rounding: =IF(MOD(C3,1)=0.5,MROUND(C3,2),ROUND(C3,0))
      Where C3 is the value to round.

  • @justinbennett9941
    @justinbennett9941 19 днів тому

    I don't think I knew any of these! Very nice video- concise and to the point- subscribed!! Thanks!

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

    Very precious, thanks Mark. 5/10 already knew. The bests : avoid double refresh and rounding numbers

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

      Double refresh is a really useful one - I hope you can put it to good use.

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

    Close and load to greyed out: THANK YOU!. This was making me crazy.

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

      I know, right… why can’t it just show us the options again and then we can choose a new location.

    • @JJ_TheGreat
      @JJ_TheGreat Місяць тому

      I knew this one… Once you create the query and load it initially, you have to load it through the Queries & Connections (Queries) menu in Excel!

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

    Oh my gosh, I already knew all of those because I’ve been following you for over a year! I think I’m most proud of myself and my PQ journey thanks to you and your mutuals on YT 🙏🙌🤩.

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

      That is awesome! Glad I could help you out for the last 12 months. 😁

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

    I knew 9 out of 10. Believe it or not i didn't know about the first one and I love it so much. Thanks

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

      That's a really useful technique - I'm glad I could fill in the 1 gap. 😁

    • @JJ_TheGreat
      @JJ_TheGreat Місяць тому

      Wow, that’s really good that you knew 9 of 10… I had only known 4 of 10.

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

    Those are great tips Mark! Knew only 3 of them!

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

    it's the enumeration of some self discovered tips thanks

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

    I really liked your tips and tricks regarding power query. I haven't searched for your other videos yet, but if you don't have one yet, I'd like to see your videos regarding parameters

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

      Thanks, I appreciate that feedback 😁
      I've got an older video about parameters - here is the address ua-cam.com/video/28T0XzGNZyM/v-deo.html

  • @satx9684
    @satx9684 13 днів тому +1

    I probably knew a bout half of these. But great video. I love your information.

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  13 днів тому

      Well… you now know the other half too. I hope you can put them to good use.

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

    9.5... I use #8 on SharePoint vs folders
    👏

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

      On SharePoint it is even more critical - it can have a MASSIVE impact on refresh times.

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

      @@ExcelOffTheGrid your academy for the win (plus Celia's snap reports class☺️)

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

      does it work when you're not a site admin?

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

    Great tips, thanks Mark. I especially liked the import from main folder without sub-folders. This means I can save old data file back-ups there and they will be ignored, great.

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

    Efficient and to the point. As always, discovering new features thanks to Mark.

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

    Wonderful and awesome techniques, for me Adding documentation was amazing. Thanks Sir for sharing such a great video.

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

    Great list of tips Mark! 🎉

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

    Great video as always, thanks Mark!

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

    9/10 , thanks for this, quick and straight forward.

  • @mattbowden1981
    @mattbowden1981 Місяць тому

    Great tips!

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

    Great tips- thank you!!!

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

    You're right. I should and I didn't but I do now! Thanks a bundle.

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

      Exactly. You've accelerated to 10/10 in 7 minutes. 😁

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

    Thanks Mark, great tips. I think I made it to 8 out of 10, but I didn't know #9 and I didn't know about bankers' rounding, and a great reminder of the others.
    Just one (very geeky) thing I once came across - like you, I like to disable automatic Change Types but I was once downloading PDF bank statements from a folder. It worked perfectly with automatic change types enabled but was a disaster without - no idea why, and a very specific and unusual case

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

      That is very odd... it really should make no difference what so ever. Hopefully I will never come across that. Sounds like a real headache 😬

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

    No 10, I like the most! thanks Mark

  • @AnshulMarele-gbaa
    @AnshulMarele-gbaa Місяць тому +1

    Informative 🙏🏻

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

    Excellent!
    Can you gives another tips for me 🙏
    my source data is in the folder, Is there a trick to refresh query only for the file I just updated ?

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

      There are some work around using self referencing Tables. But the complexity to manage it correctly usually causes more issues than just loading all the files.

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

    Except of rounding option rest of tips I've learned on my practice. :)
    But anyway, thank you for reminding them.🤗

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

      These are the tips you "should know", and you do, so that's a good thing 😁

  • @DaveIsAtWork-Really
    @DaveIsAtWork-Really 2 місяці тому +4

    Regarding Tip #9, Excel needs a way to set "disable background refresh" as the default for future queries. I absolutely despise this setting and the need to clear it each and every time. I just finished making a file with many separate queries and it just becomes an annoying extra step for each and every one of them. But otherwise, some really great tips. 👍

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

      You could create a macro which changes all the queries in the workbooks.

    • @DaveIsAtWork-Really
      @DaveIsAtWork-Really 2 місяці тому

      @@ExcelOffTheGrid Thanks, I found a macro to do that, and even put a link to it on the Ribbon for quick access. Step 1: make the file and queries. Step 2: run the macro. 👍

  • @GurayVural-nz1lk
    @GurayVural-nz1lk 2 місяці тому +1

    Thanks!

  • @extraktAI
    @extraktAI Місяць тому

    Wonderful!

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

    4/10 thanks for the new knowledge!
    Still struggeling with sorting columns efficiently AND correctly (still cannot find any good solution on that) at pirvot tables... Any how well done!

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

      Sorting columns in tricky due to how PQ evaluates the process - often Table.Buffer is the solution.

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

    Brilliant video, super useful, thanks!!

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

    These are fantastic

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

    Thanks

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

    10x pure Gold! Thanks 😄

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

    Very Nice, thanks!

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

    Power query is another layer of data managing and is really a powerfull tool that is not well known and explored. The use of a proper language is an advantage and disadvantage at the same time.

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

      Getting to know M code is tricky - thankfully we can do a lot just through the user interface.

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

    Thanks, Mark. 6/10 for me!

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

    Thanks for sharing, it's very useful .
    But I want to ask how to change the name of source file name or directory without editing the content in Power Query
    hope you can understanding my poor English

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

      Check these out:
      exceloffthegrid.com/power-query-source-data-location/
      exceloffthegrid.com/power-query-source-cell-value/

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

    Great tips. Thanks

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

    5:48 Question: What if you had connected to a folder or files within a folder, but someone at your organization changes the location of the folders, which breaks your query? Are there any measures/controls we can put in place to prevent/mitigate the query breaking?
    Thanks!

    • @ExcelOffTheGrid
      @ExcelOffTheGrid  Місяць тому

      Just re-point the query to the new folder - and everything will work as before.
      Instructions here: exceloffthegrid.com/power-query-source-data-location/

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

    Thanks for sharing

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

    As usual “to the mark!” 😃

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

    Amazing 🎉

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

    Hi there. A non Excel related question. Could you please share your lighting techniques when recording your videos? Would be great to see your setup. Regards. Chris (South Africa)

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

      I've literally just changed it today. So, you will see it on a video in a few weeks.
      I use a soft-light at about 45 degrees for my face. The background is just cheap LED lights shining at a wall.
      The rest is playing around with the Brightness / Contract / Saturation to get more shadow into the image.

  • @francois-xavierr.2710
    @francois-xavierr.2710 Місяць тому +1

    around 6-7

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

    1 from 10

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

      But now having watched the video, it's 10/10 😁

  • @pierre-yves_david
    @pierre-yves_david 2 місяці тому +1

    Not to show off, but 10/10.

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

      That's awesome - good work. 🏆

    • @pierre-yves_david
      @pierre-yves_david 2 місяці тому

      Mark, if I may, I would suggest a video on data firewall. I don’t understand neither conceptually nor practically what’s wrong, even if I understand what is aimed (avoiding sensitive data output in query folding).
      If I remember correctly, you have already addressed the topic, the two different error messages… It is the only topic on which I need something complementary to get it. My workaround is horrific: parameter to shunt the firewall 😱
      Such a shame, should have said Talk Talk.

  • @MichaelBrown-lw9kz
    @MichaelBrown-lw9kz 2 місяці тому +1

    Sir, I would love to take your Office Scripts course. Can you provide the link to sign up and pay for the course?

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

      Great news 😁
      You can sign up to our Office Scripts course here: courses.exceloffthegrid.com/office-scripts-course
      It's also part of our Excel Academy membership, which is available here: courses.exceloffthegrid.com/academy

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

    6 out 10

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

      Pretty good... and now having watched the video you're now 10/10. 😁

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

    7/10 - not bad 😅

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

    Just ran into an issue. I have years at top of matrix, and months as rows. If i use the Difference formula in dax I can get diff from one month to the other (going down the rows), but how (if matrix stays in same layout) can I get Difference from year to year across my matrix?

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

      Are you using the visual calculation method? If so, my answer is no idea; I've not had chance to look at that yet.

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

    5/10

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

    9/10 - didn’t know tip no. 9 (then again I always load the data straight to the Pivot Table Cache and don’t have the issue that way).
    All the others have been active (or should I say: “deactive”? ;-) for the longest time by now.
    Good tips of course, should be part of PQ-M 101, but I’m biased :-)

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

      Load straight to the Pivot Cache! Then you can can't see the data separately... you Maverick! 😂

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

      @@ExcelOffTheGrid It gets even better: if you copy the pivot table (or the entire sheet for that matter) to another one/location, explicitly updating one single pivot table updates all the others as well. On looking at the data: you can always make a PT that looks like a table… (provided that PT is not too big for your sheet).
      Of course, in this scenario it may be beneficial to load the data to the data model and get your PT from there, or explicitly avoid that route if you want to make use of grouping in your PT. BTW: you did know that the PT cache can hold very large tables, right? I mean: (way) larger than f.i. 1,5 mio records. PT’s work well with them too. I looked into all this some years ago…

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

    How to map dynamic and static data in excel. I want my comments to remain with corresponding lines When i refresh data. Thnx

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

      That's covered in this video: ua-cam.com/video/8cmuEpF3oOg/v-deo.html

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

      @@ExcelOffTheGrid wow! Thanks 👍

  • @sledgehammer-productions
    @sledgehammer-productions 2 місяці тому +1

    why is #3 even necessary, rounding like a banker is not 'normal'.
    #8, this is so much nicer than my workaround, selecting just that 'root' in the Path Column.
    6/7 out of 10 that I already use in some shape or form.

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

      Bankers rounding is actually the default in VBA, it’s quite common in programming languages - which I agree is not ‘normal’.

    • @sledgehammer-productions
      @sledgehammer-productions 2 місяці тому

      @@ExcelOffTheGrid I suddenly fear for all the VBA that I've done in my lifetime. Well, now I know. Just have to find a way to remember it 😁

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

    3/10 🙈

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

      But now you know 10/10 - so you've instantly jumped to the next level. 😁

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

    0/10
    I had no idea about these tips.

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

      That's OK. You've now do, so you're now at 10/10. 😁

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

      @@ExcelOffTheGrid yeah! indeed... thanks a lot bro 👏👏

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

    Awesome as always. Thanks Mark❤