Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OBIEE need 3 pivot table columns created from 1 column formula

Tom DMar 6 2023 — edited Mar 7 2023

Using Oracle BI Enterprise Edition 12.2.1.4

I have a prompt that is a checklist with 3 items: A, B, and C. You can choose 1 item, 2 items, or all 3 items.

I have a presentation variable called PVItem which holds my choice(s).

In my analysis, i have a column formula which will need to create 1, 2 or 3 columns as needed, based on the items checked.

case when ‘@{PVItem}’ like ‘A%’ then ‘Column A’ /* create a column with title Column A */

…. and then need to finish the case statement for B and C, keeping in mind i'll need another column for each if it was checked.

shouldn't be too difficult but having a hard time getting beyond 2 new columms….

Comments
Post Details
Added on Mar 6 2023
1 comment
331 views