Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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'))