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

Re: Allocation logic

$
0
0

Hi Karsten,

 

But why do you think this script will work?

 

%Q% will be 2014.Q1,2014Q2,...

 

*XDIM_MEMBERSET QUARTAL =%Q% //will have no effect - this dimension is redefined in allocation *DIM

 

Then you incorrectly use the same variable %Q% as a FOR/NEXT loop variable. You have to use variable with different name!

 

%QSET%  will contain 2014.01,2014.02...2014.52

 

in the loop you will allocate (from your code)

 

*DIM QUARTAL WHAT=2014.01; WHERE=2014.01,2014.02...2014.52

...

*DIM QUARTAL WHAT=2014.52; WHERE=2014.01,2014.02...2014.52

 

For sure it's not what you want!

 

Think about my code with 13 properties! It will perfectly work in default.lgf.

 

Vadim


Viewing all articles
Browse latest Browse all 9052

Trending Articles



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