Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
RKULKARNI4
Contributor III
Contributor III

Case formula

Hello Team,

I need to apply below mentioned formula  :

 

case ( Concat(Field1, Field2,Field3))

when 'C0 ' then 'ABC' when 'C01' then 'ABC'

when 'C1 ' then 'PR' when 'C1L' then 'PR' when 'C1A' then 'PRA'
when 'C2 ' then 'PR' when 'C2L' then 'PR' when 'C2A' then 'PRA' ELSE 'XYZ END

Please advise the formula in qliksense .

Thanks in advance

RK

1 Reply
Taoufiq_Zarra

@RKULKARNI4  Maye be this ?

	pick(
		RangeSum(Match(Field1&Field2&Field3,'C0','C01','C1','C1L','C1A','C2','C2L','C2A'),1),
		'XYZ','ABC','PR','PR','PR','PR','PR','PR','PR'
		) as NewField

 

output :

Capture.PNG

Regards,
Taoufiq ZARRA

"Please LIKE posts and "Accept as Solution" if the provided solution is helpful "

(you can mark up to 3 "solutions") 😉