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

Announcements
Qlik GA: Multivariate Time Series in Qlik Predict: Get Details
cancel
Showing results for 
Search instead for 
Did you mean: 
sureshmaddipati
Contributor III
Contributor III

Creating two separate variable for two selections made on filter

Hi ,

 

I have year filter .

I need to create two variables  where on selecting two years in filter the variables should show each year separately for two variables 

Example : 

If I select 2023 and 2024 in filter 

Variable1  should show 2023

Variable 2 should show 2024

 

Thanks, 

Suresh

Labels (1)
1 Reply
Rohan
Partner - Specialist
Partner - Specialist

Hi Suresh,

Define the variables like :

vYear1=max(Year)

vYear2=min(Year)

 

Regards,

Rohan.