Hi experts,
I need to write a piece of logic to aggregate dimension members based on a property.
For example:
I have the Dimensions ACCOUNT and SEGMENT.
The account member is fix (e.g. ABC1000).
The SEGMENT dimension contains the following members and properties:
ID SEGMENT_GROUP
AU1000 GROUP1
BE2000 GROUP2
CE3000 GROUP1
DE4000 GROUP2
The property SEGMENT_GROUP should be dynamic. That means that the user can create Groups by their own (e.g. GROUP_XYZ).
Now I need a script which calculate the following values:
(ACCOUNT ABC1000, SEGMENT AU1000) / (ACCOUNT ABC1000, SEGMENT: all Segements with SEGEMENT_GROUP = GROUP1)
(ACCOUNT ABC1000, SEGMENT BE1000) / (ACCOUNT ABC1000, SEGMENT: all Segements with SEGEMENT_GROUP = GROUP2)
(ACCOUNT ABC1000, SEGMENT CE1000) / (ACCOUNT ABC1000, SEGMENT: all Segements with SEGEMENT_GROUP = GROUP1)
(ACCOUNT ABC1000, SEGMENT DE1000) / (ACCOUNT ABC1000, SEGMENT: all Segements with SEGEMENT_GROUP = GROUP2)
It is not an option to write a static script logic statement. The logic should be dynamic.
Do you have any ideas?
Kind Regards and thank you
Tobias