Dynamic Query Referencing in Power Query 🚀| Using

แชร์
ฝัง
  • เผยแพร่เมื่อ 18 ธ.ค. 2024

ความคิดเห็น • 68

  • @GoodlyChandeep
    @GoodlyChandeep  ปีที่แล้ว +17

    *Note - this doesn't work in Power BI but only in Excel PQ environment.*

    • @OmisileKehindeOlugbenga
      @OmisileKehindeOlugbenga ปีที่แล้ว

      Is there a reason it does not work in PBI?
      By the way this will improve my ETL significantly. Thanks for sharing.

    • @sujit3375
      @sujit3375 ปีที่แล้ว

      Why don't you come up with full M code tutorial

    • @hapticfabric5925
      @hapticfabric5925 ปีที่แล้ว

      Fantastic tips! This is great.
      It seems to work perfectly in Power BI for me?

    • @hapticfabric5925
      @hapticfabric5925 ปีที่แล้ว +1

      Oh I see - it doesn't load to the data model. I wonder why!

    • @mazin91
      @mazin91 6 หลายเดือนก่อน

      do you have a similar aproach that can work for PowerBI?

  • @vacilando86
    @vacilando86 ปีที่แล้ว +10

    You are one of the most productive content creator in this platform , I learned so much from you. Thank you

  • @Piyush.A
    @Piyush.A ปีที่แล้ว +2

    Excellent video, never imagined this would be even a thing, and yet you're once again diving deep into it!

  • @roywilson9580
    @roywilson9580 ปีที่แล้ว +1

    Great video; I can see so many cases where this will be a useful tool to have.

  • @EricHartwigExcelConsulting
    @EricHartwigExcelConsulting ปีที่แล้ว

    This is awesome! I love how dynamic this is!

  • @jessontvarghese327
    @jessontvarghese327 ปีที่แล้ว

    There is no doubt. This is superb coool and awesome overloaded. Thank you.

  • @karimallahwala7022
    @karimallahwala7022 ปีที่แล้ว

    Thank for sharing and explaining that very helpful „section“

  • @IvanCortinas_ES
    @IvanCortinas_ES ปีที่แล้ว

    This is very useful in daily work. Thank you Chandeep!!!

  • @syrophenikan
    @syrophenikan ปีที่แล้ว

    Flipping FANTASTIC!!!!! Thanks so much for this. This will help in so many ways. Great job!

  • @arunkumarkesavan6077
    @arunkumarkesavan6077 ปีที่แล้ว +1

    Cool of course it will help us... Super Awesome!!!

  • @damionc
    @damionc ปีที่แล้ว

    I am always always learning something new and different with your videos. This is great. 👍🏽

  • @davidfelipepenaguardiola1177
    @davidfelipepenaguardiola1177 ปีที่แล้ว

    Amazing and very very usefull solution. Thanks a lot, Mr Chandeep :)

  • @GeertDelmulle
    @GeertDelmulle ปีที่แล้ว

    Good stuff, Chandeep!
    Now, I would use a template for all customers, put the files in a folder and work from there, avoiding the issue all together.
    For several input streams towards, I would make 1 folder + query per stream and combine the streams manually down the -er- flow.
    Still a good trick and good to know.

  • @odel_leal
    @odel_leal ปีที่แล้ว

    Great information ℹ️ Ypur content is very valuable. I appreciated. Thank you.

  • @aniljaggarwal60
    @aniljaggarwal60 ปีที่แล้ว

    आप पावर क्वेरी में एम कोड सीखने का आसान रास्ता बना रहे हो 😊

  • @RoccoCasaburo
    @RoccoCasaburo ปีที่แล้ว

    You are GREAT

  • @ALex-fp2zx
    @ALex-fp2zx ปีที่แล้ว

    Thanks, wery nice 👍 Dynamizing is always cool!

  • @felipesignorellireis7839
    @felipesignorellireis7839 ปีที่แล้ว

    very very gooooood. I love it.

  • @kennethstephani692
    @kennethstephani692 ปีที่แล้ว

    Great video, Chandeep, as usual!!

  • @jorstube
    @jorstube ปีที่แล้ว

    wonderful brother!!! a few days ago I was wondering how to get the name of the query in another query and you just did it; You are a teacher; I was working with a file where the tables are on different sheets and I needed to do a summary in the same book but I didn't want to load tables separately... now I'm going with this improvement. Thank you!!!

  • @munawarhussain1400
    @munawarhussain1400 4 หลายเดือนก่อน

    Amazing function. Not in use now very good to nknow

  • @Franklinvaz
    @Franklinvaz ปีที่แล้ว

    Thanks for this insight..

  • @emilmubarakshin49
    @emilmubarakshin49 ปีที่แล้ว

    Thank you so much very cool tip

  • @seshakv
    @seshakv ปีที่แล้ว

    Super

  • @Luciano_mp
    @Luciano_mp ปีที่แล้ว

    Good. Thanks!

  • @RyanLeishman
    @RyanLeishman ปีที่แล้ว

    That’s pretty useful actually!
    Would the expand button on the column header then expand and append all tables?

  • @udusegbe
    @udusegbe ปีที่แล้ว

    Awesome technique! I have a solution with appends that I definitely will be rewriting 😅

  • @Sumanth1601
    @Sumanth1601 ปีที่แล้ว

    Brilliant :)

  • @leftindependent
    @leftindependent 9 หลายเดือนก่อน

    Hi 😊 you're doing great job 😊 is it possible to buy a course or something like this just to ask a few questions?

  • @zahidthakur8725
    @zahidthakur8725 8 หลายเดือนก่อน

    Quick question. Can we make the a tab reference in a power query dynamic?

  • @vinhxd0101
    @vinhxd0101 ปีที่แล้ว

    In case of I have a table from query naming Query_Tab1 in excel file 1. Then I add the extra some column beside of Query_Tab1. I want to get the new data, including the Q_T1 and news extra column to a new table nam wing Tab2. Then combine Tab2 to my report.. Many thanks

  • @mshparber
    @mshparber ปีที่แล้ว

    Supercool!

  • @txreal2
    @txreal2 ปีที่แล้ว

    Great video.
    Btw, how do I load all tables (in one sheet or multiple sheets) in Excel into PQ in one swoop, without checking one by one in Navigator Select Multiple Items?

  • @vishalvadalkar8396
    @vishalvadalkar8396 ปีที่แล้ว

    Nice to connect-need to know how can we minimize query refresh time-Source data same excel-4-5 tables

  • @DeronHuskey
    @DeronHuskey ปีที่แล้ว

    Nifty!

  • @troygersbach184
    @troygersbach184 หลายเดือนก่อน

    How would you now combine the tables? What would the next step look like

  • @pravinshingadia7337
    @pravinshingadia7337 ปีที่แล้ว

    Very good - your videos are avid watching.
    Could you do a video on automating sorting columns. So have multiple tables with month and year columns which after being appended produce one table but columns are not in month date order. How could you automate this?

  • @alexj8117
    @alexj8117 ปีที่แล้ว +1

    This is good, however how to select just one of the available queries? I am sure you could filter for just one of the tables in the list. Some time ago, I found a way (worked with Ken Puls on this) to programatically select a query by its name: (this is in a function). Let me know what you think.
    (qName) =>
    let
    qName2=Expression.Identifier(qName),
    Source = Expression.Evaluate(qName2,#shared)
    in
    Source

  • @truptithelonerider5518
    @truptithelonerider5518 6 หลายเดือนก่อน

    Any idea how we can auto refresh dynamic query of API?

  • @Waterloo2021
    @Waterloo2021 ปีที่แล้ว

    Thanks a lot. Is it possible to use recursion in power query, i.e. x(i)=a*x(i+1)+b where x(N) is given

  • @tommynguyen4253
    @tommynguyen4253 ปีที่แล้ว

    Excellence

  • @abhijeetramugade1983
    @abhijeetramugade1983 ปีที่แล้ว

    I found it very useful and I am really looking forword to learn more but not understand the video fully due to the English language could you please explain it in Marathi or Hindi.

  • @AbhayGadiya
    @AbhayGadiya ปีที่แล้ว

    I think creating custom M function using one data source then putting all the files in folder and importing it PQ and invoke custom function on selected files may be alternative solution.

  • @Rice0987
    @Rice0987 ปีที่แล้ว

    Where do you take all of these pearls? 🤔
    Do you read manuals and helps? ☺

  • @excel-in-g
    @excel-in-g ปีที่แล้ว

    Amazing tip. I see ways how I can use #sections.

  • @BaurzhanZhakeleyev
    @BaurzhanZhakeleyev 23 วันที่ผ่านมา

    I’m not sure I understand how those tables are being appended to one another. Could you clarify?

  • @neerajkaushik2800
    @neerajkaushik2800 ปีที่แล้ว

    Numeric distribution - How to create measure on multi level also if sum of qty is negative it will be ignore, i have the column like year, month, region, branch, store code, date, product code, distributor code, Sales qty and value, plz help

  • @KuldeepSingh-nq1vi
    @KuldeepSingh-nq1vi ปีที่แล้ว

    Nice Video Chandeep, Could you please slow down the pace of speaking..

    • @brianxyz
      @brianxyz ปีที่แล้ว

      You can adjust the playback speed in TH-cam to what suits you best. Click on the gear icon to get to the setting.

  • @nirzadhom945
    @nirzadhom945 ปีที่แล้ว

    Dear Friend. I have one problem. I have this worksheet im developing for my Menu Costing. There's about 60 menus and it might keep expanding with time, and each menu i made on sheet of each with same template of sheet with one another. Each sheet have fixed position of data. Example: Menu Costing, Suggested selling price, current selling price, margin status bad or good. Then i want to make one Summary Sheet which i can view all these data from one master sheet. How can i draw data from this multiple sheet into one master sheet with the challenge the sheet might expand in the future and i want it to automatically insert data to the master list

  • @doriginal69
    @doriginal69 5 หลายเดือนก่อน

    Too bad I have an instance where I must merge because of the different columns needed between tables. Unfortunately, append does not help.

  • @alexandrus
    @alexandrus ปีที่แล้ว

    How to use function or query from another excel file? (not copy, just reference)

  • @AjinkyaNaramshettiwar-h7n
    @AjinkyaNaramshettiwar-h7n ปีที่แล้ว

    Hi sir This courses is live courses or recorded

  • @nishantkumar9570
    @nishantkumar9570 ปีที่แล้ว

    You won't believe but I tried it in Power BI and I won't load in Data model.

  • @Koopzy
    @Koopzy 8 หลายเดือนก่อน

    LITERAL HIGH WIZARD

  • @ramkumarsai9846
    @ramkumarsai9846 ปีที่แล้ว

    Hi @Candeep,
    I have loved your way of solving so may queries and your explanations.
    Could you please help on the below Query. Actually the Query is written in Tableau. I need to wright the same logic in Power BI.
    (in DAX or 'M' Language.) I have Struck in my work. please help me on the same @Candeep
    If [row_number] = 0 then upper((trim( split (Trim( SPLIT( [COLUMN_NAME], "||",1)),":",1))))
    else (trim( split (TRIM( SPLIT([COLUMN_NAME],"||",1)), ":", 2))) END
    If [row_number] = 0 then upper((trim( split (Trim( SPLIT( [COLUMN_NAME], "||",2)),":",1))))
    else (trim( split (TRIM( SPLIT([COLUMN_NAME],"||",2)), ":" ,2))) END
    If [row_number] = 0 then upper((trim( split (Trim( SPLIT( [COLUMN_NAME], "||",3)),":",1))))
    else (trim( split (TRIM( SPLIT([COLUMN_NAME],"||",3)) ,":", 2))) END
    If [row_number] = 0 then upper((trim( split (Trim( SPLIT( [COLUMN_NAME], "||",4)),":",1))))
    else (trim( split (TRIM( SPLIT([COLUMN_NAME],"||",4)), ":", 2))) END
    If [row_number] = 0 then upper((trim( split (Trim( SPLIT( [COLUMN_NAME], "||",5)),":",1))))
    else (trim( split (TRIM( SPLIT([COLUMN_NAME],"||",5)), ":", 2))) END
    etc..................