Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
sureshmaddipati
Contributor II
Contributor II

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

Hi Suresh,

Define the variables like :

vYear1=max(Year)

vYear2=min(Year)

 

Regards,

Rohan.