Qlik Community

Qlik DataMarket Discussions

Discussion Board for collaboration regarding Qlik DataMarket.

nehapathak
New Contributor II

Text color Expression

I want to add Text Color Expression

After first and second selection there should be no change in text color

and after third selection colors should change as per the comparison between first and second selection.

I am using this expression:-

if (count({$}empid) > count({$1}empid) , Red() , Green() )

2 Replies
prat1507
Valued Contributor

Re: Text color Expression

Use

if(GetSelectedCount(empid)>=3,if (count({$}empid) > count({$1}empid) , Red() , Green() ))

Re: Text color Expression

Would you be able to share a sample where you can explain what exactly are you looking to do?

Community Browser