Reference an Intermediate Step from another Query | Power Query Tricks

Поділитися
Вставка
  • Опубліковано 5 лип 2024
  • Check out our newly launched M Language course ↗️ - goodly.co.in/learn-m-powerquery/
    ===== ONLINE COURSES =====
    ✔️ Mastering DAX in Power BI -
    goodly.co.in/learn-dax-powerbi/
    ✔️ Power Query Course-
    goodly.co.in/learn-power-query/
    ✔️ Master Excel Step by Step-
    goodly.co.in/learn-excel/
    ✔️ Business Intelligence Dashboards-
    goodly.co.in/learn-excel-dash...
    ===== LINKS 🔗 =====
    Blog 📰 - www.goodly.co.in/blog/
    Corporate Training 👨‍🏫 - www.goodly.co.in/training/
    Need my help on a Project 💻- www.goodly.co.in/consulting/
    ===== CONTACT 🌐 =====
    Twitter - / chandeep2786
    LinkedIn - / chandeepchhabra
    Email - goodly.wordpress@gmail.com
    ===== CHAPTERS =====
    0:00 Intro
    0:30 Trick 1 - Jumble them up
    4:26 Trick 2 - Split Queries
    6:00 Trick 3 - Extract Query Steps
    12:41 My Courses
    ===== WHO AM I? =====
    A lot of people think that my name is Goodly, it's NOT ;)
    My name is Chandeep. Goodly is my full-time venture where I share what I learn about Excel and Power BI.
    Please browse around, you'd find a ton of interesting videos that I have created :) Cheers!
    - - - - -
    Music By: "After The Fall"
    Track Name: "Tears Of Gaia"
    Published by: Chill Out Records
    - Source: goo.gl/fh3rEJ​
    Official After The Fall UA-cam Channel Below
    ua-cam.com/channels/GQE.html...
    License: Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)
    Full license here: creativecommons.org/licenses
  • Наука та технологія

КОМЕНТАРІ • 217

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

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

  • @chandoo_
    @chandoo_ 2 роки тому +64

    That is RECORD Breaking...Awesome tricks Chandeep 🤩

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

      Glad to see you here Chandoo. Your puns never cease to amuse me!
      Thank you 😊

    • @dhananjaypinjan2643
      @dhananjaypinjan2643 2 роки тому +6

      Nice to see Two Stars on one page 🙏👍👍

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

      omg chandoo you're a legend. I remember using your excel tutorials a very long time ago!

  • @double-excel
    @double-excel Рік тому +4

    Incredible! I've wondered how to reference intermediate steps in other queries for a long time, nice to see this way of doing it! Just ran across your channel, and love your explanation style. Looking forward to digging through your old videos!

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

    Great! Thanks Chandeep. Thumbs up!!

  • @thamilanban
    @thamilanban 2 роки тому +7

    Thank you
    Could you please post a video on how to use the last trick practically?

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

    Mind. Blown. Super helpful for understanding PQ in more depth. Thank you!!

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

    Brilliant. Very well explained. Thank You 🤯

  • @buhogris
    @buhogris 2 роки тому +10

    The last trick is so damn fantastic! It looks so simple yet I wouldn’t ever thought about doing that approach. You made a great explanation on how records works, thank you!

  • @scoflix
    @scoflix 4 місяці тому

    Thanks ... it was really helpful! Best video so far!

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

    Wow... Just Amazing. !!!

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

    Last trick is awesome. Thank you!

  • @PranayPawar1991
    @PranayPawar1991 3 місяці тому

    Amazing Trick as usual, Thanks a lot. Cheers

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

    Trick 3 was really a surprise! Really nice mate, keep going with the nice videos! Appreaciate the knowledge sharing!

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

    Stunning trick, definitely comes handy in creating complex joins only at a particular stage .. Thank you for sharing Chandeep.

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

    Excellent, didn't know the last one, very useful!

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

    Number 3 man!! Woot Woot!!!

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

    Great tips bro, thanks

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

    Excellent content. Thoughtful and enthusiastic delivery. Thank you sir!

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

    so interesting. many thanks

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

    Nice tricks!👏Thanks for sharing👍

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

    No doubt - ABSOLUTELTY MINDBLOWING!!! The last one obviously amazing from the utility point of view. Thanks for sharing this.

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

    🤯 This is a game changer! This may change how I will design my queries moving forward...

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

    Mind blowing👍👍👍👍

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

    Phenomenal!

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

    I learned 3 new things today. thanks :D

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

    the last one is mind blowing. this solves many problems. thank you mate 🙏

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

    Awesome!

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

    Thanks for the video fantastic keep it up 👍

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

    Many thanks! Crazy...

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

    Great !!! Sir,
    I was looking for such a Solution where we can access an already worked out process and avoid duplication and bunch of M Code in another query. This way we know exactly our logic is
    Many Many Thanks to your Sir
    Khalid Khan

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

    So cool, thanks!

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

    Yes in deed wonderful. This is what exactly shows up when we connect to sharepoint list and see the site contents

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

    Love the 3rd trick! 😀👍
    2nd trick looks similar to the 'reference' feature, but in reverse 🙂

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

    That's fun way to transform steps into a record! I'm liking all this, and it's easy to implement, and to revert. Awesome!

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

    Mind Blown!

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

    All the 3 tricks are super. Especially the 3rd trick to create new source from existing step of a query.
    In the 2nd trick you shared reg extract previous to make separate query is also awesome. But it has a limitation I feel, you can't add further steps in the detail table since it becomes source for the original table.
    Nicely explained and superb recording

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

    Always wait for your video

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

    Awesome

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

    Great video mate

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

    this is crazy good!!! The 3rd one is fantastic!!

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

    Excellent tricks Chandeep..mind blowing

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

    it seems so useful bu we also should check the performance of the queries

  • @subanark
    @subanark 2 роки тому +5

    Instead of creating a new query, entering in the name of your main query, and then clicking a table cell in there... In your main query, click the white space to the right of the Table link and choose "Add as new Query". Note that doing this will copy the main query meaning any chances you make to the main query will not be reflected in your new query. Alternatively, you can right click a query and choose reference, which is the same as creating a new blank query and entering the name of another one.

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

    very helpful and crazy tricks, thanks for your sharing

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

    3rd one is the best and fantastic! Thanks for sharing!

  • @jaybuddhadev3543
    @jaybuddhadev3543 4 місяці тому

    always Best👌

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

    Great content. Thanks.

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

    Insane!

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

    that last one is actually insane and useful

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

    I love the last trick as a resource saving trick as well for two reasons. First, the flexibility. In one case I referenced the same table multiple times for different reasons and so they did not need to load all the applied steps every time. Being able to jump in at the first or second step saves so much confusion in the new tables because the unneeded steps are not there.
    Second, when I refresh my data model, I noticed that the record refreshes very quickly since it is not actually unpacking the tables as a referenced table or duplicated table would. Instead, it loads the rows of instructions and unpack the table when it called as a source. Saving our team an entire table worth of time, memory, bandwidth for each table we use this technique and every time we refresh our models. It also helps keep the file size down if you need to use this trick multiple times in your data set. That was very important to us before the Query Folding pipelines were available.

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

    I fell off my seat with the last trick. Amazing. It shows the power of the M language and how it can provide wrappers for just about anything. Thanks Chandeep. Great job!

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

    This is a great trick!! Saves so much time and make the query so efficient! Thanks

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

    “Wackiness Quotient” LOL
    Just found your channel, so awesome! Thank you for the wonderful information!!

  • @AT-LT
    @AT-LT Рік тому

    Thank you Chandeep, very useful to experiment with and find alternative query building options!

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

    Thanks for sharing its really blowing my minds

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

    Wow Just wow. I love this channel!

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

    This approach with Records is so cool. It can be helpful to avoid circular references. When you need to pick up an early step, manipulate it and after that add it to the final step of the Query A. This is awesome😊

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

    pretty cool for referencing!!

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

    This is amazing trick and I can see how I will use it in my work. Thank you Goodly. I start watching every lesson you have in the channel. Very impressive and really appreciate your work for teaching Power BI techniques.

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

    Awesome, that last Record trick is amazing thanks

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

    You definitely are a champion Chandeep! I was litteraly pointing up just when you were explaining the transformation of steps in a record. It is just fabulous. I will rebuild some of my complex power queries to make them lighter. Great great great !

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

    Yes, PowerQuery master tabling

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

    Now I came to know, no one else can teache with so simple logics power query and BI without any additional fee

  • @excel-jodallah
    @excel-jodallah Рік тому

    Really amazing

  • @cbhang
    @cbhang 26 днів тому

    Hi, thanks!
    Will the third query also be able to calculate the result faster since it is only referencing the already calculated results (converted to records)?

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

    Wow !!!!

  • @AshishBajoria
    @AshishBajoria 3 місяці тому

    Sir , I have a table and I want to add lot of manual data with formulas into the same which is being loaded from power query. Please guide me on it.

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

    AS always... Ppfffff... Mind blowing

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

    Another excellent presentation! Cool to see Chandoo drop in with kudos as well.

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

    First Like chandoo..👌

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

    Thanks Chandeep - third trick is awesome. This shows how to reference the query steps/records you've created at the beginning of a new query (as the source). But instead, how would you refer it in the middle of the new query (as a single value to be used in a calculation or Custom column)?

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

    the last trick is really incredible, well done. but my question is what happens when you have additional information in the source file? if you refresh, will the new record pick the new information?

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

    Awsome bro😄

  • @Magdoulin
    @Magdoulin 7 місяців тому

    For trick #03, export the query steps, how to make this dynamic? I mean, could it be linked somehow to the original query to reflect any change made there?

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

    Muito top!!!!!!!!! Very cool!
    I hope one day to exchange many ideas with you! #powerbinareal

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

    First trick was nice, but third is mind blowing. Question is impact on performance in complex queries. Would have to check it ;)

  • @user-tj6fq7fr5s
    @user-tj6fq7fr5s 4 місяці тому

    More pivot table tips and tricks please 😊

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

    Maaaaate! really good trick!
    Thanks a lot!

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

    Loved the 3rd Trick

  • @YvesAustin
    @YvesAustin 10 місяців тому

    Cant wait to jumble up my queries😂. Amazing last trick! I reference queries a lot and split them as your trick #2, but had never seen that third one. Thank you.

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

    Wow mind blown 🤯, you are legend, got out of bed just to try the last trick lol 😂

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

    That third trick goes straight into my utility belt 😎 Thanks, Chandeep!

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

    This did not disappoint. All are brilliant, thank you. Love the outtake at the end

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

    Thanks you

    • @AnAnd-zl7oo
      @AnAnd-zl7oo 2 роки тому +1

      Mind blowing 🤯... literally feel what ever I had learnt basics about MCode....out of my mind 🙃

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

    Hi, your videos are very interesting and I often learn new stuff but stop constantly teasing on what comes next, we are here for one reason and we stay with you 😉. Vincent from Paris

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

    I really liked 3rd trick. Thank you Chandeep. You are awesome. lots of love.

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

    Wow Wow Wow Wow You have solved my one problem by using the last technique I can dynamically execute or not to execute the query. Awsome trick

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

    Loved 3rd trick

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

    Your final trick really is rad! :-)
    I think I’ll find a good use for that. Thanks for sharing!

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

      OK, I just thought of something: I have this query where I look up the help on all the built-in functions, and then I subsequently I filter that “source” step for bunch of keywords like “Table”, “List”,…
      So, now you know that in the very near future I will have the capability to ask for Help[Table] anywhere and get exactly what I want… ;-)

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

      @@GeertDelmulle I post more relevant uses of this trick soon. One video at a time :)

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

      PS: works like a charm! (of course it does :-)

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

    genius bro !!!!!

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

    Hi Chandeep does the first trick speed up the query ? With less steps in the UI ?

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

    Greatttt

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

    Hello chandeep can you refer me some power bi service channels or any references...just like you shared last time of pragmatic works

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

    Trick 3 was really a surprise!

  • @Paladin101
    @Paladin101 23 дні тому

    I know this is old but then I'm an old guy playing with code - this if fun Chandeep - thanks buddy. 😉

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

    This is awesome!!! Just a quick quesiton on the third method. Would doing that when you have so many steps with a large dataset slowdown Power BI?

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

      I doubt that converting the steps into records would slow them down. It should not impact the speed unless there is a problem with the step itself.
      I haven't tested it thoroughly with very large data. With a couple of million rows it works fine!

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

    is it going to slow down data processing?

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

    Geezzz..!!! That was super cool Chandeep..! I was laughing and enjoying for 5 min.. :D

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

      Thank you so much 😀
      You laughed and enjoyed.

  • @learningsessions4584
    @learningsessions4584 4 місяці тому

    Simply brilliant Chandeep! can you guide here - I tried the record trick to source Share Point path and refer it in subsequent queries. The files when updated at the Share Pont does not update here in Power Query. When I change the source step back to table..it does update

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

    Super trick