Advanced Unpivoting Tricks in Power Query

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

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

  • @GoodlyChandeep
    @GoodlyChandeep  3 месяца назад +12

    Download the file ⬇ - goodly.co.in/advanced-unpivoting-tricks-power-query

  • @RogerStocker
    @RogerStocker 3 месяца назад +8

    Hey Chandeep
    you are teaching like a hurricane.
    I really enjoy every second. None can be better for M language, I'm convinced.

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

    that first one contains a solution I couldn't figure out or find anywhere else, your videos are always top quality from every aspect, big thanks, highly appreciated :)

  • @osoriomatucurane9511
    @osoriomatucurane9511 16 дней назад +1

    Sensational tutorial, diving deep into M Code Magic and playing arround with lists and tables.
    Thank you for sharing, you truly master the state art of teaching. Keep it up

  • @vacilando86
    @vacilando86 3 месяца назад +5

    You are the big boss of PQ, respect

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

    Chandeep, you've not only helped learn power query, but you've taught me some really important coding skills too!

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

    Incredible, pure magic {M}.... Masterfully explained .... thanks for sharing!

  • @demris15
    @demris15 11 дней назад

    Love this... you gave me a lot of good ideas to try for myself!! Thanks

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

    Hey, Chandeep, I love your way of teaching.
    First of all, you explain the logic behind the problem and then you also get fun in fixing the issue.
    Everything seems so easy 🙂
    Your knowledge of the matter is outstanding.
    Great great job, man!

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

    I really like to know the M language, but you are too fast for me. I am in awe of your mastery of M language. Honestly, there was a time I was stuck in my work, I searched Google and RUclips, I couldn't find any solution except for your video of creating a total row for a table of columns. That was life-saving. Thank you Chandeep

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

      You do know that YT provides you with a way to slow down the videos, right? :-

  • @chrism9037
    @chrism9037 3 месяца назад +2

    So amazing Chandeep!!! Thank you

  • @samitube007
    @samitube007 3 месяца назад

    I'm facing a real challenge right now, and this video came at the perfect time. Highly appreciated

  • @Softwaretrain
    @Softwaretrain 3 месяца назад +2

    This is an excellent example of utilizing the advanced unpivoting technique. Thank you for the fantastic video and explanation! I’ve attempted to solve these three examples using a different method, which may provide your audience with an alternative solution, as outlined below.
    Example1:
    let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    Custom1 = Table.Combine(List.Transform(Table.Split(Source,3),each Table.PromoteHeaders(Table.Transpose(_))))
    in
    Custom1
    Example2:
    let
    Source = Excel.CurrentWorkbook(){[Name="Dataset"]}[Content],
    split = Table.SplitAt(Source,2),
    Header = List.Transform(Table.ToRows(Table.FillDown(Table.Transpose(split{0}),{"Column1"})),each Text.Combine(_,"|")),
    AddHeader = Table.RenameColumns(split{1},List.Zip({Table.ColumnNames(split{1}),Header})),
    Unpivot = Table.UnpivotOtherColumns(AddHeader,{"Bz"},"Header","Value"),
    SplitColumnbyDelimiter = Table.SplitColumn(Unpivot, "Header", Splitter.SplitTextByDelimiter("|", QuoteStyle.None), {"Company", "Dept"}),
    ChangedType = Table.TransformColumnTypes(SplitColumnbyDelimiter,{{"Bz", type text}, {"Company", type text}, {"Dept", type text}, {"Value", Int64.Type}})
    in
    ChangedType
    Example3:
    let
    Source = Excel.CurrentWorkbook(){[Name="Data"]}[Content],
    Custom1 = Table.Combine(List.Transform(List.Split(Table.ToColumns(Source),3),each
    [a=Table.FromColumns(_),
    b=Table.PromoteHeaders(Table.Skip(a,1)),
    c=Table.AddColumn(b,"Country",each a{0}[Column1]) ][c]
    ))
    in
    Custom1

  • @KleanthisSkoulikaris
    @KleanthisSkoulikaris 3 месяца назад

    Oh man, watching you keep adding to the first M code formula instead of using multiple steps reminded of Matt Damon talking about Jack Nicholson in the movie "Departed"....
    "Now, you COULD end the scene there, but if you keep the camera rolling...." 😁😁😁.
    You're like the gift that keeps on giving!

  • @ursvenky6394
    @ursvenky6394 3 месяца назад

    Wonderful video. I recently struggling with second problem. I got the solution by you. Thanks Chandeep

  • @chrismiles7040
    @chrismiles7040 3 месяца назад +2

    @GoodlyChandeep is your book going to be available digitally on the Google Books store or do we have to buy a hard copy?

  • @neelguru6562
    @neelguru6562 3 месяца назад +2

    Sir when you are going to lunch your book of M CODE language.
    I'm your biggest fan.
    Your way of teaching is excellent ❤❤❤

  • @businessinsights_AlexRobe
    @businessinsights_AlexRobe 3 месяца назад

    This is magic! So efficient and compact - love it! 👌🙏

  • @-seesi-
    @-seesi- 3 месяца назад

    Hey Chandeep!
    In your third example you hardcoded the 3 (25:00).
    You could wrap the SecRecordAsHeaderList step into List.Count, so you get the number of the cols!

  • @catherinegould6662
    @catherinegould6662 3 месяца назад

    Amazing - that logic is awesome. Lists are scary cool

  • @carolshipley7903
    @carolshipley7903 3 месяца назад

    This is brilliant Chandeep. Just what was needed for the problem I sent you. Thank you very much.

  • @krishna6296
    @krishna6296 3 месяца назад

    Thank you for the detailed video on ower query editor data transformation.

  • @bendreessen2809
    @bendreessen2809 3 месяца назад

    Amazing! you provided the exact solution I needed! thank you so much for all of your help and easy to understand teaching style!!

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

    Great video, I know it 's not that practical but for fill up down, I used
    let f = { Table.FillUp, Table.FillDown} in
    List.Accumulate ( {0..1}, Table.Transpose(Custom1), (s,c)=>
    Function.Invoke( f {c} , { s, Table.ColumnNames( s ) } ) ) , oh great use to combine columns.

  • @StephenDagg
    @StephenDagg 3 месяца назад

    Thanks so much Chandeep, these tutorials are fantastic. Keep 'em coming!

  • @Luciano_mp
    @Luciano_mp 3 месяца назад

    Wow, brilliant! Congratulations! Thank you.

  • @SathishKumar-oq7tz
    @SathishKumar-oq7tz 3 месяца назад

    It's just amazing tricks, thank you Chandeep for sharing with us.

  • @danishnawaz3651
    @danishnawaz3651 3 месяца назад

    Stunning Sir. Plz do more videos.

  • @enocharthur4322
    @enocharthur4322 3 месяца назад +6

    This is incredible. I check out your master m language course it's very expensive. Kindly reduce the cost a lot

    • @danielhervert3629
      @danielhervert3629 3 месяца назад

      😂

    • @ginesc
      @ginesc 3 месяца назад

      🤣 I need a new car .. I´m gonna use similar technique maybe it ´ll work !!!! tks you !!!

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

      Its worth it though.

  • @donniemcgee7523
    @donniemcgee7523 3 месяца назад

    Thank you for this excellent presentation. It is extremely helpful.

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

    Great tricks. Thanks for sharing

  • @arbazahmad7177
    @arbazahmad7177 3 месяца назад

    Excellent... thanks for sharing 🎉

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

    Amazing, Thanks a lot

  • @prashantpavar8303
    @prashantpavar8303 3 месяца назад +1

    This is awesome

  • @Travel-Costa-Rica
    @Travel-Costa-Rica Месяц назад

    another great video... Thanks...

  • @ivanzhelyazkov6625
    @ivanzhelyazkov6625 3 месяца назад +1

    Another great video!

  • @RichardJones73
    @RichardJones73 3 месяца назад +1

    You make power query seem so damn easy

  • @freipfeifenprospekt
    @freipfeifenprospekt 3 месяца назад

    Whow. Apart from the excellent content - where did you learn to teach so well?

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

    I wonder whether you speak with HUMANS in M language or not... 😁 Simply Superb

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

    Bloody awesome thanks

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

    Awesome! as always.Thank you

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

    Wow incredible❤

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

    Great explanation. Can you show a power BI statement month by month with the months as column headers? It’s typically how data is presented.

  • @SalmanHussain94
    @SalmanHussain94 3 месяца назад

    You are just Amazing!

  • @ashivns
    @ashivns 3 месяца назад

    Thanks 🙏 eagerly waiting for your video

  • @Klick213
    @Klick213 3 месяца назад

    A masterpiece!

  • @sanjeevsoni6793
    @sanjeevsoni6793 3 месяца назад

    Great tricks 🎉

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

    Fantastic! Awesome!

  • @basheert8848
    @basheert8848 3 месяца назад

    Nice one
    I subscribed because of this video 🎉 keep it up ❤

  • @djl8710
    @djl8710 3 месяца назад

    Good Stuff Goodly!

  • @kamil4177
    @kamil4177 3 месяца назад

    Hi, in 20:41 you're refering to row as a column;) but I get the idea;)

  • @mogarrett3045
    @mogarrett3045 3 месяца назад

    my brotha Goodly I get this crap all the time....makes me wanna open up 'a can of woop ass' . pisses me off to no end. Clients have no passion for their data. thank you for sharing. Power Query is the magic in the data kitchen. thanks brotha for your insight as always

  • @Tuhin380
    @Tuhin380 3 месяца назад

    Just awesome❤❤

  • @justjerry7844
    @justjerry7844 3 месяца назад

    Pretty darn awesome 👍👏👏👏

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

    This person is a wizard😅

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

    as an alternative to adding an index try zip;
    = List.Transform(
    List.Zip( { ListOfTables, {"Engalnd","India"} } ),
    (x)=> Table.FromRows( {x} ) )
    then table combine .

  • @storieswithtarasharma2914
    @storieswithtarasharma2914 3 месяца назад

    Remember these all function is little complicated so I hope you will tell us the way by which we can apply logic in real time data problems because every time we have a different situation

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

    Thanks for the great video, Chandeep!
    Just one question - Why don't we use Table.Transpose() instead of Table.FromColumns(Table.ToRows()) at 3:40?

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

      I thought transposing 2 rows wouldn't slow down the query.

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

    17:49 Couldn’t have we split the column before unpivoting? Just curious. Thanks!

  • @mogarrett3045
    @mogarrett3045 3 месяца назад

    Thanks brotha

  • @sharmarudra
    @sharmarudra 3 месяца назад

    I love his teachings. Can anyone fund his courses for me, please ?

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

    00:24 Example 1
    06:50 Example 2
    18:28 Example 3

  • @mrbartuss1
    @mrbartuss1 3 месяца назад +1

    I've noticed that you prefer to put everything into one step. Is it more efficient or something? Why not doing it in separate steps?

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

    Suppose in the table consist few column null value and in excel two table between empty two columns
    how can we handle that

  • @VijayDagar-z3y
    @VijayDagar-z3y 23 дня назад

    in My Power Query Editor Add New Step not showoing helper Selection in excel is there any opetion to activate this like Power Bi?

  • @alexandrucoman1082
    @alexandrucoman1082 27 дней назад

    Basically instead of using Unpivot table
    he s using language
    interesting approach but it s more complex than necessary when you can use more simpler things

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

    Thanks

  • @pk231
    @pk231 3 месяца назад +1

    I don't know why your video is like ASMR to me😅. 30 mins went just like that

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

    Can we not do everything using UI?

  • @AlishaPathan-o3r
    @AlishaPathan-o3r 2 месяца назад

    How to share powerquery data file or mail to someone, please share

  • @kumaraswamyreddy2144
    @kumaraswamyreddy2144 3 месяца назад

    Any discount for your 3 course bundle

    • @kumaraswamyreddy2144
      @kumaraswamyreddy2144 3 месяца назад

      If i took the course Mastering Dax, will i get all the video's at a time or its like adding videos weekly?

    • @GoodlyChandeep
      @GoodlyChandeep  3 месяца назад

      you'll get all the videos. please drop me a note on chandeep@goodly.co.in

  • @tempmail5660
    @tempmail5660 3 месяца назад

    hey goodly I’m looking to enroll myself in dax course of yours can you please tell me if there is a doubt session. Can we communicate our doubt to you.

    • @GoodlyChandeep
      @GoodlyChandeep  3 месяца назад

      All students leave comments or post their questions in the community. I hope that helps 😀

  • @williamarthur4801
    @williamarthur4801 3 месяца назад +1

    Third time of watching, I must get out more. 🙄🙄

  • @s1ngularityxd64
    @s1ngularityxd64 3 месяца назад

    Who on hell - a lot 😁

  • @kennethstephani692
    @kennethstephani692 3 месяца назад

    Another awesome video!!