Cards, Dashboards, Stories

Cards, Dashboards, Stories

How can I have an 'OR' condition on Quick Filters?

I have a two quick filters on two separate fields. I would like to be able to select the filters with the option of OR ing the two rather than AND ing. Currently I have set up a calculated field concatenating both fields and then provide the quick filter on the calc field with the contains option. Would love to have the end user the option.

Tagged:

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In

Best Answers

  • edited September 2023 Answer ✓

    This is currently not an option in Domo. I would suggest submitting this idea to the https://community-forums.domo.com/main/categories/ideas

    If it were me I would do what you've mentioned and create custom "OR" conditions in a beastmode and present those options as a quick filter.

    If I solved your problem, please select "yes" above

  • Coach
    Answer ✓

    @dmurgit1 Depending on your use case, you may be able to use two variable controls and a beast mode filter to accomplish this. You would have to set the values of each variable for all possible values of the corresponding field, so this would only be feasible if your fields have a fairly small and static list of values. This is what the beast mode filter would look like in this scenario:

    1. case
    2. when `Field1` = `Var1` then 'Include'
    3. when `Field2` = `Var2` then 'Include'
    4. else 'Exclude'
    5. end

Answers

  • edited September 2023 Answer ✓

    This is currently not an option in Domo. I would suggest submitting this idea to the https://community-forums.domo.com/main/categories/ideas

    If it were me I would do what you've mentioned and create custom "OR" conditions in a beastmode and present those options as a quick filter.

    If I solved your problem, please select "yes" above

  • Coach
    Answer ✓

    @dmurgit1 Depending on your use case, you may be able to use two variable controls and a beast mode filter to accomplish this. You would have to set the values of each variable for all possible values of the corresponding field, so this would only be feasible if your fields have a fairly small and static list of values. This is what the beast mode filter would look like in this scenario:

    1. case
    2. when `Field1` = `Var1` then 'Include'
    3. when `Field2` = `Var2` then 'Include'
    4. else 'Exclude'
    5. end
  • Contributor

    Thank you. Our use case is a dynamic list of values. Too big to put in a use case.

Welcome!

It looks like you're new here. Members get access to exclusive content, events, rewards, and more. Sign in or register to get started.
Sign In