Dear Experts,
I write to you to ask if you can share your knowledge regarding how to solve a little problem in Script Logic. Let me state the case..
I have a model where two dimensions should be "linked" (COSTCENTER ENTITY). The relationship of each is somewhat as follows:
COSTCENTER n -- 1 ENTITY
Each COSTCENTER has a property (ENT) which states what ENTITY it is part of.
I have a situation where I need to allocate a set of COSTCENTER of a single SEGMENT into different COSTCENTERs and ENTITYs. Is there a way to obtain dinamicaly the ENTITY from a COSTCENTER when I write back into a REC statement? I had the following idea but it is not working...
*FOR %CC% = %COSTCENTERS%
*REC(FACTOR = SomeDriver, COSTCENTER = %CC%, SEGMENT = [COSTCENTER].[%CC%].Property("ENT"))
*NEXT
Is there a way to achieve this?
Thank you all for your time and help!
Best regards,
Joaquin.