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

I need output some thing like this x1,x2,x3....xn

I need output some thing like this x1,x2,x3....xn

thanks

1 Solution

Accepted Solutions
engishfaque
Specialist III
Specialist III

Dear RGV,

Here it is.

'x' & AutoNumber(Month_Name) as NewName

Kind regards,

Ishfaque Ahmed

View solution in original post

20 Replies
Not applicable
Author

Please provide some sample of ur data.

syukyo_zhu
Creator III
Creator III

can you explain more your request?

Anonymous
Not applicable
Author

suppose i have months jan to dec ,now i would like name them as X1,x2..x12

Thanks

amit_saini
Master III
Master III

Hi,

You can do like this in your script:

LOAD *

pick( WildMatch(Your_Field ,'*Jan*','*Feb*','*March*'),'X1','X2','X3')

From


Thanks,


AS

amit_saini
Master III
Master III

syukyo_zhu
Creator III
Creator III

you can use mapping load + applymap.

MappingCalendor:

Mapping

LOAD * INLINE [

    month, newname

    jan, x1

    feb, x2

    .....

];

load

ApplyMap('MappingCalendor', Field,null() as Newname

....,

from

xxxx

PrashantSangle

Hi,

Create inline table

try like

load * Inline [

Month , NewField

jan,x1

feb,x2

mar,x3

apr,x4

may,x5

jun,x6

jul,x7

aug,x8

sept,x9

oct,x10

nov,x11

dec,x12

];

Regards

Great dreamer's dreams never fulfilled, they are always transcended.
Please appreciate our Qlik community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved 🙂
Anonymous
Not applicable
Author

of course thats a good idea but if we have 100's of records to change its a time consuming right .Can we make it with the autonumber ?

Not applicable
Author

him

You can create and inline using months name

LOAD * INLINE [
     your month field name, your required field name
Jan, x1
Feb, x2
Mar, x3
Apr, x4
May, x5
Jun, x6
Jul, x7
Aug, x8
     likewise
]
;