Skip to main content
Announcements
NEW: Seamless Public Data Sharing with Qlik's New Anonymous Access Capability: TELL ME MORE!
cancel
Showing results for 
Search instead for 
Did you mean: 
adiarnon
Creator III
Creator III

set variable

hi,
i want to set a variable in the script that have-
if($(v_metric_5)<90,'red',if($(v_metric_5)<95,'yellow',if($(v_metric_5)<=100,'green','gray')))

how can i do that?

i dont want that $(v_metric_5) will calculate

i want it to stay as a string

1 Solution

Accepted Solutions
petter
Partner - Champion III
Partner - Champion III

Please do not cross-post (post the exact same question multiple times) as it is counter-productive. Read the Community guidelines and do your best to follow them

View solution in original post

1 Reply
petter
Partner - Champion III
Partner - Champion III

Please do not cross-post (post the exact same question multiple times) as it is counter-productive. Read the Community guidelines and do your best to follow them