class %DeepSee.Model.calculatedMember
extends %DeepSee.Model.node
Meta-data object that represents a calculated member within a DeepSee cube.
At query processing time, references to a calculated member are replaced with the
valueExpression that defines the member.
relationship cube
as %DeepSee.Model.cube(XMLPROJECTION="none") [ Inverse = calculatedMembers,Cardinality = one ];
Cube that this calculated member belongs to.
property dimension
as %DeepSee.Datatype.entityName(XMLPROJECTION="attribute");
Name of the dimension this calculated member belongs to.
This does not have to be an existing dimension.
property formatString
as %DeepSee.Datatype.string(MAXLEN=100,XMLPROJECTION="attribute");
Optional format string to apply to this member.
property hidden
as %Boolean(XMLPROJECTION="attribute") [ InitialExpression = 0 ];
If true, this calculatedMember is hidden. That is, it will not be listed among the
cube's members within the various DeepSee utilities.
It can still be used within MDX queries and expressions.
property listingFilter
as %DeepSee.Datatype.string(XMLPROJECTION="attribute");
property units
as %DeepSee.Datatype.string(XMLPROJECTION="attribute");
Optional. Units applied to this member (if it is a measure).
This is not currently used.
property valueExpression
as %DeepSee.Datatype.string(MAXLEN=32000,XMLPROJECTION="attribute");
MDX expression that defines the value of this calculated member.
method %AtScaleExport(pStatus As %Status = $$$OK, ByRef pAuxiliaryIndex As %DynamicAbstractObject = $$$NULLOREF)
as %DynamicAbstractObject
Produce the structures needed to emit the appropriate JSON and export this item to AtScale
method %Validate()
as %Status
Test if this member's definition is valid.