@ISATTRIBUTE

Returns TRUE if the current member under calculation matches the attribute or varying attribute name specified in attmbrName.

Syntax

@ISATTRIBUTE (attMbrName)
ParameterDescription

attMbrName

Single attribute member name or member combination.

Notes

Example

Consider the following calculation script, based on the Sample Basic database:

/* To increase the marketing budget for markets with large populations */
Marketing ( 
  IF (@ISATTRIBUTE(Large)) 
    Marketing = Marketing * 1.1; 
  ENDIF 
);

See Also