Home > Class Reference > %SYS namespace > %DeepSee.ComputedDimension.MDX


class %DeepSee.ComputedDimension.MDX extends %DeepSee.ComputedDimension.Base

This class implements a computed dimension that uses MDX expressions to resolve members.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 3


%baseCube %cube %dimNumber %factName %factNumber
%hierNumber %levelNumber
%AddToSaveSet %ClassIsLatestVersion %ClassName
%ComputeBitset %ComputeIndexKey %ConstructClone
%Count %Create %CreateIndexFromSQL
%CreateIndexFromSearchableMeasure %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Eval
%Extends %GetAllMembers %GetBehavior
%GetComputedMembers %GetDimType %GetFactTable
%GetLevelNumber %GetParameter %GetPredefinedMembers
%GetSourceTable %IsA %IsModified
%MemberSearch %MemberSearchByIndex %MemberSearchByMembers
%New %NormalizeObject %ObjectModified
%OnComputeBitset %OnGetComputedMembers %OnGetComputedMembersFiltered
%OnKillFacts %OriginalNamespace %PackageName
%ProcessSQL %RemoveFromSaveSet %ResolveKey
%SerializeObject %SetModified %ValidateObject


parameter BEHAVIOR = "MDX";
Controls the run-time behavior of the dimension. Available values are "BITSET", and "MDX".
BITSET (default) indicates that this class will compute a set of bits that define membership within a given dimension member.
MDX indicates that this class will return a set of valid MDX expressions that will be used to resolve the members of the dimension.
parameter DIMTYPE = "mdx";
Type reported back to the UI. This determines what type of control to display for filters based on this class.


method %MemberSearch(pSearchKey As %String, Output pList As %List) as %Status
Execute a search for members.
Return a list of the form:
pList(n) = $LB(value,key)
method %OnGetComputedMembersFiltered(ByRef pMemberList, pRollupKey As %String = "", ByRef pRange As %String = "") as %Status
Find the set of members for this computed dimension object satisfying pRollupKey and pRange (if applicable for this implementation).
pMemberList($I(pMemberList)) = $LB(id (expression),name,key,[format])
method %ResolveKey(pSpec As %String, Output pRKey As %String) as %Status
Resolve any special tokens or expression in a key value and return the result.