Академический Документы
Профессиональный Документы
Культура Документы
4) IsLeaf: The IsLeaf function returns true if the specified member is a leaf
member. Otherwise, the function returns false.
Syntax:
IsLeaf(Member_Expression)
5) IsSibling: The IsSibling function returns true if the first specified member
is a sibling of the second specified member. Otherwise, the function
returns false.
Syntax:
IsSibling(Member_Expression1, Member_Expression2)
Syntax:
ClosingPeriod( [ Level_Expression [ ,Member_Expression ] ] )
3) Cousin: Returns the child member with the same relative position under a
parent member as the specified child member.
Syntax: Hierarchy_Expression.CurrentMember
Syntax: Member_Expression.DataMember
Syntax: Hierarchy_Expression.DefaultMember
Syntax:Member_Expression.FirstChild
Syntax: Member_Expression.FirstSibling
Syntax:Tuple_Expression.Item( Index )
10) Lag: Returns the member that is a specified number of positions before a
specified member at the member's level.
The numbering of the positions is zero-based.
If the specified lag is zero, the Lag function returns the specified member
itself.
If the specified lag is negative, the Lag function returns a subsequent
member.
Lag(1) is equivalent to the PrevMember function. Lag(-1) is equivalent to
the NextMember function.
The Lag function is similar to the Lead function, except that the Lead
function looks in the opposite direction to the Lag function. That is,
Lag(n) is equivalent to Lead(-n).
Syntax: Member_Expression.Lag(Index)
Syntax:Member_Expression.LastChild
12) LastSibling: Returns the last child of the parent of a specified member.
Syntax: Member_Expression.LastSibling
14) LinkMember: The LinkMember function returns the member from the
specified hierarchy that matches the key values at each level of the
specified member in a related hierarchy. Attributes at each level must have
the same key cardinality and data type. In unnatural hierarchies, if there is
more than one match for an attribute's key value, the result will be an error
or indeterminate.
Sybtax:
LinkMember(Member_Expression, Hierarchy_Expression)
Syntax:
OpeningPeriod( [ Level_Expression [ , Member_Expression ] ] )
Syntax:
ParallelPeriod( [ Level_Expression [ ,Index [ , Member_Expression ] ] ] )
17) Parent: The Parent function returns the parent member of the specified
member.
Syntax: Member_Expression.Parent
18) PrevMember: Returns the previous member in the level that contains a
specified member.
Syntax: Member_Expression.PrevMember
Syntax:
Member_Expression.UnknownMember
Hierarchy_Expression.UnknownMember
21) ValidMeasure:
Syntax: ValidMeasure(Tuple_Expression)
2) Avg: The Avg function calculates the average of the nonempty values of
cells in the specified set by first calculating the sum of values across cells
in the specified set, and then dividing the calculated sum by the count of
nonempty cells in the specified set.
3) CalculationCurremtPass
4) CalculationPassValue
5) CoalesceEmpty: Converts an empty cell value to a specified nonempty cell
value, which can be either a number or string.
Syntax:
CoalesceEmpty( Numeric_Expression1 [
,Numeric_Expression2,...n] )
CoalesceEmpty(String_Expression1 [
,String_Expression2,...n] )
6) Correlation
7) Count (dimension): Returns the number of dimensions in a cube.
Syntax: Dimensions.Count
Syntax: Tuple_Expression.Count
Syntax: syntaxSet_Expression.Count
Count(Set_Expression [ , ( EXCLUDEEMPTY | INCLUDEEMPTY ) ] )
11) Covariance
12) CovarianceN
Syntax:
IIf(Logical_Expression, Expression1, Expression2)
15) LinRegIntercept
16) LinRegPoint
17) LinRegR2
18) LinRegSlope
19) LinRegVarience
Syntax:
LookupCube(Cube_Name, Numeric_Expression )
LookupCube(Cube_Name, String_Expression )
21) Max: Returns the maximum value of a numeric expression that is
evaluated over a set.
22) Median:
23) Min: Returns the minimum value of a numeric expression that is evaluated
over a set.
24) Ordinal: Returns the zero-based ordinal value associated with a level.
The Ordinal function is frequently used in conjunction with the IIF and
CurrentMember functions to conditionally display different values at
different hierarchy levels, based on the ordinal position of each specific
cell in the query result. For example, you can use the Ordinal function to
perform calculations at certain levels and display a default value of "N/A"
at other levels.
25) Predict
26) Rank
27) RollupChildren
28) Stddev
29) StddevP
30) Stdev
31) StdevP
32) StrToValue
33) Sum
34) Value
35) Var
36) Varience
37) VarienceP
38) VarP
5) LookupCube
6) MemberToStr
7) Name
8) Properties
9) SetToStr
10) TupleToStr
11) UniqueName
12) UserName
9. Subcube Functions (2)
1) This
2) Leaves