Power Query - Unpivot Double Barrel Headers

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

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

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

    @ 2:22 = Using Table.ColumnNames(DoubleBarrelHeader) as the 2nd argument (a list) for the Table.FillDown function! That's a new one to me.
    Table.To(From)Columns functions! Amazing video, indeed.
    THANK YOU James.

  • @AbdulRahman-yp6oy
    @AbdulRahman-yp6oy 2 месяца назад

    You are a very good teacher and guide. I watched just one video on your channel and subscribed immediately, and this is the first time this has happened to me.

  • @MrDhunpagla
    @MrDhunpagla 2 месяца назад

    You are too good 👍...Great MCodes demonstrated here ... looking forward for more like these ...Thank you

  • @odallamico
    @odallamico 2 месяца назад

    Thank for sharing. Excelent and useful tip

  • @ВиталийШубин-к9э
    @ВиталийШубин-к9э Месяц назад

    ВA Sensei ! You are the Best ! Thank you very much !

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

    Best video, simple & quick 😍

  • @raimundojs9547
    @raimundojs9547 2 месяца назад

    Indeed, excellent!!!

  • @raulparra60
    @raulparra60 2 месяца назад +1

    Excelente video. Gracias por compartir

  • @howtolearnexcel
    @howtolearnexcel 2 месяца назад +1

    Awesome tutorial. I like this technique and use it a lot. And your style of explaining is great.
    And, wow, we've posted a tutorial on the same topic almost at the same moment but the approaches are so different.
    I've used a double transpose thingy which is ok for little datasets but a bit ineffective with large ones.

    • @sledziu32
      @sledziu32 2 месяца назад

      did you transpose whole table or rows with headers?

    • @howtolearnexcel
      @howtolearnexcel 2 месяца назад +1

      @@sledziu32 I've transposed the whole thing. It works well, if a table isn't large.

  • @BobXu-i7v
    @BobXu-i7v 2 месяца назад

    awesome!

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

    great as always❤, thanks James

  • @mnowako
    @mnowako 2 месяца назад

    Excellent! Thank you!

  • @rleigh5204
    @rleigh5204 2 месяца назад

    Targeted exactly what I was trying to figure out. First time viewer. Subscribed immediately. Let's grab a cuppa Earl Grey sometime. Lemon, of course, not milk.

  • @sledziu32
    @sledziu32 2 месяца назад

    WOW greate tip 👍👍 How about performance in place of conwerting table->lists->table ?
    to this day I've done it by combining table with one row (headers to promote it later) and table with data (3rd+ rows)

  • @sherryizzie5309
    @sherryizzie5309 2 месяца назад

    Good trick! Would it be easier to append the merged column without converting to list to the source, after skipping the first two rows?

  • @txreal2
    @txreal2 2 месяца назад

    Hi James at 2:10 for Fill Down query,
    If I right click to Fill down, and the script would look like below. It looks like it works the same as yours. Am I correct?
    = Table.FillDown(DoubleBarrelHeader,{"Column1"})

    • @howtolearnexcel
      @howtolearnexcel 2 месяца назад +1

      Hi, your method will fill down only the first column (Column1), and James fills down all existing columns at the same time with his code. It can be very convenient if the header is even more complex. On this data set both will get you the same result, because Cloumn2 doesn't have null values.

    • @txreal2
      @txreal2 2 месяца назад +1

      @@howtolearnexcel Thanks! Crispo.
      Just took a look at your YT channel and PQ Challenges and submissions from PQ experts on LinkedIn.
      Interesting answers on Challenge 15.

    • @howtolearnexcel
      @howtolearnexcel 2 месяца назад

      @@txreal2 Hi! Thanks for the comment, but it looks like you might have mixed me up with someone else. I’m Yaroslav. I occasionally participate in PQ challenges created by Crispo, Omid, and Vijay and make videos with my solutions and comments. If you’re looking for Crispo’s content, his channel is @crispexcel, and it's definitely worth checking out!

  • @williamarthur4801
    @williamarthur4801 2 месяца назад

    I wish I could get to grips with unpivot / pivot, i will write dozens of lines of code to avoid using it,
    just cannot visualize in my head what I'm trying to do.

  • @txreal2
    @txreal2 2 месяца назад +1

    each Text.Combine(_, "|"), "MergedColumn")[MergedColumn]
    [MergedColumn] - converts the MergedColumn table into a list
    Awesome! Thanks.