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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to convert an integer to a string?

Hi,

I would like to know how to convert a integer to a string so I can concatenate it (with &) to another string.

More practically, I have a field date coming from my database and from a value of that field, I would like to get "Year-Month".

So:

Month(date) -> Oct (as string)

Year(date) -> 2010 (as integer)

How do I get: "2010-Oct"?

Thank you all

1 Solution

Accepted Solutions
sathishkumar_go
Partner - Specialist
Partner - Specialist

Hi,

use year(date)&'-'&Month(date)

-Sathish

View solution in original post

1 Reply
sathishkumar_go
Partner - Specialist
Partner - Specialist

Hi,

use year(date)&'-'&Month(date)

-Sathish