Alternative to beast modes
Best Answers
-
Hi @Khan_Naziya
I'd recommend using a webform to maintain the list of clients and then utilize a Magic ETL or Dataset View to join your original dataset to this client list dataset to filter out any non-client data. If you're looking to do some special calculations based on which client is which you could attempt to pull out the parameters of your calculation into this webform (with each client listed as well) as well and then just reference the value / column from the webform in your beast modes.
This would remove the tedious process of continuing to update the beast modes wherever they reside and you have a central location to update when a new customer is added for special processing.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**3 -
Interesting scenario!
We can solve this by still utilizing a web form and utilizing a DataSet View (could also do similar logic in Magic)
Your webform would look something like this:
Contains Value %AMC% Auro Medical Center %SYS Sol% Syndia Solutions %Benjamin% Benjamin Research Group So now you have your two datasets. What we'd want to do is a Cartesian join to find all the possibilities and then filter out the incorrect ones.
Create 2 new views where you're just creating a calculated field where the value is 1 called "Join Column".
In a 5th view take these two new views with the join columns and join them together based on this join column. Then you'd need to create a beast mode to filter out the records which don't match your contains. (Note this is a case insensitive comparison)
CASE WHEN `Name` LIKE `Contains` THEN 'Include' ELSE 'Exclude' END
Then in your dataset view just set this new beast mode as your filter and only include "Include" records. It will then have your original text and your Translation text from the web form.
Hope that makes sense.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0
Answers
-
Hi @Khan_Naziya
I'd recommend using a webform to maintain the list of clients and then utilize a Magic ETL or Dataset View to join your original dataset to this client list dataset to filter out any non-client data. If you're looking to do some special calculations based on which client is which you could attempt to pull out the parameters of your calculation into this webform (with each client listed as well) as well and then just reference the value / column from the webform in your beast modes.
This would remove the tedious process of continuing to update the beast modes wherever they reside and you have a central location to update when a new customer is added for special processing.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**3 -
Thanks @GrantSmith.
I would like to share an example of the beast mode we have in our instance.
Example:
case when `Project` like '%AMC%' then 'Auro Medical Center'
when `Project` like '%SYS Sol%' then 'Syndia Solutions'
when `Client` like '%Benjamin%' then 'Benjamin Research Group'
end
Likewise, we have more than 350 projects and clients, how will the match pattern in the beast mode can be replaced in Webform?
Thanks
0 -
Interesting scenario!
We can solve this by still utilizing a web form and utilizing a DataSet View (could also do similar logic in Magic)
Your webform would look something like this:
Contains Value %AMC% Auro Medical Center %SYS Sol% Syndia Solutions %Benjamin% Benjamin Research Group So now you have your two datasets. What we'd want to do is a Cartesian join to find all the possibilities and then filter out the incorrect ones.
Create 2 new views where you're just creating a calculated field where the value is 1 called "Join Column".
In a 5th view take these two new views with the join columns and join them together based on this join column. Then you'd need to create a beast mode to filter out the records which don't match your contains. (Note this is a case insensitive comparison)
CASE WHEN `Name` LIKE `Contains` THEN 'Include' ELSE 'Exclude' END
Then in your dataset view just set this new beast mode as your filter and only include "Include" records. It will then have your original text and your Translation text from the web form.
Hope that makes sense.
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**0 -
Thanks @GrantSmith , makes sense, will give a try.
0 -
Also to clarify this also gives you the give you the flexibility to do a "Starts With", "Ends With" or "Contains" depending if the percent sign is at the end, start or both ends respectively.
For example of the Contains column:
Starts With: Prefix%
Ends With: %Suffix
Within: %Contains% (as shown in my prior example)
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**1 -
Thanks for the additional information, @GrantSmith , I prefer %contains% for the current scenario.
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
- 102 SQL DataFlows
- 626 Datasets
- 2.2K Magic ETL
- 3.9K Visualize
- 2.5K Charting
- 753 Beast Mode
- 61 App Studio
- 41 Variables
- 692 Automate
- 177 Apps
- 456 APIs & Domo Developer
- 49 Workflows
- 10 DomoAI
- 38 Predict
- 16 Jupyter Workspaces
- 22 R & Python Tiles
- 398 Distribute
- 115 Domo Everywhere
- 276 Scheduled Reports
- 7 Software Integrations
- 130 Manage
- 127 Governance & Security
- 8 Domo Community Gallery
- 38 Product Releases
- 11 Domo University
- 5.4K Community Forums
- 40 Getting Started
- 30 Community Member Introductions
- 110 Community Announcements
- 4.8K Archive