Multi conditional statement
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
Neeta_Latwal
7 - Meteor
‎03-06-2024
05:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi All,
Please help with the function in alteryx
If sum of transactions is 0 then i want Pair off else Outstanding
IFF[sum of transactions] = "0" than "pair off" else "outstanding"
But this is not working in alteryx.
Thanks,
Neeta
3 REPLIES 3
s_koovery
5 - Atom
‎03-06-2024
05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Try this
IF[sum of transactions] = "0" then "pair off" else "outstanding" endif
vkand5
5 - Atom
‎03-06-2024
05:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@Neeta_Latwal I see that the formula has THAN instead of "THEN". Can you correct it and check? If it is still not solving, please send a sample dataset to help you debug.
Thanks!
kamal03
9 - Comet
‎03-06-2024
08:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Please try this formula
IIF([sum of transactions]= 0, "pair off", "outstanding")
Note: If the sum of transaction is double don't use ( " " ) in comparison.
