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

I have condition like pin=1,pin=2,pin=3 then output nsk otherwise 'outnsk'? as well as another conditio is taliking input as above condition if source=nsk then cost 0.rs and source=outnsk and type=steel then cost 2. others 3rs?rs

HOW TO WRITE CONDITION FOR THIS I NEED TO TAKE  OUTPUT OF FIRST CONDITION IS INPUT TO SECOND  CONDITION   PLS   HELP ME

I have condition like  pin=1,pin=2,pin=3 then output nsk otherwise 'outnsk'? as well as another conditio is  taliking input as  above condition if source=nsk then cost 0.rs and source=outnsk  and type=steel then cost 2. others  3rs?rs

1 Reply
maxgro
MVP
MVP

=if(if(match(pin, 1, 2, 3), 'nsk', 'outnsk')='nsk', 0,

if(if(match(pin, 1, 2, 3), 'nsk', 'outnsk')='outnsk' and type='steel', 2,

3))