Hi all,
I have a strange requirement, which I'm not sure how to implement in OBIEE.
In my table I have a column with a list of items in a string, something like:
| id | list_of_items |
|---|
| 1 | item1:item2:item4:item7 |
| 2 | item1 |
| 3 | item4:item8 |
| 4 | item1:item7 |
| 5 | item2:item4 |
I have created a Dashboard prompt listing available items ( let's say a list like item1, item2, item3, item4, ..., item 10 ) and created a presentation variable (param_ms) for this.
My Analysis should only show this rows that contains all selected values in my prompt.
| selected values in prompt | Show row with id |
|---|
| item1 | 1, 2, 4 |
| item1, item7 | 1, 4 |
| item1, item8 | - |
| item2, item4 | 1, 5 |
| item4, item8 | 3 |
In PL/SQL I would compare this as nested table with 'multisubset of' condition.I tried to call a PL/SQL function in a column formula using evaluate, but how can add my presentation variable.
I tried: EVALUATE('my_function(%1, %2)', "my_table"."list_of_values", @{param_MS}). But that's not working, because every selected value in my variable is handled as single value for a placeholder.
Has anybody an idea how to check this?
Best Regards
chris