How to Rank in Power Query. EMT 1698 by excelisfun.

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ต.ค. 2024

ความคิดเห็น • 90

  • @Anthony_Lecoq
    @Anthony_Lecoq 4 ปีที่แล้ว +2

    The double grouping was a good trick ;) and Alt + = shortcut was the icing on the cake ;)

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      Always great to having icing on the cake : )

  • @wayneedmondson1065
    @wayneedmondson1065 4 ปีที่แล้ว +1

    Hi Mike. Nice one.. Monday fun.. ranking in Power Query using Group By. Thanks for the great tips and techniques on how to get that done. Thumbs up!!

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      You are welcome, Wayne! Thanks for the thumbs up : )

  • @mattschoular8844
    @mattschoular8844 4 ปีที่แล้ว +1

    Thanks Mike. That's a great way to deal with the tie results. Much appreciated

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      You are much welcome, Matt!!!!

  • @theFactsPage
    @theFactsPage 3 ปีที่แล้ว

    Thank you! this was the solution I was looking for in Power Bi!

  • @johnborg5419
    @johnborg5419 3 ปีที่แล้ว +1

    Thanks Mike. Very Nice!!!! You've done this in another video. Thanks Again. :)

  • @comarlopez
    @comarlopez 4 ปีที่แล้ว

    Best teacher ever.

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      Thanks, M A L!!!! Glad the video helps!

  • @nsanch0181
    @nsanch0181 4 ปีที่แล้ว

    Thanks for the grouping trick Mike. I'm focusing on learning Power Query, so I'm studying, going through your videos, and hopefully I can get a good base understanding of it by the time your book comes out, and then I can switch over to that :) Thank you Mike.

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว

      The studying my videos is the way to go. My book will not go into as much detail about Power Query as the MSPTDA class does. However, the book will be the only book every written that covers all the tools, including Power Query, Power Pivot and DAX. The book will have a little M Code. The book will cover the most important parts of Power Query for getting data and some worksheet stuff. The book after will be all about Power Query and M Code. But no worries, this power query playlist has all you really need for now: th-cam.com/play/PLrRPvpgDmw0m3ohSvgwoHvd0KO8QsQdiK.html

  • @Excelambda
    @Excelambda 4 ปีที่แล้ว

    PQ king is in the building!!!Great Video!!!😊
    A single cell formula just in case
    =LET(p,fSales[Product],s,fSales[Sales],tr,{"Product","Total Sales","Rank"},
    up,UNIQUE(p),r,ROWS(up),sq,SEQUENCE(r+1,,0),
    sp,SUMIFS(s,p,up),rnk,XMATCH(sp,SORT(sp,,-1)),
    ar,CHOOSE({1,2,3},up,sp,rnk),
    rs,SORT(ar,{3,1}),
    rsf,IFS(sq=0,tr,TRUE,INDEX(rs,sq,{1,2,3})),rsf)

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      LOVE your LET!!! I tried LET too, but tried it with RANK.EQ which dos not work because of ref argument, but your XMATCH solves that : ) Lovely formula. I added it to workbook. Go Team!

  • @IvanCortinas_ES
    @IvanCortinas_ES 4 ปีที่แล้ว

    Thanks, Mike. Very good the index trick to obtain the ranking!

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      I learned it a few years ago from our Teammate Bemint : )

  • @SyedMuzammilMahasanShahi
    @SyedMuzammilMahasanShahi 4 ปีที่แล้ว +1

    EXCELlent video Mike. Thanks for the share.

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      You are welcome for the share, SMM Teacher ; )

    • @SyedMuzammilMahasanShahi
      @SyedMuzammilMahasanShahi 4 ปีที่แล้ว

      @@excelisfun :D so nice of you Mike Teacher ;)

  • @paspuggie48
    @paspuggie48 3 ปีที่แล้ว

    Amazing when one needs such a great solution like this, which I had to use today Mike. Worked a treat, thank you yet again :)

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว +1

      You are welcome yet again : ) I post videos, you search and find, then if they help, click thumbs up and comment. That is a TEAM in action : ) : )

  • @FRANKWHITE1996
    @FRANKWHITE1996 4 ปีที่แล้ว

    Wow! I love your smart aproach 🙌🙌🙌🙌

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      Glad you love it, FRANKWHITE1996 : ) I learned it back in 2017 from our Teammate Bemint.

  • @renz-m8o
    @renz-m8o 4 ปีที่แล้ว +1

    Awesome! More PQ tips please.

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      I have 100s already. Here is playlist: th-cam.com/play/PLrRPvpgDmw0m3ohSvgwoHvd0KO8QsQdiK.html

  • @GeertDelmulle
    @GeertDelmulle 4 ปีที่แล้ว

    That double Group trick is double fun right there! :-)

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      Yes, I learned it from Teammate Bemint back in 2017 : )

  • @edge5817
    @edge5817 4 ปีที่แล้ว

    Beautiful as always! Thanks Mike

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      Glad you like it, Edge!!!

  • @vida1719
    @vida1719 4 ปีที่แล้ว +2

    It was a great idea to group twice to achieve the desired result

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      It was an idea I learned from our Teammate Bemint back in 2017 : )

  • @arifhidayat309
    @arifhidayat309 4 ปีที่แล้ว +1

    Great.... Excel made eazy.. 😊

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      Glad it is great for you, arif!!!

  • @paspuggie48
    @paspuggie48 4 ปีที่แล้ว

    LOVE the ' ALT += ' tip Mike...wonderful 😇🤗

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      Total Rows are as simple as Alt + = . Glad you like it, Paul!

    • @paspuggie48
      @paspuggie48 4 ปีที่แล้ว

      @@excelisfun I even looked up the support.microsoft webpage and couldn't find that shortcut LOL

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      @@paspuggie48 There are so many things that Excel can do, so many, so many, that are not listed anywhere in Microsoft support : (

    • @paspuggie48
      @paspuggie48 4 ปีที่แล้ว

      @@excelisfun I just discovered a new one on me, adding Document Location to one's Quick Access Toolbar...and I always thought I knew a lot about Excel (which is 1% of what you and MrExcel know)...we live 'n learn Mike ;)

  • @PemberiSolusi
    @PemberiSolusi 3 ปีที่แล้ว

    awesome, this very helping... success
    all

  • @darrylmorgan
    @darrylmorgan 4 ปีที่แล้ว

    Boom!Great Tips On How To Rank In Power Query...Thank You Mike :)

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      You are BOOM Welcome, darryl : )

  • @garethwoodall577
    @garethwoodall577 ปีที่แล้ว

    Mike going to ask if this is possible. Can you inside power query or in power pivot when there is ties use an average so the tied values share the average?

  • @Luciano_mp
    @Luciano_mp 4 ปีที่แล้ว +1

    Thanks Mike!👍

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      You are welcome, Luciano!!!

  • @chrism9037
    @chrism9037 4 ปีที่แล้ว

    Awesome Mike, thanks!

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      Always glad to help our Team!!!!

  • @DougHExcel
    @DougHExcel 4 ปีที่แล้ว

    Hopefully MSFT will put in a Rank command set for PQ!

  • @Sal_A
    @Sal_A 3 ปีที่แล้ว

    Nice interface workaround. How would you rank it so that it shows 1, 1, 2, 3? Somehow need to subtract 1 from last two rows....use Column By Example?

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว

      Use a PivotTable. PivotTable yields: 1, 2, 2, 3

    • @Sal_A
      @Sal_A 3 ปีที่แล้ว

      @@excelisfun yeah I think you meant 1,1,2,3. But was curious if you knew in PQ.

  • @sachinrv1
    @sachinrv1 4 ปีที่แล้ว +1

    Fantastic 👍

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      Glad you like it!

  • @nikakalichava8012
    @nikakalichava8012 ปีที่แล้ว +1

    Thanks for the video! Btw. the download link doe snot work :(

    • @excelisfun
      @excelisfun  ปีที่แล้ว

      Sorry about that. I just fixed link!!!

  • @nareshbisht6361
    @nareshbisht6361 4 ปีที่แล้ว

    Awesome Job

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      Glad it is awesome for you : )

  • @simfinso858
    @simfinso858 4 ปีที่แล้ว

    Added to my knowledge Bank.

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      That is a good bank account ; )

    • @simfinso858
      @simfinso858 4 ปีที่แล้ว

      @@excelisfun Yes.In Above video any new Record which secure 2nd position will Automatically updated ?

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      @@simfinso858 Yes, change the numbers and click refresh - you will see : )

  • @TheSTEPHEN009
    @TheSTEPHEN009 4 ปีที่แล้ว

    Mike sir again another impressive and phenomenal power query tip. Well sir I have one query which I am not able to resolve will you please help me out, I have checked your videos but didn't found as such so that I may helped me. Still if you please that will be a great kind of you, how can i share the data with you? Sir its a request, I know you are a busy person but please help :)

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      I am very sorry, but I am very busy. Try this great Excel question site: mrexcel.com/forum

  • @alfredoiglesias7856
    @alfredoiglesias7856 4 ปีที่แล้ว

    Is there a way to to a lookup in a column where some values are already added and just fill the empty ones without a helper column?

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว

      I have no idea how to do that. Sorry. Maybe try: mrexcel.com/forum

  • @hazemali382
    @hazemali382 4 ปีที่แล้ว

    Professor ♥

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      Glad you like it as always, Hazem : )

    • @hazemali382
      @hazemali382 4 ปีที่แล้ว

      @@excelisfun you are the only reference in excel Many Thanks Professor ♥

  • @simfinso858
    @simfinso858 4 ปีที่แล้ว

    A Question not Related to this video. I Want FV of an Amount with 10% Increasing pmt amount every time ( step up S.I.P.)For example in first month I will invest 5000,in 2nd month i will invest 5500 like wise for 10 years.can You show how to do it?

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว +1

      I think I have a great solution with the new Dynamic Spilled Array formulas. I will try to make a video tomorrow for you : )

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว +1

      Here is a single cell formula using Microsoft 365 Excel: =SUM(PeriodPMTStart*(1+PercentIncreaseForEachPMT)^SEQUENCE(TotalPeriods,,0)*(1+PeriodRate)^SEQUENCE(TotalPeriods,,TotalPeriods-1,-1))

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว +1

      What version of Excel do you have?

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว +1

      Wow!!!! Here is the Old School Formula:
      =SUM(PeriodPMTStart*(1+PercentIncreaseForEachPMT)^(ROW(INDIRECT("1:"&TotalPeriods))-1)*(1+PeriodRate)^ABS(ROW(INDIRECT("1:"&TotalPeriods))-TotalPeriods))

    • @excelisfun
      @excelisfun  3 ปีที่แล้ว +1

      For your example, I used:
      Years = 10
      NumberCompoundPerYear = 1
      TotalPeriods = 10
      AnnualRate = 0.12
      PeriodRate = 0.12
      =
      PeriodPMTStart = 5000
      PercentIncreaseForEachPMT: = 0.1
      and I got FV = $128,026.44
      Does that seem about right? I checked it on a smaller example and it seems to be the correct math.

  • @silverfunnel6819
    @silverfunnel6819 4 ปีที่แล้ว

    First

    • @excelisfun
      @excelisfun  4 ปีที่แล้ว +1

      You get the first place trophy!!!!