Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

OBIEE - grouping columns

Received Response
41
Views
5
Comments
Rank 4 - Community Specialist

Hello all,

I have a drop down list to filter a pivot table based on types of products. I was able to group 2 values together (electronics & cellphones) and named it "XYZ", but when checking my drop down list, it adds "XYZ" and still has the 2 values I grouped together. Is there a way to remove the 2 values so that it just shows "XYZ"?

Thank you all.

Welcome!

It looks like you're new here. Sign in or register to get started.

Answers

  • Rank 7 - Analytics Coach

    Can you show us what you did (screenshots) and your problem ? Also please add your OBIEE version.

  • Did you try a calculated item instead of group?

    The calculated item has an option to hide the calculated item members, so you don't have things in double.

    In the example of the screenshot "Audio&Camera" will be added to the list of items in the "Product Type" column and because I checked the checkbox to remove items "Audio" and "Camera" will be removed.

    Capture.PNG

  • Rank 5 - Community Champion

    Hi,

    I think you can write a case statement in the column formula itself like

    CASE WHEN PRODUCTS IN ('electronics','cellphones') THEN 'XYZ'

    ELSE PRODUCTS

    END

    Hope this helps..

    Regards,

    Yaswanth

  • Rank 4 - Community Specialist

    Gianni, thank you for your helpful answer. This is exactly what I was looking for! One last thing - I have a master child detail detail so that when you click "XYZ" it will show the users buying that product, it doesn't seem to be working and I'm assuming it is due to the newly calculated item, is there a way around this so that the master child detail works properly?

    Much appreciated for your help!

  • Well, it just works on the calculated item, of course you must have the same calculated item on the "detail" analysis.

    As I have a little doubt I put together a quick example: click on the calculated item of "master" automatically switch to the same calculated item in the detail.

    Capture.PNG

Welcome!

It looks like you're new here. Sign in or register to get started.