Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Ranking/Grouping based on conditions

Table1   Agent   Duration(s) Date Rank A 273       01/06/2020   A 263 01/06/2020   A 224 01/06/2020   A 146 02/06/2020   A 159 03/06/2020   A 153 04/06/...
  • v-lionel-msft's avatar
    v-lionel-msft
    6 years ago

    Hi Anonymous ,

     

    I directly excluded the rows greater than April 6th when calculating the average. 

     

    In addition, you can also change the sorting mechanism, for example, when [__AVG]= Blank() then [__Rank]=0

     

    Best regards,
    Lionel Chen

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.