Creation of New Members at Runtime
Analytic Calculation Engine can create new dimension members during runtime by using:
-
Data from the main record.
-
Application data that is added at runtime.
Relationship of Leaf Ranges to New Members
If you map a dimension to a tree that includes leaf ranges, Analytic Calculation Engine adds a new dimension member to the appropriate parent in the hierarchy when the application adds a new leaf that falls within a leaf range of the tree. Use the AddMember method to add new members to the dimension.
Note:
Analytic Calculation Engine ignores any new leaves that do not fall within the values of a leaf range.
For example, suppose a tree contains a node called 2003Q1 that includes a leaf range of 2003-01-01 to 2003-03-31. During runtime, Analytic Calculation Engine reads the main record data and recognizes that the application has added 20030204 as a new leaf that exists within the 2003Q1 leaf range. Analytic Calculation Engine creates the 20030204 member and adds it as a child to the 2003Q1 member.