Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8357

Re: What's wrong with this script logic for time offset?

$
0
0

Hi Bob,

 

You can meet your requirement by tweaking the above script logic with the use of a For/Next loop, in combination with the TMVL parameter, similar to the code shown below:

 

*XDIM_MEMBERSET ACCOUNT=NET_SALES

*XDIM_MEMBERSET CATEGORY=ACTUAL

*XDIM_MEMBERSET ENTITY=1000

//*XDIM_MEMBERSET=BAS(2014.Q1)

 

*FOR %MONTH% = 2014.01, 2014.02, 2014.03

 

*WHEN TIME

*IS %MONTH%

*REC(FACTOR=1,CATEGORY="PLAN",TIME=TMVL(12,%MONTH%))

*ENDWHEN

*COMMIT

 

*NEXT

 

 

Hope this helps!

 

 

Best regards,

Vijay


Viewing all articles
Browse latest Browse all 8357

Trending Articles



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