Skip to Content
author's profile photo Former Member
Former Member

Grouped list of value

Hello everyone,

I'm trying to make a list of grouped values from a Oracle table, ex

Table: "product_mobiles"

Values are:

  • iphone 4
  • iphone 5
  • sensation
  • iphone 6
  • galaxy 4
  • galaxy 5
  • iwatch
  • ipod
  • desire
  • one
  • Galaxy Tab

Prompt list in webi must look like this (Multi: user can choose one o more in the list)

  • Apple phones
  • Samsung phones
  • HTC

In apple phone must include iphone 4,iphone 5, iphone6

in samsung must include galaxy 4,galaxy 5

HTC list must include sensation, desire, one

it is possible to making this kind of object?

Thanks a lot

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 16, 2015 at 05:59 PM

    Hi James,

    Just updated this post, I read the requirement wrong earlier. (12/16/2015 1:26 pm EST)

    In the Universe, create an object called Product Group with the below formula and in the Report, create a Prompt on that object using the Inlist operator.

    Case

    When product_mobiles in ('iPhone 4','iPhone 5','iPhone 6') Then 'Apple Phones'

    When product_mobiles in ('Galaxy 4','Galaxy 5') Then 'Samsung Phones'

    When product_mobiles in ('Sensation','Desire','One') Then 'HTC'

    When product_mobiles in ('iPod','iWatch') Then 'Other Apple Products'

    When product_mobiles in ('Galaxy Tab') Then 'Other Samsung Products'

    Else 'Others'

    End

    Hope that helps.


    Thanks,

    Mahboob Mohammed

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.