Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Guys,
I have found top 5 values using rank in the expression
Only({<MonthYear>} aggr(sum({<MonthYear,
Name = {"=rank(sum({<MonthYear= {'$(vCurMonthYear)'}>}1-([Total Number of Failing Records]/[Total Number of Records])))<=5"}
>}1-([Total Number of Failing Records]/[Total Number of Records])),MonthYear,Name))
Now I am trying to find bottom 5 values using the rank.
Can anyone help me with this?
Thanks in advance!
Regards,
Varun.
Try the rank of the value multiplied by -1:
Only({<MonthYear>} aggr(sum({<MonthYear,
Name = {"=rank(-sum({<MonthYear= {'$(vCurMonthYear)'}>}1-([Total Number of Failing Records]/[Total Number of Records])))<=5"}
>}1-([Total Number of Failing Records]/[Total Number of Records])),MonthYear,Name))
Try the rank of the value multiplied by -1:
Only({<MonthYear>} aggr(sum({<MonthYear,
Name = {"=rank(-sum({<MonthYear= {'$(vCurMonthYear)'}>}1-([Total Number of Failing Records]/[Total Number of Records])))<=5"}
>}1-([Total Number of Failing Records]/[Total Number of Records])),MonthYear,Name))
Gysbert,
Thanks for your quick response.
Cheers!
Varun