The EvSET (Set expression) function works with the EvENE and EvLST functions. On its own it has no impact on the behavior of a report, but in EvENE or EvLST functions, it creates a set expression. That set expression is used in the SetExpression parameter of the EvENE or EvLST function.
Syntax
EvSET(AppName,Member,IncludeFlag,LevelDown,ParentBefore,Filter)
Parameter |
Description |
---|---|
AppName |
The current application name. |
Member |
The dimension member on which you would like to base the expansion. |
IncludeFlag |
(Optional) The members to include in the expansion. You can use the following options:
You can also use any of the following MDX functions:
|
LevelDown |
(Optional) Used with MDX flags to specify how many levels within a hierarchy to display. |
ParentBefore |
(Optional) TRUE puts parent before children. FALSE puts parent after children. |
Filter |
(Optional) Uses conditional MDX statements to base expansion on member properties, and to specify fixed dimension members. The Filter property is used with the IncludeFlag property. The value in the IncludeFlag is filtered based on the value, or condition, of the Filter property. |
Example
The following formula returns WorldWide1 and all descendents whose Currency property value is USD. This EvSET formula is used in an EvENE function, as shown in the example below.
=EVSET(B1,B2,"SELF_AND_BEFORE",99,TRUE,EVPXR("Entity","SalesUS","Currency" ) & "=""USD""")