cancel
Showing results for 
Search instead for 
Did you mean: 

How to use the ".rankBy()" and ".sortByValue" in the analytics designer

sanpe
Explorer
0 Kudos
2,964

Dear experts,

can someone please explain me how to use the two functionalities ".rankBy()" and ".sortByValue" on a chart/table?

I'm trying to figure it out, but somehow it doesn't want to work on my chart (live HANA connection).

Chart_1.sortByValue("MyMeasureID",SortOrder.Descending);

Chart_1.rankBy("NotSureWhatToPutHere");

I guess these are quite new functionalities and it seems they are not yet included in the new edition of the Developer handbook.

Thanks.

BR

Peter

View Entire Topic
avsalynin
Active Contributor

sanpe

based on what's noted here this will only work in optimized mode:

but for analytical applications this mode is not yet available (there is only for stories), so we expect it in the next releases of this year

p.s. added Api outstripped optimization mode:)

sanpe
Explorer

Hi Aleksey,

yep, I was searching for the optimized format option in the settings and indeed couldn't find it.

In any case it's interesting, that these are are already available in the menu, but not yet functional...