on 04-22-2019 4:21 PM
Hi Team
We are using BI 4.1 SP 7. We have a requirement to implement @Prompt function in Freehand SQL. We are using date objects for this. But unfortunately, we are getting the error like Invalid Prompt definition.
We are using the correct syntax for @Prompt function.
custom sql query starting "
with dateref as ( select @ prompt ...............................
Need quick help in this regard.
siva
the @prompt syntax consists of the following parts separated by comas,
prompt within single brackets (message to the user)
data type (A (alpha), N (numeric), or D (date))
Mono or Multi (equivalent to saying whether the comparison is based on equals (=) or in a list (in))
Free or Constrained (free allows the user to type free-hand or pick from a list, constrained makes the user pick from a list only)
User:0 (or User:1, etc, sort order if there is more that one prompt)
example:
@prompt('Enter Date:','D',mono,Free,,User:0)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Read this KBA, it will help
2782399 - How to pass prompts in a custom query script in webi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.