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: 
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

20 Replies
amit_saini
Master III
Master III

rgv,

Good question . Could you please share your requirement with sample may be we can suggest you some other approach .

Thanks,

AS

Anonymous
Not applicable
Author

Hi i would like to know can we make dynamically rather than static

something like "X'&

amit_saini
Master III
Master III

Like this:

Try in script

'X' & MonthName as Key

Thanks,
AS

Anonymous
Not applicable
Author

actually i am a beginner in qlikview i dosen't have any document .my requirement is to change month names jan to dec as x1 to x12 .

Thanks

MarcoWedel

='X'&Num(Month(Date#(yourmonthfield,'MMM')))

QlikCommunity_Thread_146607_Pic1.JPG

MarcoWedel

in case yourmonthfield is already dual:

='X'&Num(Month(yourmonthfield))

PrashantSangle

Hi,

Try like

'X'&Date(datefield,'MM') as Newfield

or

try like

'X'&Date(Date#(datefield,'MMM'),'MM') as Newfield

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

Thanks MaxDreamer yours answer is also working

engishfaque
Specialist III
Specialist III

Dear RGV,

Here it is.

'x' & AutoNumber(Month_Name) as NewName

Kind regards,

Ishfaque Ahmed

Anonymous
Not applicable
Author

actually i have tried the same with autonumber but it doesn't worked for me ,But yours is working .

thank u  Ishfaue Ahmed

Thanks

RGVRand