Forum Discussion

wesentadesse99's avatar
wesentadesse99
Frequent Visitor
3 years ago
Solved

TOPN

Dear Team,

I want to know the bottom 10 rank of the follwoing data. The requirement is the  bottom 10 lowset performer student(%) but for those students have equal point(performance) we need to consider again the lowest bonus.

Student NamePerformance(%)Bonus
Name130%1
Name230%3
Name330%5
Name430%6
Name530%7
Name630%9
Name730%11
Name830%12
Name930%14
Name1030%16
Name1130%17
Name1240%18
Name1350%19
Name1460%20
Name1570%21
Name1680%22
Name1790%24

regards, 

  • Hi wesentadesse99 ,

     

    Please follow these steps:

    (1) Create a new table

    Table 2 = TOPN(10,'Table','Table'[Performance(%)],ASC,'Table'[Bonus],ASC )
    
    Table 3 = TOPN(10,'Table','Table'[Performance(%)],DESC,'Table'[Bonus],ASC)

     

    (2)Final output

     

    If neither table is what you need, please state the correct output.

     

    Best Regards,

    Gallen Luo

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

2 Replies

  • v-jialluo-msft's avatar
    v-jialluo-msft
    Community Support

    Hi wesentadesse99 ,

     

    Please follow these steps:

    (1) Create a new table

    Table 2 = TOPN(10,'Table','Table'[Performance(%)],ASC,'Table'[Bonus],ASC )
    
    Table 3 = TOPN(10,'Table','Table'[Performance(%)],DESC,'Table'[Bonus],ASC)

     

    (2)Final output

     

    If neither table is what you need, please state the correct output.

     

    Best Regards,

    Gallen Luo

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