Syntax Error when using beast mode to create Case Statement for data flow
Comments
-
Change anything you're actually referencing as a string instead of a column to use apostrophes instead of the back ticks (assuming the SVC reference is a string as well) like this:
CASE WHEN `CaseCreatedBy` LIKE '%# Svc-ShipwiretoIM360integration%' THEN 'true' Else 'false' END
Hope that helps,
Valiant
1 -
I understood your question a little differently than @Valiant did.
It seems to me that `# Svc-ShipwiretoIM360integration` is a beastmode calculation. If that is the case, then you actually need to type the whole beastmode again. You cannot reference the beastmode by name in another beastmode. Try changing to something like this:
CASE WHEN `CaseCreatedBy` LIKE
concat('%', (CODE FOR THE OTHER BEASTMODE) , '%')
THEN `true` Else `false` END
“There is a superhero in all of us, we just need the courage to put on the cape.” -Superman0
Categories
- All Categories
- 1.1K Product Ideas
- 1.1K Ideas Exchange
- 1.2K Connect
- 968 Connectors
- 255 Workbench
- Cloud Amplifier
- 1 Federated
- 2.4K Transform
- 76 SQL DataFlows
- 500 Datasets
- 1.8K Magic ETL
- 2.7K Visualize
- 2.2K Charting
- 360 Beast Mode
- 19 Variables
- 483 Automate
- 101 Apps
- 378 APIs & Domo Developer
- 6 Workflows
- 22 Predict
- 6 Jupyter Workspaces
- 16 R & Python Tiles
- 316 Distribute
- 64 Domo Everywhere
- 252 Scheduled Reports
- 59 Manage
- 59 Governance & Security
- 1 Product Release Questions
- 5K Community Forums
- 37 Getting Started
- 23 Community Member Introductions
- 63 Community Announcements
- 4.8K Archive