Power Query Unpivot - fix 4 common data layouts (incl. workbook)

Sdílet
Vložit
  • čas přidán 29. 08. 2024

Komentáře • 620

  • @ronsss4774
    @ronsss4774 Před 4 lety +26

    Thanks
    Power Query Unpivot - fix 4 common data layouts 2017 06 05
    czcams.com/video/-IMqkg35adA/video.html 19min23
    00:00 intro
    00:40 - Ideal format, Tabular
    00:57 - Step by step instructions in downloaded example file
    01:05 - Sales info by person by year with row totals
    01:40 - How to start PowerQuery
    02:00 - PowerQuery Editor Window
    02:50 - Unpivot the year columns
    03:49 - Rename Columns
    04:05 - Change data types
    04:25 - Rename Query
    04:32 - Close and Load
    04:48 - Refresh query output table
    06:13 - Example 2: Partial tabular, repeating columns monthly hours and costs
    06:42 - load to PowerQuery
    07:00 - Unpivot the “values” columns
    07:28 - Split month out to separate column: Split Column feature
    08:02 - Pivot the Attribut column to separate Hours and Costs
    08:39 - Close and Load to Excel
    09:13 - Example 3: column headings over 2 rows
    09:45 - Format data as table
    10:18 - Load to PowerQuery
    10:21 - Merge 2 header rows into 1, Transpose data
    10:43 - Merge the first columns
    10:50 - Fill down month values
    11:04 - Perform merge: Transform tab > Text Columns group > Merge Columns command
    12:05 - Trim leading spaces
    12:10 - transpose back
    12:14 - Promote first row to become header
    12:27 - Unpivot
    12:48 - Split month out of attribute column
    12:57 - Trim unwanted space at front of column/
    13:03 - Pivot the attribute column to split Account hours and account costs
    13:16 - Rename columns
    13:20 - Close and Load
    13:50 - Example 4: Stacks of repeating rows
    14:25 - Convert data to table
    14:38 - Load to PowerQuery
    14:44 - Filter to delete blank rows and total rows
    15:14 - Add index column for unique numbers
    15:33 - Pivot Column don’t aggregate
    15:56 - Values now in staggered stacks with null values between rows
    16:19 - Fill up: Transform tab > Table group > Fill up button
    16:41 - review result, filled rows
    17:00 - Delete duplicate rows with null values
    17:09 - Remove Index column
    17:16 - format date column as date only
    17:44 - close and load
    .
    Keep up the good work.

  • @jasonjackson4555
    @jasonjackson4555 Před 3 lety +35

    This video almost made me cry. This is going to be a massive time saver.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 3 lety +3

      Wow, so pleased to hear that, Jason!

    • @aavv17
      @aavv17 Před 2 lety +4

      😢 just transposed some data yesterday from 20 columns into 400 rows. Did it now within 10mins! Thanks!

  • @ethofmeyr
    @ethofmeyr Před rokem +5

    I watched this video 5 years ago and today it helped me with a task. These videos never lose their relevance. Thank you Mynda

  • @jared_musicSTC
    @jared_musicSTC Před 4 lety +13

    this just blew my mind. I've solved so many of these problems by manually copy and pasting data over the years! 🤯

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 4 lety +2

      No more copying and pasting now then, Jared :-) Glad it'll save you some time.

  • @flaviomelo530
    @flaviomelo530 Před 4 lety +15

    This was the biggest amounts of "AHA's" I've said in ages! Amazing tutorial!

  • @ajzambranop
    @ajzambranop Před rokem +1

    Dear Mynda, You must be awarded the Accounting Data Cleaning Nobel Prize for this video at the very least! Thanks! :-)

  • @jirinakotkova4954
    @jirinakotkova4954 Před 4 lety +7

    Thank you a lot. This is going to speed up my work for sure. I really didn't know there was such an option like unpivot! My jaws literally dropped!

  • @serdip
    @serdip Před 4 měsíci +1

    Thanks for another extremely informative and practical Excel mastery video. I started teaching myself Power Query only a few months ago, after over 27 years as an Excel developer. I can honestly say that there's no turning back. Power Query will forever change how I interact with my favorite spreadsheet program.
    Thank you for explaining each of these common scenarios in concise and clear terms. Everything makes sense as you presented it. I think for me, the main challenge is to develop the insight and intuition to know which Power Query menu options to use and in what sequence.
    It is not always immediately obvious to me when to pivot/unpivot/transpose - sometimes repeatedly - to rearrange the data into a final tabular format ready for analysis. I've done dozens of Power Query exercises on datasets just like the ones you covered in the lecture. I guess I will get better at it with continued practice and patience.
    Sometimes I end up writing complex but effective custom reusable M Code functions to arrive at the desired result, only to find out later that it could have been accomplished strictly through the UI! 🙂
    Thank you!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 4 měsíci +1

      Great to hear! I know what you mean about knowing which tools to use in what order is not always obvious, but in time you'll become adept at it. 😊

  • @JM-zm6fl
    @JM-zm6fl Před 4 lety +20

    Madam, you are an excellent teacher!

  • @felipe4181
    @felipe4181 Před 3 lety +4

    These are perfect examples to solve many of the every day's issues when managing data models!!!
    Thank you Mynda!

  • @bernieofalia
    @bernieofalia Před 3 lety +1

    Thanks for this... I was stuck for about a month in trying to solve the reapeted rows thing. your solution is AWESOME!

  • @michaelpammit8647
    @michaelpammit8647 Před 2 lety +4

    Mynda, thank you for this video! You've changed my life.
    Over this weekend, I had to pull data from over 400 bi-weekly print-formatted timecards made in excel. They each had 2 non-formatted tables of weeks, and separate rows for each department worked in (thankfully, column & row numbers were consistent for all of them). Using a combination of your pivot scenarios plus your "multiple files containing multiple sheets" video, I was able to get the data from ALL of the timecards in tabular format (one row per dept-date-hours) in just about 8 hours' work! And I can just refresh the query as new timecards are added! Not to mention all the error-catching utility.
    Thank you!!!

  • @skd5432
    @skd5432 Před 5 lety +5

    Absolutely no expression....on my face.
    Well explained such a great video and contribution to the world of excel users.

  • @matttownsend7119
    @matttownsend7119 Před 4 měsíci

    Two thumbs up from me. I've been working with Excel since the start, and did in fact have to hand massage lots of data sets manually or with the complex formulae you mention. If Power Query had been available then I would have saved months of work.

  • @learnitinstructor5792
    @learnitinstructor5792 Před 3 měsíci

    Incredible! I've been training PowerPivot, PowerQuery, PivotTables for a very long time and didn't know there were such amazing tools to fix these data issues! Wow! Thank you so much!

  • @nishpreet85
    @nishpreet85 Před 5 lety +4

    I am an excel enthusiast and was soooo excited watching this video...I absolutely loved it... learned something so complex in such understanding and well explained tutorial... Thank you so much...

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 5 lety

      Thank you! Glad I could help. Please share this with your colleagues. We need to spread the word about how amazing Power Query is.

  • @jamiebell5816
    @jamiebell5816 Před 4 lety +2

    Thank you so much. I've recently started an online business that involves Microsoft Excel Power Query and your video was definitely an inspiration for that. Awesome teacher. I'd recommend you any day.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 4 lety +1

      Thanks for your kind words, Jamie! Good luck with your new business :-)

  • @sjd7aa
    @sjd7aa Před 2 lety +1

    Brilliant! The more of your videos I watched the more impressed I am with Power Query's capabilities, to say nothing of the easy-to-follow and effective teaching methods you employ. Great work, and thank you! I am making a mental note of the work I can save, having previously used a witches' brew of clunky formulae to harvest data that I have to re-familiarize with each time I do the occasional work.
    Pity I can only upvote you once on this.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 2 lety

      Thanks for your kind words, Steve! Great to hear you will have lots of uses for Power Query 😊

    • @sjd7aa
      @sjd7aa Před 2 lety

      @@MyOnlineTrainingHub It's been a great learning experience for the past week. I joined your site and posted a question there, and I'm hoping to get some guidance on my little project (where PQ reduced my data collection/massaging time from 5 minutes - with risk of errors - to 18 SECONDS, error-free). Ciao, Mynda!

  • @PrakashMurugamalai
    @PrakashMurugamalai Před rokem +2

    Wow ❤ It is amazing how you have shared such valuable knowledge with everyone. Thank you so much. The internet thrives because of people like you.

  • @rawshanali.bangladesh
    @rawshanali.bangladesh Před 2 lety +1

    Thank you Ma'am. I try to watch all your videos. I have learned power query, dashboard, advance pivot, pivot chart from your video. It helped me a lot to do my work properly and more efficiently and it makes my life easy and shortens my report making procedures.

  • @nkfore
    @nkfore Před 4 lety +6

    One of the best PQ videos I've seen on here and easy to follow. THANK YOU!

  • @Acheiropoietos
    @Acheiropoietos Před 3 lety +2

    This series is incredibly helpful for me. I always shied away from tables and pivot tables, but now I have the poweeeeerrrr! 💕

  • @maggiepeng4822
    @maggiepeng4822 Před 2 lety

    this video really help. I work with Excel everyday and am slowly transitioning to power query to make things more automatic. thank you !!

  • @aphastus
    @aphastus Před 2 lety

    First of all, it’s incredible how it looks like every problem has a solution with this method, how someone thought of all the options. Second, you’re a godsent, Miss, you’re my favorite Excel and data youtuber. I just sent a comment in another video about me having a problem with a very messy table and YT recommended me this video (I haven’t had seen yet) in my TL. This made me realize I have to keep practicing, there’s a lot to learn!

  • @raghavan265
    @raghavan265 Před 2 lety

    I work as a Power BI developer and I'm a fresher. Today I encountered a similar problem at my work and BAM! You're video just saved me so many hours of research! Thank you so much

  • @109zxg
    @109zxg Před rokem +1

    Thank you Mynda! You have done a fantastic job to explain the concepts of power query, and this makes a big difference in my life. Your deep knowledge of excel, tone of voice and speed in the demonstrations are just perfectly blended in the video and it is entertaining to watch your CZcams channel. Two thumbs up!

  • @aaronbasch1714
    @aaronbasch1714 Před 4 lety +4

    Great teaching. So clear, practical, and relevant to data issues I run into at work all the time. Thank you!

  • @kmetcalfe
    @kmetcalfe Před 2 lety +1

    Of all your very helpful videos, this one will actually save me the most time, and help me the most. It gives solutions to problems I've occasionally had over the years, but have lately been confronted with over and over again. Thank you!

  • @gregbernard7861
    @gregbernard7861 Před rokem

    Wow - the download file is awesome! Best I have ever seen / just went through all the examples with 100% success rate!

  • @doylemaleche9937
    @doylemaleche9937 Před 3 lety +1

    The BEST example to keep as reference! VERY professional and easy to follow. THANK YOU !!

  • @silvo4880
    @silvo4880 Před 4 měsíci

    You are awesome, thank you. The repeating data issue has been driving me mad for weeks. I love the fill up method idk why I never thought of it as I’ve been using fill down.

  • @megamundus
    @megamundus Před 2 lety

    after 4years and a half ... this video of yours is still fresh and absolutely useful
    Thank you

  • @jengiuliano1143
    @jengiuliano1143 Před 2 lety +1

    This was excellent! I always learn SO MUCH from you so THANK YOU again!

  • @Blackgirl-in-Data
    @Blackgirl-in-Data Před rokem

    Thank you for this! I'm literally screaming with joy over being able to get the nested columns done.

  • @christophwissing4877
    @christophwissing4877 Před 5 dny

    Very very very helpful lesson for training my power query skills every weekend - hopefully I can use it at my work between the weeks :-). Also very pleasant that the file is available, thank you so much for that !!! 😊

  • @Bourouwe
    @Bourouwe Před 4 lety +1

    You're extraordinary on handling data with Excel! I love your videos and thank you infinitely!

  • @bindur1765
    @bindur1765 Před rokem

    grateful Mynda for these amazing excel tips. you are kind

  • @wesszep9865
    @wesszep9865 Před 5 lety

    Thanks Mynda, I've already seen many power query preparation, never check how to start to prepare my data and the video was 2017! It's helpful to see that there's an start, thanks for help, be blessed.

  • @ChengVincentckf
    @ChengVincentckf Před rokem

    I searched the last scenario for days and you finally show me how to do it. Thank you!

  • @mazharhussain8871
    @mazharhussain8871 Před 4 lety

    you have beautifully explained the most common faulty format cleansing. you are better than Microsoft professional trainers.

  • @shday4
    @shday4 Před 2 lety +2

    Wow, I'm so glad I found this video, it's clear, concise, and effective as hell, great job and format... definitely keeping this one!!!!😀

  • @OrkunAkar
    @OrkunAkar Před 8 měsíci

    I wish I found thıs video before I spent 2 weeks in my budget tables. :) thank you for sharing knowledge

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 8 měsíci +1

      Hopefully you can use it next time 😁

    • @OrkunAkar
      @OrkunAkar Před 8 měsíci

      @@MyOnlineTrainingHub for sure! :) I am excited to apply in future books thanks again!

  • @stephenmascarenhas1987
    @stephenmascarenhas1987 Před 2 lety +1

    Fantastic explanation with different scenarios and an absolute time saver for many,

  • @Bharatmsharma
    @Bharatmsharma Před 4 lety +1

    Superb Video Madam, One of the best vidoe i have ever seen on Unpivot. Thank you viery much. I can related two sheets related to my work.

  • @roberth.9558
    @roberth.9558 Před 4 měsíci

    Brilliant and well presented. Thank you, Mynda.

  • @brunonapoleao3362
    @brunonapoleao3362 Před 4 měsíci

    Excellent content and teaching!! Congratulations and thank you very much for sharing this knowledge.

  • @mdmahtabuddin9721
    @mdmahtabuddin9721 Před rokem

    You don't know Dear,
    how much you save my times?
    Thank You soo much.

  • @vicBanga
    @vicBanga Před rokem

    The best and easy to understand video on this topic! thank you so much

  • @AweshBhornya-ExcelforNewbies

    Thanks for this video it helped me resolve a very complicated problem for one of my client. Love your videos keep them coming.

  • @pauloelifaz
    @pauloelifaz Před 4 lety

    This video saved my life 2 times, in different periods, in different cases. THANK YOU!

  • @kimerared
    @kimerared Před 4 lety

    This video explain most common format problems. It is great and straight to the point. Thank you!

  • @calvinc851
    @calvinc851 Před 4 lety +1

    The last example was especially cool to watch! Thank-you!

  • @rajeshvk4087
    @rajeshvk4087 Před 4 lety +1

    Thanks for putting these together. Love your videos, they are simple and straight forward

  • @daleanderson5258
    @daleanderson5258 Před 4 měsíci

    Wow! I have been a subscriber for quite a while, and this is the first time I have seen this video. I have been struggling with trying to use Power Query to get Quicken reports in a use able format to use in Pivot Tables. I will use some of the techniques from this video to hopefully finally have success. Thank you! I find all your videos excellent.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 4 měsíci +1

      Thank you! Hopefully, Power Query can sort out your Quicken reports. If you get stuck, feel free to post your question and sample Excel file on our forum where someone can help you further: www.myonlinetraininghub.com/excel-forum

    • @daleanderson5258
      @daleanderson5258 Před 4 měsíci

      @@MyOnlineTrainingHub Thank you for the reply and suggestion. I will definitely do that.
      I'm a real fan!

  • @zaighamuddinfarooqui1705
    @zaighamuddinfarooqui1705 Před 4 měsíci

    Thanks, few days ago I was in search of transforming data as your last example but failed. I have asked the way out from a well known forum but no response was given to me till today. However I have made it by the help of PQ and formulas in excel. If I came to this video then I could safe me from a lot of hard working. I have learned a lot from your tutorials. Thanks again.

  • @galinastefanova7770
    @galinastefanova7770 Před 4 lety +1

    Didactic, clear and calmly explained. Excellent video!

  • @cambike
    @cambike Před 5 lety

    Watched multiple videos on how to do this. By far the best video, great pace to the lesson and clear instructions. Thanks for the great work

  • @rdaleprice7184
    @rdaleprice7184 Před 3 lety

    Excellent video on Unpivot! Thank you for sharing the video!!

  • @KaiHakai
    @KaiHakai Před rokem

    thank you so much. from your presentation I have found solutions from my bottleneck facing in day to day work

  • @sanishtv
    @sanishtv Před 4 měsíci

    Thanks Lynda for this very useful information for my most faced problems. Appreciate ur hardwork. I will soon jump into your course too..Thanks alot😍🙏

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 4 měsíci

      Glad it was helpful! Look forward to teaching you more Power Query wonders in my course 😊

  • @shoppersdream
    @shoppersdream Před 3 lety

    Thanks, Mynda! You are so good. I will have to watch it a couple of times to totally understand.

  • @xiomaragotch9453
    @xiomaragotch9453 Před 3 lety

    You saved my day! I have been thinking how to do case #2 and Voila!..you had it here so well explained. THANKS!!!!

  • @aguerojg
    @aguerojg Před 5 lety

    What an excellent tutorial, Mynda, it's a pleasure to watch your lessons, you have the gift to explain things in a fun and interactive way. Thank you very much!!

  • @deanar
    @deanar Před 2 lety

    Greatest video ever not even gonna lie , this will save me hours 😂😂😂

  • @AashimGupta15
    @AashimGupta15 Před 8 měsíci +1

    Truly a masterful video. Thanks for all that you do.

  • @mdexcelpro8495
    @mdexcelpro8495 Před 3 lety

    The way you present is awesome thanks of lots 😊

  • @jiky4296
    @jiky4296 Před 3 lety

    The best tutor I have seen

  • @gustavanderson4633
    @gustavanderson4633 Před 2 lety

    Thank you Mynda! The second example was exactly what I was looking for. Works perferctly! Cheers!

  • @sachinm1659
    @sachinm1659 Před 3 lety

    I like what you done, by simplifying it to enable people like me to understand it in more depth. i knew this feature some how lost it object and ways. thanks for such beautiful videos.
    Just one more thing your voice makes it pleasing to hear. :)
    continue your good work !! more power to you...

  • @quocle124
    @quocle124 Před 3 lety

    This is the most practical and excellent tutorial I really need. Thank you Madam

  • @DarrenSaw
    @DarrenSaw Před 2 lety

    Brilliant video, some of the data we get from third parties is something I'd be ashamed to send out myself! This is the perfect antidote to fix it. Thank you!

  • @jezdel6298
    @jezdel6298 Před měsícem

    thanks for sharing this. you are heaven sent.

  • @AndrewWright26
    @AndrewWright26 Před 2 lety

    Thank you, these are great tips! You explain this so well. 🤔

  • @ChinyeretheDataGirl
    @ChinyeretheDataGirl Před rokem

    Nice content . Please always share your dataset so that we can practice along

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před rokem +1

      Thank you. You can get the workbook here: www.myonlinetraininghub.com/power-query-unpivot-scenarios

  • @SothearithKONGMrMuyKhmer
    @SothearithKONGMrMuyKhmer Před 4 měsíci

    Thanks a lot Mynda! This has helped me a lot. 🎉

  • @vasilisa6128
    @vasilisa6128 Před 4 lety +1

    Thank you! It's an amazing, constructive with a good pace video! It helps to solve my work tasks perfectly.

  • @RS-el7iu
    @RS-el7iu Před 6 lety

    the best and the most comprehensive explanation so far. thank you very much

  • @nattawut_chatwiriyacharoen

    Thanks a lot Mynda. This is a great video, not only techniques but also supporting documents. I love it so much.

  • @justtisha
    @justtisha Před 2 lety

    I LOVE these videos!! Thank you so much

  • @SonuPandey-me4fs
    @SonuPandey-me4fs Před 4 lety

    Great... Cover the difficulties as an example is great.

  • @MrEddyTse
    @MrEddyTse Před 7 lety

    Very good and concise explanation of different ways to do the UnPivot function.

  • @Wild_Dragonfly
    @Wild_Dragonfly Před 6 lety

    Thank you for your video. You clearly explained a complex subject in easy to follow steps.

  • @jazzista1967
    @jazzista1967 Před 7 lety

    Great solutions for scenarios specially the nested titles: they are the most difficult to deal with. Thanks

  • @kennethgreen2829
    @kennethgreen2829 Před 2 měsíci

    I know that this video is 6 years old now but you have saved me a great deal of stress and grey hair, thank you for making this wonderful and informative video.

  • @dougmphilly
    @dougmphilly Před rokem

    this was a game changer when i learned about it.

  • @daisyye7254
    @daisyye7254 Před 3 lety

    THIS IS SO HELPFUL!!!! THANK YOU SOOOOOO MUCH!!!!!!!!!!!!!!!!

  • @makisalimhussain2334
    @makisalimhussain2334 Před 6 lety +1

    More than wonderful video. Thank you very much Mynda.

  • @accountsvalue
    @accountsvalue Před 2 lety

    Very helpful and on point. Thank you so much

  • @piero141980
    @piero141980 Před 2 lety

    Thanks a lot, this is going to save me a lot of time...

  • @khalidmajeed2886
    @khalidmajeed2886 Před 3 lety

    WHAT A GREAT YOU ARE ALSO PROVIDING EXAMPLE WORKBOOK.

  • @celestialkat
    @celestialkat Před 5 lety

    This is absolutely superb! If I could like this video more than once I would!! Thank you Mynda!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  Před 5 lety

      :-) thank you! Great to know you liked it. Tell your colleagues how great Power Query is.

  • @joshuaiwl1ng
    @joshuaiwl1ng Před 4 lety

    Super helpful and Advanced! Thanks so much

  • @EricaDyson
    @EricaDyson Před 3 lety

    Great explanation and so useful. Thanks a lot.

  • @davidandrews7544
    @davidandrews7544 Před 5 lety +4

    This was exactly what I needed to see. Thank you so much for putting this together!

  • @pardawala_Bhiwandi
    @pardawala_Bhiwandi Před 3 lety

    U r the GOOD OF EXCEL

  • @kushkhan3219
    @kushkhan3219 Před 3 lety

    You are great teacher👩‍🏫‍ .

  • @khalidmajeed2886
    @khalidmajeed2886 Před 3 lety

    MARVELOUS---MAM YOU INCREASED MY APPETITE---------------NEED MORE

  • @amitshah8508
    @amitshah8508 Před 3 lety

    Very nicely explained, different scenarios.

  • @hajasahib8943
    @hajasahib8943 Před 3 lety

    I have to learning More Excel, from you.....

  • @BertHarmsma
    @BertHarmsma Před 5 lety

    This is GREAT! Solving the most common situations