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.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.8K Visualize
- 2.5K Charting
- 738 Beast Mode
- 56 App Studio
- 40 Variables
- 684 Automate
- 176 Apps
- 452 APIs & Domo Developer
- 46 Workflows
- 10 DomoAI
- 35 Predict
- 14 Jupyter Workspaces
- 21 R & Python Tiles
- 394 Distribute
- 113 Domo Everywhere
- 275 Scheduled Reports
- 6 Software Integrations
- 123 Manage
- 120 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