How to Group By Maximum Value using Table.Max in Power Query

Поділитися
Вставка
  • Опубліковано 23 січ 2025

КОМЕНТАРІ • 61

  • @BIGorilla
    @BIGorilla  Рік тому

    To learn more about functions and syntax make sure to check out: powerquery.how/
    Enjoy!

    • @jorgeflores5452
      @jorgeflores5452 8 місяців тому

      Hi , could you please make a video for cleaning a dataset but tables inside tables one under other one with different titles. Thank you.

  • @sjd7aa
    @sjd7aa Рік тому

    Buy that gorilla a banana. Or bunches of bananas! Thank you so much for this video. I searched high/low for help with keeping data for different lines of table with revision numbers, and yours was the one that made it click! Figuring this out for my model is a great win. Thanks again.

  • @forestsunrise26
    @forestsunrise26 2 роки тому

    What I like most about this video is that it is not only short and straight to the point but also has a cool Jesus statue in the background :D Amazing content and design! Thank you very much! This channel deserves much more views!

  • @arnoldschwartz114
    @arnoldschwartz114 4 роки тому +3

    great video, clear, short, useful, and much appreciated. i'll be following you from here on, having seen some of your other videos; and please continue the good work and postings. thanks.

    • @BIGorilla
      @BIGorilla  4 роки тому

      Great, it energizes me that someone found use of it. More videos coming soon!

    • @jacobjamari4578
      @jacobjamari4578 3 роки тому

      You prolly dont care but if you are bored like me during the covid times you can watch pretty much all the latest movies on instaflixxer. I've been binge watching with my brother for the last weeks =)

    • @leeford5492
      @leeford5492 3 роки тому

      @Jacob Jamari Yea, have been using InstaFlixxer for years myself :)

  • @buttersbutters3630
    @buttersbutters3630 6 місяців тому

    Thank you, I was struggling with the table concept of this, but this video helped me understand it.

  • @steveschweiger6670
    @steveschweiger6670 9 місяців тому

    After re-watching I successfully got your approach to work. Thanks again.

  • @roterwolf2528
    @roterwolf2528 3 роки тому

    Many thanks: I was looking for this solution and you have been able to explain it in a clear and simple way. Fabio from Italy

  • @kebincui
    @kebincui 3 роки тому +1

    Excellent tutorial about Group By and Table.Max function; thanks for sharing

  • @PaulLucassen
    @PaulLucassen Місяць тому

    Better late than …….., just a solution I needed today. Thanks.

  • @TigranHayrapetyan-oy2ds
    @TigranHayrapetyan-oy2ds 7 місяців тому

    Very elegant solution! Thank you for your work. Subscribed!

  • @LuisCarlosChavez717
    @LuisCarlosChavez717 Рік тому

    Awesome!! You saved my workday! I was looking for this solution.

  • @wvib
    @wvib 2 роки тому +1

    Great and very coll presented

  • @kevinvanb.
    @kevinvanb. 10 місяців тому

    Dit was ontzettend handig. Mijn dank is groot!

  • @ikahmedani
    @ikahmedani 2 роки тому

    You are really champion, very well described, short and elaborative. I'm big of yours from now on.

  • @7213261
    @7213261 4 роки тому +1

    Thanks, finally I understood how to use this Group By with other than Sum function. Just one suggestion- maybe you could use screen magnifier to make the video more visible. You are in my notification list))

    • @BIGorilla
      @BIGorilla  4 роки тому +1

      Hi Sergey, well done on the learning. I will definitely look into the size of the code in future videos. Thanks for pointing that out. Cheers, Rick

  • @allabout1135
    @allabout1135 3 роки тому

    This solution will go to one of my latest analysis machines. Thanks for sharing the knowledge.

    • @BIGorilla
      @BIGorilla  3 роки тому +1

      Sounds complex. Data crunching at its best!

  • @msmc1995
    @msmc1995 Рік тому

    Thank you very much. Helped a lot!

  • @sandracantu715
    @sandracantu715 Рік тому

    You are a genius, thank you so much for this video!

  • @minhng575
    @minhng575 2 роки тому

    thanks so much for sharing your knowledge!

  • @fajnefajne4339
    @fajnefajne4339 2 роки тому

    Hi BI Borilla, thank you for an amazing tutorial. :-)

  • @rahulgautam9254
    @rahulgautam9254 2 роки тому

    This saved me a lot of time

  • @ImranHussain-xv4se
    @ImranHussain-xv4se 3 роки тому

    Great video, it helped me to complete my assignment
    Thanks for uploading video

    • @BIGorilla
      @BIGorilla  3 роки тому

      Fantastic! What assignments do you take on?

  • @luoqingli73
    @luoqingli73 2 роки тому

    Thank you, you solve my big problem!

  • @jameszhou162
    @jameszhou162 2 роки тому

    great stuff! learnt it and used immediately

  • @sergiusz8620
    @sergiusz8620 3 роки тому +1

    Thank you a lot, it helped me

  • @mnowako
    @mnowako 3 роки тому

    Great subject! Well explained! Thank you!

  • @alterchannel2501
    @alterchannel2501 Рік тому

    This was fantastic

  • @vashisht1
    @vashisht1 2 роки тому +2

    Sir Rick, if sales number(max) repeats for two different name then table.max won't return both name and product details...maybe list.max can help....but I got stuck,,,

  • @ExcelSwissKnife
    @ExcelSwissKnife 3 роки тому

    Very nice! Will save me a lot of time this one. So far I've always done all rows => expand => filter by [ID] = [expandedID] and [maxvalue] = [expandedvalue], but this is so much faster, thank you! :-)

  • @jasonbuchek
    @jasonbuchek 3 роки тому +1

    earned a sub from me homey
    great video, thanks!

    • @BIGorilla
      @BIGorilla  3 роки тому

      Great to have you on the channel!

  • @adrianoschwenkberg6773
    @adrianoschwenkberg6773 2 роки тому

    great, thx for the efforts

  • @ericavene
    @ericavene 2 роки тому

    Soo helpful. Thank you!

  • @kristinamelnichenko5775
    @kristinamelnichenko5775 9 місяців тому

    Awesome. Thank you

  • @gerardoarizmendi5868
    @gerardoarizmendi5868 2 роки тому

    Very smooth

  • @adanielmacedo
    @adanielmacedo 3 роки тому +1

    Perfeito... era mesmo isto que eu procurava!!! obrigado pela ajuda :-)

  • @tubeitz
    @tubeitz 3 роки тому

    Excellent!

    • @BIGorilla
      @BIGorilla  3 роки тому

      Appreciate it! 🙋‍♂️

  • @andreboriz2750
    @andreboriz2750 2 роки тому

    Thanks!

  • @LannaSanches
    @LannaSanches 3 роки тому

    Thanks! Do you know how could I bring the last 3 values? If I wanna a TOP3, how could I bring the 3 best sellers?

    • @BIGorilla
      @BIGorilla  3 роки тому +1

      Hi Lanna,
      It depends what you want to do. If you want to group and show the top 3 Sellers as comma separated values, you can use
      gorilla.bi/power-query/aggregate-text-values/
      Just max sure to filter that list to the List.Firstn( list, 3)
      Before combining it.
      Or you can add an index column to all grouped table objects, expand all, and filter on index

    • @LannaSanches
      @LannaSanches 3 роки тому

      @@BIGorilla Thank you!!! I'll try it.

  • @SamehRSameh
    @SamehRSameh 3 роки тому

    If i make merge between 2 tables and there are many dates , how can i return max & min date ????

  • @steveschweiger6670
    @steveschweiger6670 9 місяців тому

    This was very good however i needed sum or max by date by sales person. I ended up having to burn three queries to get there. Max by date, max by Sales person then used your All Rows technique to e technique to expose the date on sales by person. Then did join on sales amount and date and got there. Very convoluted.

  • @CapitanFlintt
    @CapitanFlintt Рік тому

    Thanks a lot!!! If I could I´d buy you a pint! 😄

  • @fabriciocruzdarosa3293
    @fabriciocruzdarosa3293 Рік тому

    Congratulations

  • @LamNguyen-op2kr
    @LamNguyen-op2kr 3 роки тому +1

    nice !

  • @ginesc
    @ginesc 4 роки тому

    Great !! and Tks :-)

    • @BIGorilla
      @BIGorilla  4 роки тому

      Thanks Jadara, glad it helped!

  • @krzysztofporadzinski9183
    @krzysztofporadzinski9183 Рік тому

    Clever

  • @luigibru8677
    @luigibru8677 6 місяців тому

    Actually is not Lisa...