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: 
Anonymous
Not applicable

Create variable

Hi,

I want to create dynamic variable which get current selection.

Than I want to use this variable in condition.

For example, if current selection = A, show green color, else gray.

=if(FieldName = My selection), rgb(139,191,31), rgb(124,124,124))

Thanks,

20 Replies
Anonymous
Not applicable
Author

Yes, I checked my assumption. Because of it.

The idea was, for example, you select 1 class within school, where has 25 students.

You see trend of class and 1 student.

At another tab, you have chart, which show all student within class.

If I use the same filter, I won't be able to see all students.

Do you have any thoughts?