%DeepSee.Model.calculatedMember
Class %DeepSee.Model.calculatedMember Extends %DeepSee.Model.node [ System = 3 ]
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.
Properties
cube
Relationship cube As %DeepSee.Model.cube(XMLPROJECTION = "none") [ Cardinality = one, Inverse = calculatedMembers ];
Cube that this calculated member belongs to.
dimension
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.
valueExpression
Property valueExpression As %DeepSee.Datatype.string(MAXLEN = 32000, XMLPROJECTION = "attribute");
MDX expression that defines the value of this calculated member.
formatString
Property formatString As %DeepSee.Datatype.string(MAXLEN = 100, XMLPROJECTION = "attribute");
Optional format string to apply to this member.
units
Property units As %DeepSee.Datatype.string(XMLPROJECTION = "attribute");
Optional. Units applied to this member (if it is a measure).
This is not currently used.
hidden
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.
listingFilter
Property listingFilter As %DeepSee.Datatype.string(XMLPROJECTION = "attribute");
Methods
%Validate
Method %Validate() As %Status
Test if this member's definition is valid.
%AtScaleExport
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