Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Rambo
Contributor II
Contributor II

Aggr Sorting RowNo(Total)

Hi Community,

I'm trying to sort an AGGR expression without success. Please see if you can help me out.

Would highly appreciate any alternate solutions too please (not from script please as I have some dynamic frontend calculations)!

Aggr(nodistinct RowNo(TOTAL),Name,(Id,(NUMERIC,ASCENDING)))

Rambo_1-1615830060274.png

 

 

Regards,

Rambo

1 Solution

Accepted Solutions
brijesh1991
Partner - Specialist
Partner - Specialist

Instead of RowNo, go with rank function please.

num(rank(max("KPI Value"),4))

View solution in original post

4 Replies
QFabian
Specialist III
Specialist III

Hi @Rambo , did you try using the chart order ?

QFabian_0-1615830899113.png

 

QFabian
brijesh1991
Partner - Specialist
Partner - Specialist

Instead of RowNo, go with rank function please.

num(rank(max("KPI Value"),4))
Rambo
Contributor II
Contributor II
Author

Thank you; this works! Appreciated.

Rambo
Contributor II
Contributor II
Author

Not working as expected as this will change my dimension order which I do not want.