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
- 10.5K All Categories
- 5 Connect
- 915 Connectors
- 250 Workbench
- 459 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 476 Datasets
- 186 Visualize
- 250 Beast Mode
- 2.1K Charting
- 11 Variables
- 16 Automate
- 354 APIs & Domo Developer
- 88 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 245 Distribute
- 62 Domo Everywhere
- 242 Scheduled Reports
- 20 Manage
- 41 Governance & Security
- 170 Product Ideas
- 1.2K Ideas Exchange
- 10 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive