cancel
Showing results for 
Search instead for 
Did you mean: 

Prompt for Matches Pattern in Olap Universe

Former Member
0 Kudos

I have to create a prompt for selecting all cost element that start with (a) certain character(s). What's the correct syntax definition ?

<OPTIONAL><CONDITION OPERATORCONDITION="Matches Pattern"><CONSTANT TECH_NAME="@Prompt('Cost Element (%)','A',,mono,constrained)"/></CONDITION></OPTIONAL>

This code generates an error UNV0023.

I'm using BO XI 3.1 SP2

Thanks in advance for your help

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks, Didier.

It worked with @Select(Class\Object) instead of @Select(Class/Object) and free instead of constrained.

Former Member
0 Kudos

Hi,

If you want to filter an object definition (not a calculated measure) the filter syntax is:

<OPTIONAL><FILTER KEY="@Select(Class/Object)"><CONDITION OPERATORCONDITION="Like"><CONSTANT CAPTION="@Prompt('Cost Element (%)','A',,mono,constrained)"></CONSTANT></CONDITION></FILTER></OPTIONAL>

Didier