on 01-10-2022 3:45 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
76 | |
9 | |
7 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.