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