Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
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