Power BI DAX Tutorial (15/50) - What is RANKX

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

КОМЕНТАРІ • 81

  • @susantadas8213
    @susantadas8213 3 роки тому +13

    I haven't seen it on any UA-cam channel to explain in such a simpliest way.
    Medicine for all kind of problem is available on your channel. Great going keep it up bro. ❤️

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

      Thanks for your words.
      Keep learning. Share this channel with friends and colleagues

  • @Mohamed-xt1fp
    @Mohamed-xt1fp 18 днів тому

    Thank you for your simple explanation with real life scenario.

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

    This video is one of the best videos, I have watched on this topic . Very well explained and that too in a very easy way . Thank you so much

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

      Thanks keep learning share this channel with friends and colleagues and talk about this channel in LinkedIn

  • @vrmotovlog4333
    @vrmotovlog4333 Рік тому +1

    Real Lab experience, Thank you very much for the videos

  • @varun1023
    @varun1023 Рік тому +1

    Really superb. Clear explanation 🎉🎉

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

    semma semma,, awesome explanation . Thanks bro

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

      Thanks keep learning share this channel with friends and colleagues and shout out about this channel in LinkedIn

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

    I am learning all types of DAX Expressions from your channel.
    I think you are explained it deeply and practically.
    Most Useful and knowledge sharing Channel😘😘

  • @cesarsaldana3429
    @cesarsaldana3429 Рік тому +1

    Amazing!!!!!.......Best Regards from Mexico.

  • @AnilKumar-fr9jo
    @AnilKumar-fr9jo 2 роки тому +1

    Awesome video, I am a new learner, and the video is very informative and helpful to understand in simple terms the complex DAX formulas. Great work ... :)

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

    great explanation sir, thank u

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

    Hi, how to get dataset that your using in Naga Garments scenario.

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

    Thanks

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

    Thanku sir

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

      Thanks keep learning share this channel with friends and colleagues

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

    Hi Nags, Can cross join happen between 2 different tables? if so, what will be the syntax? Thanks

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

    Nice explanation with multiple functions.. Thank u bro

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

    This is great. But can you create a video with Ranking based on multiple measures. For example, the major column is Product Category while the measures are Total Sales and Profit Margin. Both Measures will have their rankings on the same table

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

    Can we use total count also instead of sum?

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

      Yes

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

      @@AnalyticswithNags Pls share formula Sir... I have to prepare stacked bar chart... Where I need top 5 countries and top 5 query types based on case reference count... Country and queries in separate column... Pls help Nag Sir... Thanks a bunch for quick response. Appreciated 😇

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

      I am only able to select either country or query type using TopN filter.

  • @DawoodChoudry-r3j
    @DawoodChoudry-r3j 5 місяців тому

    Hey, you explained well all dax functions but I have a question
    When we do a crossjoin between two columns then there will be possible combinations of rows where we don’t have a total sales value?
    Is it good approach?

  • @coolcalm582
    @coolcalm582 5 місяців тому

    sir why crossjoin has been used here...rest all things i was able to grasp but didnt get why cross join function is used. can u please reply here making me understand please it will be very helpful.

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

    hai sir, i hope i will get a repl from your end, what is the number indicates below the rank column,,, for total sales "7378400" it is sum of total sales under the column, but under rank column the number "1" indicates what???, pls repl sir

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

      The measure based on each item it ranked properly since filter context applied. In total no filters applied so total value is ranked as one. Usually ranking you should not show the totals. Ignore that

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

    Hi Nags,
    I’m trying to use a rank on a column which has negative values. Until my Value is positive, it’s working fine. ( 1 2 3) But if the value is negative rank is jumping to (22 23 24). Can you pls help me

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

      Try asc or desc option shown in the DAX

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

      @@AnalyticswithNags rankx(ALL(VW_NAV[Fund_Name]),CALCULATE('VW_NAV'[Return_PTP]),,DESC,Dense)
      Hello. By implementing the above DAX , my rank is skipping by 1 when the values become negative ( eg - 1 2 4 5 6) .
      Can you pls help me

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

      ​@@anushap5411 why have u used calculate function there ? What is it calculating ??

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

    Sir wld u plz provide exact data which have been used .i m not able to check wether the my ans or dax are correct

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

    It will shows only 32 videos of dax. I need remain 18 videos of dax please.

    • @AnalyticswithNags
      @AnalyticswithNags  3 роки тому +2

      Don't Repeat same comments which was answered already.
      Those remaining videos are planned not yet ready. I hope you understand now.

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

    apply filter from month also and show , especially mon5h

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

    Thank you so much for the videos.. I have been trying to learn Power BI through your channel...
    Sir, I have a doubt...
    How to do summation in a list wherein I need to selectively exclude first 6 Non-zeroes & do sunmation for the rest...
    This data is available daywise thus for each day..first 6 instances of non-zeroes to be excluded & sum should containg only the remaining for that particular day.... Kindly guide

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

      Create a calculated column in power query or DAX that removes first 6 zeros.
      (Watch the videos in tips and tricks playlist)
      Then use this calculate column in sum function.

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

      @@AnalyticswithNags Thank you so much for input...I will try it..

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

      @@AnalyticswithNags sir, In the list there are a mix of zeroes & non-zeroes numbers... I need to sum up only from 7th Non-zero numbers...

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

    Hi
    I am doing a report on sales, where I want the pictures of the products shown in their respective ranks. What I want to show is a top ten with ten single image visuals (not in a table visual) that shows 1, 2, etc. respectively. I tried combining my picture table into my sales table and do a cross join like you, and then use rank as a filter for each visual, but that gives massive performance issues. ~60 seconds to load each ranked product picture for each time I change a page filter like month or product group. I tried doing rankx with the picture still in its own table, but that messed up the rank. Do you have any tips? I've searched far and wide, and no one address how to use rankx function with values from more than one table.

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

      Cann you explain the detail in the email analyticswithnags@gmail.com. Also share the pbix file if it is not confidential we will have a look and reply it you

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

    Hi. Basically All function removes all the filters. Why do you use All here?

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

      Watch again

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

      @@AnalyticswithNags ok. I have another doubt can you please say when to use tablename as argument and when to use column name as arguments. I'm confused

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

      It is based on the function you use. If the function requires column as an argument or table as an argument

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

    can you show rankx dax function example where rank is applied on Percentage value, I am rank on Profit percentage

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

      I hope there is no difference while using percentages, you can apply same logic

  • @Aadya.Boutique642
    @Aadya.Boutique642 2 роки тому +1

    Too n and bottom and can find by filter then why we use rank

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

      It is used in other calculations as a intermediate results.
      Also you want to find which item in 10th position or nth position Rank is the function we should use

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

    How to give ranking to Quarters

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

    how to fix Total for Rank measure?

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

    what is different between topn and rank please make video on topic

    • @AnalyticswithNags
      @AnalyticswithNags  4 роки тому +2

      Top n only focus on highest values. Whereas the RanKx can be used for highest and lowest value. Secondly, If you want to find who has got the n th rank you can filter using RanKx. E.g Who has got 5th rank

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

      @@AnalyticswithNags thanks sir ,give me ans

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

    Sir explain each functions with more examples plz

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

    I have 1 doubt - In this video, you have ranked categories as 1, 2 , 3 etc. If I want to find out 2nd Rank value in Card visual how can we achieve it?

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

      Use that rank measure in the visual filter and basic filter and choose 2

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

    How to find last 6 months sales

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

      ua-cam.com/video/wS2Hw9CPJeY/v-deo.html watch this it is explained in this Video

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

    RANK =
    RANKX (
    CROSSJOIN (
    ALLSELECTED ( Data[Product name] ),
    ALLSELECTED ( Data[Product Category] )
    ),
    Data[Totalsales],
    ,
    DESC
    )
    FOR ME ITS WORKING ONLY WHEN I USE THIS FORMULA

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

    RANKX is not workinng even after using ALL function

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

      Explore the similar problems here, learn.microsoft.com/en-us/answers/