Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to mark equal values in rows in Green colour

Hi

i want if in last two  columns (according to my application ) any two values are equal then mark it as Green and if not then it should be marked in red color.

8 Replies
Anil_Babu_Samineni

Normally we can do some thing like below unless provide more information

If(Expression1 = Expression2, Green(), ...)

If expression is only for one and transpose the column then could use some thing like below


If(Match(Field, 'Value', Expression1) = Match(Field, 'Value', Expression2), Green(), ...)


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

Hi,

for example lets take column(4) and column(5) are last 2 columns.

Chart Properties->Expressions->Expression

Expand(+)->Back ground colour

Condition:

IF(Column(4)=Column(5),Green(),Red())

**Always you last two expressions should be in 4 and 5 order if not the back ground color will not workout.

Anonymous
Not applicable
Author

sir i want if there exists any value which is equal in last two columns it should be marked as green(for eg:- grade A in both the columns should be shown in green background color and whereas others if not equal  in red qlikhelp.png

Anil_Babu_Samineni

Please share some sample application?

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

In background color condition, IF(Column(4)=Column(5),Green(),Red())


Give required condition


Or else can share some sample app , will try and will let you know

Anonymous
Not applicable
Author

sir i want if there exists any value which is equal in last two columns it should be marked as green(for eg:- grade A in both the columns should be shown in green background color and whereas others if not equal  in red .I dont have expression 2

Anil_Babu_Samineni

Yes, You could use similar way

If(Column(3) = Column(2) or Column(3) = Column(1) , Green(), Red())

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

sir I want this garde A should reflect in reen because both the values of last column are eual and its not functioning why?

please helpqlikprob.png