Filter on cells with multiple values
Hi,
I am creating a calendar on Domo with a dataset that looks like this. This dataset is imported from Google Sheet into Domo.
Is there any way I can create a single filter, with all the countries name, such that when I choose a country, all events corresponding to the country will appear?
i.e. If I choose 'Poland', it will filter out all rows without 'Poland'.
Thanks,
Lee
Best Answers
-
Thanks HTH for answering!
In your solution, there will be many different filters for each country, one for Poland, one for Germany, etc, each with a binary outcome, yes or no.
Do you know if there's any possibility to merge the different filters into a single filter?
Such that in this one filter, if I click on Poland, it reveals all events with Country LIKE '%Poland%'
0 -
Hi mylee,
sorry for not being entirely clear if you just set up one beast mode like
case
when `Country` LIKE '%Poland%'
then 'Poland'when `Country` LIKE '%Sweden%'
then 'Sweden'when `Country` LIKE '%France%'
then 'France'when...
then...
endand put as many "when... then..." statements into the beast mode as you need, this will lead to one filter for everything. For added usability, I would display it as a quick filter too.
HTH
0
Answers
-
Hi Lee,
you can try the LIKE operator in a beast mode calculation, such as
case
when `Country` LIKE '%Poland%'
then 'Poland'
endrepeating the 'when... then' part for each country you have in your list (or may need) and then setting a filter on the calculated field.
The '%' here serves as the placeholder to make sure it the condition is true when it contains the string 'Poland' anywhere.
HTH
PS: Generally, I would advise against having several values in just one column, it would be easier (and potentially less error prone) to use a different way of storing the data. Difficult to say without knowing what your data corresponds to, though.
1 -
Thanks HTH for answering!
In your solution, there will be many different filters for each country, one for Poland, one for Germany, etc, each with a binary outcome, yes or no.
Do you know if there's any possibility to merge the different filters into a single filter?
Such that in this one filter, if I click on Poland, it reveals all events with Country LIKE '%Poland%'
0 -
Hi mylee,
sorry for not being entirely clear if you just set up one beast mode like
case
when `Country` LIKE '%Poland%'
then 'Poland'when `Country` LIKE '%Sweden%'
then 'Sweden'when `Country` LIKE '%France%'
then 'France'when...
then...
endand put as many "when... then..." statements into the beast mode as you need, this will lead to one filter for everything. For added usability, I would display it as a quick filter too.
HTH
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.5K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 8 Federated
- 2.9K Transform
- 100 SQL DataFlows
- 616 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 738 Beast Mode
- 57 App Studio
- 40 Variables
- 685 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 124 Manage
- 121 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 108 Community Announcements
- 4.8K Archive