How to pass dimension values from context to prompt
I would like to initialize prompt SELECTIONINPUT with values from context.
I have found in EPM documentation that I can do it using [default members] parameter:
SELECTINPUT Prompt() Command
select only noncalculated members (export, for example).
[variable], , [label], [dimensions], [default members])
Select one noncalculated data range
The name of the returned variable
The text to display to the user.
Select the desired data range
The dimensions from which to select members
Category, Time, Entity
The members that are selected by default
Enter 0 for "All"
Enter 1 to take into account the context member
I tried to use that, eg.
PROMPT(SELECTINPUT,%SOURCEENTITY%, , "Enter Source Entity","%ENTITY_DIM%",1)
but it always shows me ALL as default value...
Can somebody help me how to write it correctly?