icCube

SetProperty (MDX+)

Sets the property for a measure

Parameters

Name Type Cardinality Default value
  measure  one   
  string  one   
  numeric-expression  one   

Return

member

Description


Sets the property for a measure defined by the second parameter using the third parameter:


[Measure].[Amount].setProperty("fx",true) // set the 'fx' property to true for the [Amount] measure


The setProperty function returns the measure member so it can be chained.

This function is mainly used in a script definition using the 'ic3run expr' statement:


ic3run expr [Measures].[Amount].setProperty("fx",true);


note that the 'ic3run expr' statement must finish by a semi-colon character (;).

See Also

GetProperty

Examples

Since Version

6.8.3

XMLA Properties

Find here the value of the XMLA properties when not specified otherwise.