Multiple Case When statement
Hi - I'm looking for a Case statement that will provide a new column when 2 columns meet a particular condition.
I've tried multiple versions but none have worked. 2 examples below. Thanks in advance for any suggested fixes to the formula.
IF(AND(`Plant`=1302,`Line of Business`='cable'),'QC Fibre','')
WHEN(`Plant`=1302 AND `Line of Business`='Cable')
THEN 'QC Fibre'
END
0
Best Answer
-
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**2
Answers
-
**Was this post helpful? Click Agree or Like below**
**Did this solve your problem? Accept it as a solution!**2 -
Thank you Thank you @GrantSmith It worked beautifully.
0
Categories
- 10.5K All Categories
- 8 Connect
- 918 Connectors
- 250 Workbench
- 472 Transform
- 1.7K Magic ETL
- 69 SQL DataFlows
- 477 Datasets
- 202 Visualize
- 255 Beast Mode
- 2.1K Charting
- 12 Variables
- 17 Automate
- 354 APIs & Domo Developer
- 89 Apps
- 3 Workflows
- 20 Predict
- 5 Jupyter Workspaces
- 15 R & Python Tiles
- 247 Distribute
- 63 Domo Everywhere
- 243 Scheduled Reports
- 21 Manage
- 42 Governance & Security
- 181 Product Ideas
- 1.2K Ideas Exchange
- 12 Community Forums
- 27 Getting Started
- 14 Community Member Introductions
- 55 Community News
- 4.5K Archive