Quantcast
Channel: SCN : Discussion List - SAP BusinessObjects Design Studio
Viewing all articles
Browse latest Browse all 4041

GetMembers function does not respect sorting

$
0
0

Hi,

 

I have a small script the selects 5 members and assign each of their texts to a text component. I have then made a sorting in the DS, in order to get the Top 5 based on a key figure.

 

My issue is that when I use the below code, I get the top 5 from the dimension sorted alphabetically, not as I sorted it in the DS.

     var arr_group=DS_TOP_5.getMembers("0COMP_CODE__ZCOMPCOTE",5);

 

I've tried googling and going searching here on SCN without finding the solution.

 

Can someone help out here?

 

/Kris


Viewing all articles
Browse latest Browse all 4041

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>