cancel
Showing results for 
Search instead for 
Did you mean: 

@prompt variable not using associated dimension's Index awareness

first_last
Participant
0 Kudos

I have a dimension, Lists\Surgeon Group, that defines the Select (GROUP.NAME) and the Primary Key awareness (GROUP.ID). Both values are Characters. I've also defined a list-of-values for the dimension that displays the values from the GROUP.NAME.

I reference this dimension in a prompt:

@Prompt( 'Select one or more Surgeon Groups(s)', 'A', 'Lists\Surgeon Group', multi, Constrained)

Unfortunately, the prompt is returning the GROUP.NAME value, rather than the GROUP.ID.

Are key values supported in @prompt variables? If so, what am I missing?

Accepted Solutions (1)

Accepted Solutions (1)

first_last
Participant
0 Kudos

I needed to use the primary_key keyword:

@Prompt('Select one or more Surgeon Groups(s)','A','Lists\Surgeon Group', multi, primary_key)

Answers (0)