Beast Mode vlookup
Hi!
I am trying to figure out if I can do a vlookup in Beast Mode to look up two of the same numbers (LIST1, LIST2) in two different columns and then outout in the third (MATCH?)? The below also explains what I am trying to do. As of right now I cannot figure it out. Any help is much appreciated!
LIST1 | LIST2 | MATCH? |
36281 | 573615 | no |
472361 | 47626 | no |
473812 | 36281 | yes |
95881 | 573461 | no |
57361 | 84771 | no |
Comments
-
There's not really a VLOOKUP function in DOMO. MySQL has a EXISTS function (e.g. SELECT COLUMN1 FROM T1 WHERE EXISTS (SELECT * FROM T2) but I don't believe that is available in BeastMode. The obove compares the value from two tables. The functionality will still exists by using a subquery. If you have MySQL available in Dataflows you can use the EXISTS function to compare the two. If not, you can use the MagicETL process and have the list setup as two differnet sources and combine them using the MagicETL features.
0 -
Thanks for the insight! The only option you mentioned would be the last one using MagicETL but the issue with that is we don't want to combine the data. We just want to only show or display rows that have a match in 'LIST2'. Do you know if this is possible?
0 -
@cmarkum, can you help @d_ventures with their follow-up question?
0 -
@d_ventures Will you send an email to joseph.ehat@domo.com and tell me which instance you are in and which two datasets you want to do this for? Please reference case #02035438.
Joe Ehat
Domo Support
0 -
How about something like this in MagicETL
Select Columns from the DataInput LIST1 only
Select Columns from the DataInput LIST2 only, as a separate stream
InnerJoin SelectColumns1 and SelectColums2.
This should output a list of only the repeated values.
Add the constant "yes" to Join1
Now join again the DataInput with Join1 and you should have a column with "yes" on each repeated value.
There is probably a way to add the "no" on that ETL but I cant think of it at the moment but you can easily do that in Beastmode.
1 -
I've requested the "vlookup" feature, as well -- and for exactly the same scenario. Had to use dataflows in the meantime, which works great but I'd still prefer to do this in beastmode when available. will definitely push the product team on this. thx for the feedback!
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