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: 
kkarlste
Creator
Creator

Sum skript and then if colour

Hi

 

This is my skript and this not working. I don't understand what is wrong
Any help me

if(Sum({$<MonthKEY={"$(=Max(MonthKEY)-11)"}>}QC_EvaluationResult) QC_EvaluationResult> 0.8 and value < 1,2, green(), red())

Labels (1)
2 Replies
Abhishekb
Contributor III
Contributor III

Hi  @kkarlste ,

Abhishekb_0-1695893545070.png

Above you are using more than 2 parameters. Kindly correct it.

And 1 more issue is below you want to separate the condition by "AND" or "OR" operator.

Abhishekb_1-1695893727211.png

 

anat
Master
Master

if(Sum({$<MonthKEY={"$(=Max(MonthKEY)-11)"}>}QC_EvaluationResult)> 0.8 and Sum({$<MonthKEY={"$(=Max(MonthKEY)-11)"}>}QC_EvaluationResult)<2, green(), red())