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

Announcements
We are aware of an issue with the Product Downloads page and looking into it.
cancel
Showing results for 
Search instead for 
Did you mean: 
fanninam
Creator
Creator

Between

The red and green below are working but I forgot the syntax for how to do yellow:

   If(CurrentRatingOverall >= '2.5',1) AS Green,
// If(CurrentRatingOverall >1.4 <2.5,1) AS Yellow,
   If(CurrentRatingOverall < '1.5',1) AS Red
,

Labels (1)
1 Solution

Accepted Solutions
Anil_Babu_Samineni
MVP
MVP

For Logic operator you should written AND like

If(CurrentRatingOverall >1.4 and CurrentRatingOverall <2.5,1) AS Yellow,

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

1 Reply
Anil_Babu_Samineni
MVP
MVP

For Logic operator you should written AND like

If(CurrentRatingOverall >1.4 and CurrentRatingOverall <2.5,1) AS Yellow,

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful