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: 
hkg_qlik
Creator III
Creator III

Create Variable

Hi,

I have two fields that I would like to join and create a variable:

Year field and Month field

Year =  2011, 2012, 2013....

Month = Jan, Feb,Mar.....

Create Variable = vMonthYear: Jan-11, Jan-12......

Thanks,

H

5 Replies
Gabriel
Partner - Specialist III
Partner - Specialist III

Hi,

Could you possibly upload sample data or clarify your requirement.

Regards

Gabriel

Not applicable

Hello!

You can do as below:

vMonthYear = Month&'/'&Year

by Rebeca

Not applicable

Hi,

Where You filter that month & Year. You have any datefield

nirav_bhimani
Partner - Specialist
Partner - Specialist

Hi,

Try with vlist,

Where MonthYear is MonthName(date) as MonthYear

vlist= getfieldselections(MonthYear) 

Regards,

Nirav Bhimani

Not applicable

Hai,

month&'-'&right(year,2) as monthyear

Try This one