Quantcast
Viewing all articles
Browse latest Browse all 1545

BPC 10: Destination_model - using attribute to fill destination dimension.

Hi,

 

I'm struggling with a simple script, that should move data from one Model to Another.  (no filters for this example)

 

The source model doesn't have "profitcenter" as a separate dimension, but it's a attribute on the costcenter dimension (profitcenter_attr).

 

The target model (Cost) has profitcenter as a separate dimension.

 

 

I can't get the syntax correct. I've tried both "rename_dim" and "Add_dim", but syntax fails.

 

Any ideas ?

 

*DESTINATION_MODEL = COST

*SKIP_DIM = Employee

 

//*RENAME_DIM   PROFITCENTER =  CostCenter.PROFITCENTER_ATTR

//*RENAME_DIM   PROFITCENTER =  PROFITCENTER_ATTR

//*ADD_DIM PROFITCENTER = CostCenter.ProfitCenter_ATTR

 

 

*WHEN *

*IS *

   *REC(EXPRESSION=%VALUE%, PROFITCENTER = CostCenter.ProfitCenter_ATTR)

*ENDWHEN

*COMMIT

 

Thank you,

Joergen


Viewing all articles
Browse latest Browse all 1545

Trending Articles