Hi all,
I have a dropdown box which gets values from datasouce in the following way:
DROPDOWN_YR.setItems(DS_1.getMemberList("0CALYEAR", MemberPresentation.EXTERNAL_KEY, MemberDisplay.TEXT, 5));
The result I get is: 2010, 2011, 2012, 2013, 2014.
I want to display only last 3 years: meaning: 2012, 2013, 2014.
Is there a way to sort the result in a descending order and filter only last 3 years?
Or - is there another way to achieve this goal?
Thanks,
Hagit