CREATESLICELIST
This function creates XML definition for a list of elements. This, or CREATESLICESLISTS, is the first step in manually creating an XML variable to define a slice.
Syntax
=CREATESLICELIST("hierarchy","MDX").
The function returns #{LIST}.
Example
=CREATESLICELIST("[period]","[period].[all years]")