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: 
akpofureenughwu
Creator III
Creator III

If statement for text color expression

Good day everyone..

I'm using this expression

if((count({$<[Project Status] = {'Completed'} >} Community )/ (Count(Community))))>=0.7,yellow(),if((count({$<[Project Status] = {'Completed'} >} Community )/ (Count(Community))))<=0.69,lightgreen())))..... This is for the PRogress indicator... see attached...

I'm getting error in expression...

I tried bugging it but to no avail..

Please help.

Regards

1 Solution

Accepted Solutions
Muthu
Partner - Creator III
Partner - Creator III

Hi,

Try this expression.

if(count({$<[Project Status] = {'Completed'} >}Community)

/Count(Community)>=0.7,Yellow(),

if(count({$<[Project Status] = {'Completed'} >} Community)

/Count(Community)<0.69,LightGreen()))

View solution in original post

2 Replies
Anil_Babu_Samineni

Is it possible to attach QVF file

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
Muthu
Partner - Creator III
Partner - Creator III

Hi,

Try this expression.

if(count({$<[Project Status] = {'Completed'} >}Community)

/Count(Community)>=0.7,Yellow(),

if(count({$<[Project Status] = {'Completed'} >} Community)

/Count(Community)<0.69,LightGreen()))