Prepopulate Filter
Hi hopefully this makes sense.
I am trying to prepopulate a filter based on the users last input selected. The rows in my dataset have a staring city location and an ending city location to get possible routes. The first method I tried was to join every starting location on every ending location and then from there join rows that have Starting Location = Previous ending Location causing the dataset to grow exponentially. Example of the rows "(Column name: Route One) ATL → LOS (Column Name: Route Two) LOS → CHI" "(Column name : route one)ATL - LOS (Column Name : Route Two) LOS → LAS" The next option I tried was just to have one column name with every single possible route and use the DDX Brick called Searchable Filter APP witch works but it doesnt filter based on users last input. My thought is the only way to make this possible is to just have that massive dataset.
My Question is how can I make it where the same column is getting filtered "Route", without making the dataset be in the couple billions rows, and whatever the ending location is of the first route they select, is the starting location of the second route.
Answers
-
I think the approach you mention is going to give to many records. You could try creating a separate table with unique combinations of routes with start and end points. Then create a filter with logic based on the last selection made.
There's a searchable filter app in Domo but I've never used it.
** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Eat an elephant one bite at a time.
Based on your description, it sounds like you are trying to create a dataset of all possibilities….every combination. I would try some kind of user interaction. For example, create a dashboard where users select their starting location from a dropdown filter. Then, based on their selection, populate another dropdown filter with the possible ending locations for routes originating from the selected starting location.** Was this post helpful? Click Agree or Like below. **
** Did this solve your problem? Accept it as a solution! **0 -
Can you give a small example of what you have and then make a scenario of what you would want the functionality to be? Also - what is your end-user actually doing? Is this for an app? Is this maybe a use case for Variables? If I am understanding the use case well enough, I think it might be a time to use Variables…
DataMaven
Breaking Down Silos - Building Bridges
**Say "Thanks" by clicking a reaction in the post that helped you.
**Please mark the post that solves your problem by clicking on "Accept as Solution"0 -
Here is the dataset that has every possible lane location joined together, its around 1.3 million rows and it looks like this.
The Dashboard I am working on looks like this
Which allows the user to search whatever lane they want. Once selected it will appear on the map and lane breakdown.
Now based on this example I want the user to only be able to select Locations that start with conyers and it does not replace the previous lane selected. So when they click on search lanes again they should only see lanes starting in conyers. Right now the dashboard works, the user can now look up any lane they want, I just want them to only be able to look up lanes that have the starting point of the previous end point.
ArborRose I tried that. However the issue that arises with that is they wont be able to select multiple locations. I had two drop down boxes at one point where they would look up starting point and then the next drop down had it to where they could select the lane. After they select the lane, I was unable to change the starting point to the new starting point.
0
Categories
- All Categories
- 1.8K Product Ideas
- 1.8K Ideas Exchange
- 1.6K Connect
- 1.2K Connectors
- 300 Workbench
- 6 Cloud Amplifier
- 9 Federated
- 2.9K Transform
- 101 SQL DataFlows
- 622 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 748 Beast Mode
- 59 App Studio
- 41 Variables
- 686 Automate
- 176 Apps
- 453 APIs & Domo Developer
- 47 Workflows
- 10 DomoAI
- 36 Predict
- 15 Jupyter Workspaces
- 21 R & Python Tiles
- 396 Distribute
- 113 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 125 Manage
- 122 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 10 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 109 Community Announcements
- 4.8K Archive