Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
Search prompt

Hi I am Using OBIEE 12.2.1.2.0
I hava a request to make a prompt where i can select one or more persons.
Thing is the list of valuies contains approx 3000 persons.
Is there a possibility to make a prompt like this, or something simmilar?
Kr, Matija
Answers
-
I've done this with a two page dashboard prompt. The first page is simply a variable prompt called varNameSearch.
The second page column prompt populates a series of check boxes using SQL and a regular expression to find employee names containing any comma separated values in 'varNameSearch'.
SELECT "People Profile"."Employee Name" FROM "People-Free" WHERE EVALUATE('REGEXP_INSTR(%1,%2)',UPPER("People Profile"."Employee Name"), UPPER(REPLACE('@{varNameSearch}{xxx}',',','|'))) > '0'
This REGEXP returns a count for the number of times it finds any of the values in varNameSearch in a record, so return records >0.
The UPPER function allows users to enter either upper or lower case values in the first prompt page.
The REPLACE function is replacing any commas in the first prompt with a single pipe "|", which the REGEXP uses as a value separator.
It looks like this:
Select "Apply", then "Next"
It brings up any names with casey or savoy in them:
Check the ones you want, hit Apply, to run your query.
0 -
Did you try this?
0 -
Hi i did something simmilar, but this was great template, thank you very much!
0