Skip to main content

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
CUSTOMERS ONLY: Now accepting customer applications for the 2023 Luminary Program: SUBMIT NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
tmumaw
Specialist II
Specialist II

Expression Help

Any idea what is wrong with this expression?  I keep getting error in expression.

Thanks

if(Sum(UnKnown_Cnt) / count(Empl.#) < .20,RGB(0,0,255),
if(Sum(UnKnown_Cnt) / count(Empl.#) > Sum(Total(UnKnown_Cnt) / count(Total(Empl.#),RGB(255,0,0)),RGB(0,0,0))) 

1 Solution

Accepted Solutions
tmumaw
Specialist II
Specialist II
Author

Got it.....

if(Sum(UnKnown_Cnt) / count(Empl.#) < .20,RGB(0,0,255),
if(Sum(UnKnown_Cnt) / count(Empl.#) > Sum(Total(UnKnown_Cnt) / count(Total(Empl.#))),RGB(255,0,0),RGB(0,0,0))) 

View solution in original post

2 Replies
tmumaw
Specialist II
Specialist II
Author

Got it.....

if(Sum(UnKnown_Cnt) / count(Empl.#) < .20,RGB(0,0,255),
if(Sum(UnKnown_Cnt) / count(Empl.#) > Sum(Total(UnKnown_Cnt) / count(Total(Empl.#))),RGB(255,0,0),RGB(0,0,0))) 

buzzy996
Master II
Master II

try this,

=if(Sum(UnKnown_Cnt) / count(Empl.#) < 0.20,RGB(0,0,255),

if((Sum(UnKnown_Cnt) / count(Empl.#) ) > Sum(Total(UnKnown_Cnt) / count(Total(Empl.#),RGB(255,0,0)),RGB(0,0,0))

check bracket pls.