Skip to main content
Announcements
Join us on Feb.12 to Discover what’s possible with embedded analytics: REGISTER TODAY
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

5 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.

tolgaclk
Contributor II
Contributor II

Hello,
How do I formulate the order I specified in the table below?


COD ID ORDER
234234 ENGİN 1
23423 ENGİN 2
4235 MESUT  1
123412 CENGİZ 1
1423 SEDAT 1
436 SEDAT 2
67 SEDAT 3
56856 NURETTİN 1
78 HASAN 1
4563423 SEBAHATTİN 1
235 IŞIK GIDA 1
6546 ABDULKADİR 1
578 ABDULKADİR 2
578567434 ABDULKADİR 3
34564 ABDULKADİR 4
56879685 ABDULKADİR 5
3546352 ENGİN 3
567476 ENGİN 4
967857 ENGİN 5
568567 NURETTİN 2