Skip to Content
0
Oct 28, 2012 at 10:08 PM

get number of time members selected in Data Manager package

22 Views

Hello Experts,Vadim,

Is there any way to get number of time members selected by user. This is for average calculation . I could get the Sum of the time members selected by users with *ADD command . I have tried some javascript functions as specified in the link http://scn.sap.com/docs/DOC-32411 . I tried %TIME_SET%.split(",").length

But didnt help.

AVG function is also not working as i get the time input as comma separated list (2012.02,2012.03) . And AVG function expects a set AVG({[TIME].[2012.02],[TIME].[2012.03]}) . I am having difficulty converting comma separated list to a set . i tried with replace (javascript) function . But didnt work.

Please suggest any solution.