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

MAKE SOME CODE/VALUES AS ONE GROUP

hello'

i have afiled that its name is status_code.

this filed contian alot of codes' for exsamle:KB,KE,KD,G3,G4,G7,X,Z4...

i want to make group/famlies of code.

i need it becasue i have to count them in groups.

i also need to shw the barcodes that got status codes according to the groups/

the filed of the barcode calld Track_No

barcodestatus_code
1234G3
5678KB
9102kd
987z4

G3, Z4 =group1

kb,kd=group2

1 Reply
Anil_Babu_Samineni

May be this?

If(Match(status_code, 'G3','Z4'), 'group1' ,If(Match(status_code,'kd','z4'), 'group2'))

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful