Quantcast
Viewing all articles
Browse latest Browse all 9069

Re: Copying Sibling values based in a property

Hi Vadim,

 

Here is the idea of the code

*SELECT (%MKT%, [PROP2], PRODUCT, PROP2 <> "")

 

*FOR %OTH%=%MKT%

 

//Scope has to be repeated in the loop - ENDALLOCATION resets the scope

*XDIM_MEMBERSET DATASRC = USER_INPUT

*XDIM_MEMBERSET ACCOUNT= MARKET_SIZE

 

*RUNALLOCATION

*FACTOR=1

*DIM PRODUCT WHAT=[PROP1] = S AND [PROP2] =%OTH%; WHERE=[PROP1] = T AND [PROP2] =%OTH%

*ENDALLOCATION

 

*NEXT

 

Maybe there is a need for one more *SELECT to make values in %MKT% unique.

 

Regards,

Gersh


Viewing all articles
Browse latest Browse all 9069

Trending Articles



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