Forum Discussion

Madesh's avatar
Madesh
New Contributor III
3 years ago

Combobox Multiple select option.

Is it possible to have multi select option in Combo box ( Dashboard component)?

 

Thanks & Regards,

Madesh K

  • Hi Madesh

    At the moment, there is not multi select option for combo boxes.

    There is a multiselect option for combo boxes in the format settings. Sergey is right and I'm wrong.

    As a work around, we are using grid objects or tree objects.

    You can embed them in the main dashboard or use them with a dialog (dashboard). The dialog can be launched with a button and pass back a parameter. Both solutions will return a comma separated list of member names.

    The grid object can do it very straight forward, because of the multi select feature mentioned by Sergey. For the tree view, you need to code a business rule that implements an multi select data adapter.

    I hope this helps and regards

    Christian

     

     

     

  • Sorry for offering a complicated (and wrong) answer to this question. The solution is much simpler, there is a multi select option for combo boxes in the format settings (list box has it as well):

    IsMultiSelect=True

    Cheers

  • ChristianW's avatar
    ChristianW
    Valued Contributor

    Sorry for offering a complicated (and wrong) answer to this question. The solution is much simpler, there is a multi select option for combo boxes in the format settings (list box has it as well):

    IsMultiSelect=True

    Cheers

    • Hamza's avatar
      Hamza
      New Contributor II

      Hi Christian,

      Thank you for the solution above.

      How would you connect the parameter in a Cube View, when the Multi-Select combo box is being used?

      Context: I am looking to implement a multi-select combo box dropdown to select multiple entities and get an aggregated value in the Cube view.

      Thank you in advance.

      • ChristianW's avatar
        ChristianW
        Valued Contributor

        Hi Hamza, E#root.list(|!parameter!|) should do the job. Cheers

  • Sergey's avatar
    Sergey
    Contributor III

    Hi Madesh,

    In the Display Format parameters, there is a "is multiselect" option that you might use in case you need to activate multi select in combo box :

    Regards,

    • ChristianW's avatar
      ChristianW
      Valued Contributor

      Sorry, you are of cause right with your posting.

  • ChristianW's avatar
    ChristianW
    Valued Contributor

    Hi Madesh

    At the moment, there is not multi select option for combo boxes.

    There is a multiselect option for combo boxes in the format settings. Sergey is right and I'm wrong.

    As a work around, we are using grid objects or tree objects.

    You can embed them in the main dashboard or use them with a dialog (dashboard). The dialog can be launched with a button and pass back a parameter. Both solutions will return a comma separated list of member names.

    The grid object can do it very straight forward, because of the multi select feature mentioned by Sergey. For the tree view, you need to code a business rule that implements an multi select data adapter.

    I hope this helps and regards

    Christian

     

     

     

    • Madesh's avatar
      Madesh
      New Contributor III

      Thanks Christian, Will implement it.

    • calvincoffeen's avatar
      calvincoffeen
      New Contributor II

      Hi Christian, that second screenshot of yours is a really cool solution I'm trying to replicate. I need to present the user the members of a dimension as a hierarchy. They'll pick multiple members from the hierarchy which will return as a comma separated list. I could use a list box with multi-select, but that doesn't show a hierarchy. I see your solution exactly matches what I'm looking for. Would you mind if I asked you for some direction on how you wrote that BR that allows multi select on, what is that, a tree view? Thanks so much

    • Ashok's avatar
      Ashok
      New Contributor III

      Hi Christian,

      I am looking for sample code to build the custom tree view  (not same as what is in the original hierarchy) of members in any dimension to present in a dashboard for use to select a member. similar to what you have in your screenshot. would you be albe to share some steps on how you achieved it?

  • apmorgan91's avatar
    apmorgan91
    New Contributor

    Is there a way to add a select All option, one that will mark all items when active and deselect all items when deactivated? 

    • ChristianW's avatar
      ChristianW
      Valued Contributor

      The drop down box takes the last parameter value(s) as starting point. You can delete the parameter or set it with all values, using a button.