Skip to main content

Example Tuple Expressions

Example Tuple Expressions

A tuple expression can refer to a member at any level in any hierarchy of a dimension. Consider the following dimension (from the Patients cube) which includes one hierarchy with four levels:

generated description: hierarchy example age

You can create tuples that use members of any of these levels. For example, you can use any of the following tuple expressions:

(aged.[all patients])
(aged.[0 to 29])
(aged.5)

For another example, let us create variations of the preceding expressions. In this case, let us include members of other dimensions in the tuple expressions:

(aged.[all patients],gend.male)
(aged.[0 to 29],diagd.asthma)
(aged.5,allerd.soy,colord.red)
FeedbackOpens in a new tab