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

Re: LOOP ON TIME DIMENSION

$
0
0

Hi Natasha,

 

If you want to generate the list of months automatically, you have to use *SELECT statement before *FOR/*NEXT loop (*SELECT can't be used inside loop!):

 

*SELECT(%TT%,"[ID]",TIME,"[PERIOD]=MAY,JUN,JUL,AUG,SEP,OCT,NOV,DEC,JAN,FEB,MAR")

*FOR %T%=%TT%

...

 

or other selection criteria depending on the structure of your TIME dimension.

 

B.R. Vadim


Viewing all articles
Browse latest Browse all 8695

Trending Articles