Power Query - Create a Table that References Itself After an Update

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024

Комментарии • 99

  • @derekniece5154
    @derekniece5154 2 года назад +2

    You helped me solve a long-standing blocker of how make a power query output also serve as an input form. This was the only video that I am aware of that addresses this issue. Thanks!

  • @excelisfun
    @excelisfun 4 года назад +2

    100 Thumbs up for the Thumb Nail, but 101 for the content of the video, Doug : )

  • @BlueCollarEngineer111
    @BlueCollarEngineer111 Год назад +1

    The best and simplest solution for this problem I've seen so far! Thanks for sharing! I suggest that you change the title of this video because it's really hard to know the content for newbies.. If I had known several days ago that it has all the solutions for "additional columns that can be edited in excel power query table", I would have watched it much earlier. But you can also include it to the original title. Thanks again!

  • @stoofur
    @stoofur 5 месяцев назад

    Thank you for this video. You are going to mark me look so good in my new job role.

  • @reginakingworkemail
    @reginakingworkemail Год назад

    Brilliant! Thank you so much. It took alot of searching to find a solution to this. I'm so glad I stumbled upon your video.

    • @DougHExcel
      @DougHExcel  Год назад

      Hi ReginaKing WorkEmail, glad it helped! Thanks for watching and commenting!

  • @kebincui
    @kebincui 5 месяцев назад

    Excellent solution to this issue. Thanks for sharing 👍

  • @aroundtheworldwithgigi7369
    @aroundtheworldwithgigi7369 3 года назад

    You are a life saver! Thank you so much!!!! I have spent the last several hours combing through Excel videos trying to find the fix and you did it in 6 minutes. I just hit the follow button :)

  • @larshansson4961
    @larshansson4961 4 года назад

    Just what I have been looking for.... for a lookng time. Thanks.

    • @DougHExcel
      @DougHExcel  4 года назад

      Hi Lars Hansson, glad you liked it, thanks for commenting!

  • @TheBanjaara
    @TheBanjaara 3 года назад

    Amazing Doug! Thanks for sharing! ❤️ You earned a new subscriber. ☺️

  • @irfanshahrom7293
    @irfanshahrom7293 10 месяцев назад

    Rarely comment, but you are a life saver bro!!

  • @thenameishazelnt6789
    @thenameishazelnt6789 Год назад

    Wish I could like this more than once my guy!

    • @DougHExcel
      @DougHExcel  Год назад

      Hi the name is hazelnt, thanks for the kind words!

  • @davidandrews7544
    @davidandrews7544 4 года назад

    Already know how I’m going to apply this. Thank you!

    • @DougHExcel
      @DougHExcel  4 года назад

      Hi David Andrews...you're welcome, glad you liked!

  • @michaeljones2843
    @michaeljones2843 4 года назад

    Thanks for this tip, I know I'll be using it very soon with a number of projects I'm currently working on.

    • @DougHExcel
      @DougHExcel  4 года назад

      Thanks Michael Jones, glad it'll help!

  • @tracycooper8996
    @tracycooper8996 2 года назад

    GREAT video. Very helpful. What happens if I need to add another column after I've already self referenced? Do I have to start over?

  • @YvesAustin
    @YvesAustin 4 года назад

    Great application! Thank you Doug for sharing this; I needed to create a dynamic forecast model for a client that would update based on new input and be referenced later.
    This model works perfectly.

  • @ponnadavenkataraviprakashr3033
    @ponnadavenkataraviprakashr3033 2 года назад +3

    Excellent idea!!! I applied it and this works. But, I have a different scenario. If is do all the steps as you mentioned, but with two tables combined and if I add new data(row) to one of the tables and refresh the power query table then the comment column values are changing, from the row where it got added. Can you please help me on this.

  • @georgetosounidis5545
    @georgetosounidis5545 4 года назад

    Very usefull ! Thanks for sharing that :)
    Reminds me why I’m always eagerly waiting for your next video! :)

    • @DougHExcel
      @DougHExcel  4 года назад

      Hi George Tosounidis, glad you liked it, thanks for commenting!

  • @Sublime-zx6ft
    @Sublime-zx6ft Год назад +2

    This helped tremendously. However, what if the "comment" column and additional columns had formulas in them? I'm finding that when refreshing the data, the formulas are overwritten with the raw data.

  • @MohamedAhmed-no4rt
    @MohamedAhmed-no4rt 3 года назад

    Good job man, finally I found the method

    • @DougHExcel
      @DougHExcel  3 года назад +1

      Thanks for the comment!

  • @philippejulien6002
    @philippejulien6002 2 года назад

    Brilliant and elegant !!

    • @DougHExcel
      @DougHExcel  2 года назад

      Hi Philippe Julien, thanks for the comment!

  • @leom.4555
    @leom.4555 2 года назад

    Hi Doug, Thanks for sharing; I tried this approach and works great; One question I found is that when I tried to change the connection name after establishing the merge, it detects table not found, so is it not possible to change connection name after the merge is set?

    • @DougHExcel
      @DougHExcel  2 года назад

      if changing name and it's a reference in the steps, you'd need to change that to stay consistent

    • @leom.4555
      @leom.4555 2 года назад

      @@DougHExcel So I'll have to change the names in both the original table and connection I believe; Final question, have you tried adding another column to the table after the merge, say for example in addition to the first and last name, I want to insert another gender column in between the name and comment, can I just do that to the original source table and the update will get reflected? Thx!

  • @geoffreydeleplanque7690
    @geoffreydeleplanque7690 2 года назад

    That a great content, thanks Doug !

    • @DougHExcel
      @DougHExcel  2 года назад +1

      You’re very welcome!

  • @bighit3420
    @bighit3420 Год назад

    Hey Doug,
    I am attempting to use a connection to a query, rather than a query itself (if I bring up Queries & Connections my reference is listed on the right-hand column under Connections)? How would this change things?
    Thanks! Love your videos.

  • @rameshthangaraj6590
    @rameshthangaraj6590 2 года назад

    Your video was very helpful

  • @MiamiHeat872
    @MiamiHeat872 2 года назад

    Aw man, this is great! There isn't a lot of information on this but I read one website and watched two other videos and I just had issues. This was the most simple method that actually worked for me! Thank you!
    I'm using this so I can create a file directory that uses tags. Windows tagging system is limited to only certain files and I'm trying to do a sort of Inbox Zero / Roam Research / Mind Mapping version of storing files, but it needs tagging to work and this did it!

    • @DougHExcel
      @DougHExcel  2 года назад

      Awesome, glad it worked for you!

  • @makenaglemser5328
    @makenaglemser5328 3 года назад +6

    Hi Doug. Thank you for the video. Your technique works great when applying sorts. However, I'm trying to analyze what happens when I add a new row towards the top of my raw data (ex. adding a record in the 4th line when there's 10 lines of data). The power query doesn't pick up on the fact that a comment should be tied to a specific record in this case and subsequently, my comments shift and are no longer in the correct row. Do you have any suggestions on how to address this?

    • @DougHExcel
      @DougHExcel  3 года назад +2

      Interesting, I'll see if I can test this and maybe it'll be a future video...

    • @SoNonWoo
      @SoNonWoo 3 года назад +3

      This is the same kind of thing I'm looking for too. The source list is updated often (new records or some cells in a record change).

    • @philippekinnaer1928
      @philippekinnaer1928 2 года назад

      I have the same issue!

    • @shuyuLin
      @shuyuLin 2 года назад

      Same issue here lol

    • @gasperkosmac7672
      @gasperkosmac7672 2 года назад

      Same issue here..

  • @MrUrbst
    @MrUrbst 2 года назад

    Hi! Very helpfull! How would you add another column afterwards without redoing the whole exercise?

    • @MarshaMinus100
      @MarshaMinus100 2 года назад +1

      Add another column to the end of your green table. In the query area, check the box for that new column in the Merge step. Delete the extra column with the number after it.

  • @AdminGRG
    @AdminGRG Год назад

    Hey Doug. Just found this and this is what I need but do you know how to load as Connection for MAC? it seems to be missing this function

  • @mivi5654
    @mivi5654 4 года назад +2

    Hi Dough, really nice work, thank you. I have a problem with self referencing, when the source is growing. My source are some Data which is every night gettin bigger. After that growing i make a comment on each row every morning..the comments gettin messi every night after the new data is imported. do you have an idea`?

    • @DougHExcel
      @DougHExcel  4 года назад

      Putting a note/comment in a cell and copy/paste to that cell from another would overwrite it and that's normal behavior. Puttings a comment is in the adjacent cell like on the right like in this video is the other option.

  • @RJYL
    @RJYL 4 года назад

    Really cool presentation

    • @DougHExcel
      @DougHExcel  4 года назад

      Hi Zeng Yonge, thanks for the comment!

  • @panduprayudha452
    @panduprayudha452 9 месяцев назад

    is this possible to making data entry form wihout vba and can be share with excel 365 with this method?

  • @stevennye5075
    @stevennye5075 4 года назад +1

    very useful!

  • @brv1111
    @brv1111 3 года назад

    You are a genius 🙏🏽

  • @quorthunsargeras7054
    @quorthunsargeras7054 Год назад

    Will this work with existing columns that exist in both the output table and source table? For example If I update First Name and Last Name column in output spreadsheet, will the table self reference itself and use that value instead of what exists on the source value?

  • @onezirex
    @onezirex 2 года назад

    awesome, thank you!

  • @malchicken
    @malchicken 4 года назад

    Very helpful, thank you :)

    • @DougHExcel
      @DougHExcel  4 года назад

      Thanks Hendrick McDonald, glad it helped!

  • @hoskind12
    @hoskind12 Год назад

    Thanks for this - I’m having an issue where after I delete the comments 2 column after refreshing the data it returns ? Any ideas ?

  • @bradleyjomard
    @bradleyjomard Год назад

    This is exactly what I was looking for, however i keep getting the duplicate columns come back after i delete them, not sure how to fix that

  • @elisabethmcdonald9919
    @elisabethmcdonald9919 Год назад

    How would you alter this example where the first table (blue) is a power query in itself? I am running a report for work, importing the data via power query then I want to add a column for comments.

  • @mohamedchakroun4973
    @mohamedchakroun4973 4 года назад

    A nice tricks of PowerQuery Nice

    • @DougHExcel
      @DougHExcel  4 года назад

      Hi Mohamed Chakroun, thanks for the comment!

  • @jamespyle6398
    @jamespyle6398 Год назад

    This is such a confusing thing (not your video, just the whole process). But genius, worked exactly as I intended, just hopefully it can work with huge data sets (4000 rows, etc)

    • @DougHExcel
      @DougHExcel  Год назад +1

      Glad it helped!

    • @jamespyle6398
      @jamespyle6398 Год назад

      @@DougHExcel The only issue I ran into using this is when I also needed some form of dynamic headers.. it wouldn't work with this :(

  • @garethg3239
    @garethg3239 2 года назад

    Hi Dough,
    I have a table connected to an external SQL DB . I need to comment on some of the entries and I've followed the steps .. what i find is that it works fine , until I refresh the source data . Do you have a suggestion ?

    • @garethg3239
      @garethg3239 2 года назад

      I can't thank you enough for the tutorial !!!

    • @DougHExcel
      @DougHExcel  2 года назад

      there could be some artifacts that mess it up. Suggest to source the SQL DB to a table that you eventually want the columns set up in the way you want and doing any additional ETL. That becomes the bridge table that you can reference to have the output the self references. Hope that works...

  • @rolandvogler5175
    @rolandvogler5175 2 года назад

    Hi Dough. This is a great example. I tried it with my data. (Almost) everything works. If I sort the data in the left table and refresh the right table, it refreshes but the order is wrong. The right table is not in the same order as the left table. I then tried it with exactly your data. The order of the right table does not match the left table after an refresh. THIS PROBLEM ALSO OCCURS IN YOUR VIDEO. At 5:57 you can see that the table on the right is sorted differently than the table on the left. Am I the first to notice this, or is it not a bug at all and is there a simple explanation for the phenomenon.

    • @reginakingworkemail
      @reginakingworkemail Год назад

      Hi Roland, When you get to the Merge step, before you click "Close and load", sort by the ID and then click close and load. The results should then be sorted correctly.

  • @DrivingLessonsnet
    @DrivingLessonsnet 4 года назад

    Useful, but can you explain why the sort order on your output (green) Table is not the same as the sort order on the input table (blue) when you refresh after adding the self-referencing table ?
    I agree that the comment has “stuck” to the correct record, but the sort order is weird when you first refresh. You refresh again and even though the blue source table has not changed between the first and second refresh the sort order of the output table changes again, but still does not match the source table ? Confused !
    After adding sushi comment you re-sort the input table to 1,2,3,4,5 but when you first refresh the output table you first get 1,4,2,3,5 then you refresh again and get 1,2,4,3,5. -seems a bit random ?

    • @DougHExcel
      @DougHExcel  4 года назад

      I notice it rearranges the order in the merge step, but haven't dug into to deep on what criteria it uses for the sort there...

  • @agamgumelar6605
    @agamgumelar6605 2 года назад

    i did the exact same steps and encounter this weird bug too 5:55, only thing to do is to hit refresh again and again, anyone know how to solve it? or is there another way?

  • @courtneyneal5252
    @courtneyneal5252 4 года назад

    I have a scenario where I am using a combined customer lookup table month after month in a process that I would like to mostly automate using power query. The lookup table is used at the beginning of my process and then any new customers that need to be combined (determined through manual process and updating) get added to the lookup table to be used in the next month. The process in your video almost gets me there, except for the column that I am updating already exists in my original table. Any thoughts on how to make this work?

    • @DougHExcel
      @DougHExcel  4 года назад

      This is almost a database type of scenario where you're updating a field based on the latest. Maybe a date field that indicates when last updated so you can compare and take the latest?

  • @Excel-power-users
    @Excel-power-users 4 года назад

    Good one👍

    • @DougHExcel
      @DougHExcel  4 года назад

      Hi santosh subudhi, thanks for the comment!

  • @hedger48
    @hedger48 2 года назад

    this is very helpful, what to do if my data has not unique ID? i tried to create a unique ID by creating a column in PQ by concatenating 3 columns, looks ok, but when i complete the self refer, every time i reload data, somehow i am loading more and more rows, a couple refreshes turnes 2500 rows to over half million

    • @hedger48
      @hedger48 2 года назад

      found my unique ID wasn't so unique. fixed that and now it works, thanks!

  • @chrismiracle
    @chrismiracle Год назад

    I cannot get this to work at all. Any user added data stays in the same row it was added to when the data is refreshed.

  • @guidoseynhaeve285
    @guidoseynhaeve285 Месяц назад

    This is not working when extra line is coming in de data...

  • @rvma77
    @rvma77 2 года назад

    Is there a way to do this on access?

    • @DougHExcel
      @DougHExcel  2 года назад

      Hi Abstract Life, thanks for the comment! Sorry don't know Access 😐

  • @fliptop157
    @fliptop157 Год назад

    Doesn't work for me despite several permutations within the PQ environment- Instead create a new Excel table with the columns from your PQ Table and your NEW desired Columns, then upon a refresh of your PQ table, update your Excel Table for the new entries (records) via a simple copy and paste of values only. In other words, a Manual Refresh 😆 to your Excel Table. Conditional formatting helps identify new PQ entries . No law a PQ Table is required. Only need a suitable Table to my needs! PQ does the heavy lifting, and I cross the T's and dot the I's 🤓