Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
paulyeo11
Master
Master

May i know how to recode value label from 1 to G1 ?

Hi All

I have a field = GP_TYPE_ from Mapping :-

ApplyMap('MapGroupType',@43:48T,@307:314T) AS GP_TYPE_,

Which have value label from 1 to 16

i Need to recode
1 to G1
2 to G2
3 to G3
4 to G4
...
...
16 to G16

Just put a G in front.

Hope some one can share with me.

Paul Yeo

1 Solution

Accepted Solutions
miskinmaz
Creator III
Creator III

You can try:

'G'&ApplyMap('MapGroupType',@43:48T,@307:314T) AS GP_TYPE_,

View solution in original post

3 Replies
paulyeo11
Master
Master
Author

Enclosed my QVW

miskinmaz
Creator III
Creator III

You can try:

'G'&ApplyMap('MapGroupType',@43:48T,@307:314T) AS GP_TYPE_,

paulyeo11
Master
Master
Author

Hi Sir

Thank you very much for your sharing. it is what i want.

I also want to know how to make use of partial reload for recode , i have post below question :-

https://community.qlik.com/t5/QlikView-Scripting/Partial-reload-script-return-null-value/m-p/1630849...

Hope you can share with me why not working ?

Paul