Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

if statement

it should put out R and S will display as RX and O and P as OTC.

What I I missing?

if(Dual(RxOtcInd = 'R','S', 'RX') ,(RxOtcInd= 'O','P', 'OTC'))

1 Solution

Accepted Solutions
sunny_talwar

May be this:

If(Match(RxOtcInd, 'R', 'S'), 'RX',

     If(Match(RxOtcInd, 'O', 'P'), 'OTC'))

View solution in original post

1 Reply
sunny_talwar

May be this:

If(Match(RxOtcInd, 'R', 'S'), 'RX',

     If(Match(RxOtcInd, 'O', 'P'), 'OTC'))