SOLVED
Multiple IF condition
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
ashriva2
6 - Meteoroid
07-27-2023
02:35 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I am new to alteryx and was looking for solution for below conditions:
- If the Tran code is INT, comment “Issue: Please reverse and rebook as DIVD
- If Tran code is INT+, comment “Issue: please reverse and rebook as DIVD+
- If Tran code is INT-, comment “Issue: please reverse and rebook as DIVD-
- If Tran code is RINT or RINT- comment “No issue: valid reversal”.
Solved! Go to Solution.
Labels:
- Labels:
- Developer Tools
5 REPLIES 5
FinnCharlton
13 - Pulsar
07-27-2023
02:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @ashriva2 ,
When you say 'comment', what do you mean? Do you mean adding a new column to the data, or sending a message to the workflow log?
To add a new column, use this formula:
If you want to write to the workflow log you can use the message tool, let us know
07-27-2023
06:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi
Thanks for your response, yes that is sending message to workflow so my input file is .xlsx. I have tried the above but I am getting result only for first condition i.e. If [Trans code] = 'INT' then "Issue: Please reverse and rebook as DIVD"
FinnCharlton
13 - Pulsar
07-27-2023
06:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
07-27-2023
11:43 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
So, I am attaching input file which has tran code and in col. Prep1 I require result.
07-28-2023
12:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
It is working now, Thanks
