Multiple if
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
Jaganmohan
8 - Asteroid
‎05-11-2021
06:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi - Need a help on multiple if statement.
Need a solution for below mentioned logic : pfa
if Price 2 column "Blank" and Reason code MP/TP then pull the prices from Action column else Price2.
Labels:
- Labels:
- Datasets
2 REPLIES 2
17 - Castor
‎05-11-2021
06:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Jaganmohan
Try this:
if isempty([Price 2]) and [ReasonCode] in ('MP','TP') then [Action]
else [Price 2]
endif
17 - Castor
‎05-11-2021
06:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi @Jaganmohan ,
if isempty([Price 2]) and ([ReasonCode]="MP" or [ReasonCode]="TP") then [Action] else [Price 2] endif
M.
