cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Analytics Designer - Sorting of Charts

Alexander_Blasl
Participant

Hello,

it was said that Sorting and Ranking API comes maybe in late 2021 but unfortunately it is not out yet.

I am switching Measure with Dropdowns and Radio Button Groups. Everytime when I change the Measures the Charts are not sorted anymore. Only the first Measure which was set is sorted but all others are not. Is there any possibility that I can sort them?

BR

Alex

Accepted Solutions (0)

Answers (1)

Answers (1)

roy_jin
Participant

Hi Alex,

For the chart object, there're two methods: sortByMember & sortByValue.

Maybe you can try to call these two methods in the event script of your dropdown and radio button.

Please check it.

best regards,

Roy

Alexander_Blasl
Participant
0 Kudos

Hi roy.jin,thanks for your answer.

I don't have these two methods...

I use a BW-Live-Connection with:
System Name
AE15

Version2021.20.21
roy_jin
Participant
0 Kudos

Hi Alex,

The version I use is 2022.2.

Let me check with my colleague if these methods are delivered in the latest versions or this is a limitation for BW live connection.

Will get back to you once I got the feedback.

best regards,

Roy

roy_jin
Participant

Hi Alex,

Just checked with my colleague and the sort methods are only supported in optimized mode, which is NOT officially released yet.

You may follow the SAC roadmap explorer to check the planned release date.

As a workaround, you can create several charts and set the sorting separately, and using script to set the visibility of these charts when using dropdown and radio button.

Please check it.

Best regards, Roy

Alexander_Blasl
Participant
0 Kudos

Hi roy.jin,

thanks a lot. I have to apply sorts on over 100 charts in 3 different Applications. There is no chance that I will create every chart twice 😞

I have to wait for the Sort API to come out...

BR

Alex