6 Replies Latest reply: Aug 18, 2010 2:43 PM by Erico Aleixo

# Quick Query

Hi,

I have very limeted knowledge of Qlikview and have not used it in a long time. However I have been asked a question relating to one of my collegues reports who is off on holiday.

Please can someone validate my theory on the below formula.

(

sum({\$<JobType=-{"MANIN","Man","MAN"}>} JobTalkTime)/sum({\$<JobType=-{"MANIN","Man","MAN"}, Code49s={0}>} Calls))

+(

sum({\$<JobType=-{"MANIN","Man","MAN"}>} JobWrapTime)/sum({\$<JobType=-{"MANIN","Man","MAN"}, Code49s={0}>} Calls))

I belive it is totalling the amount of JobTalkType and dividing it by the number of Code 49's where the JobType was not one of MANIN, Man or MAN. That or its only where the JobType is one of those. I cant be sure.

Regards Jonny

• ###### Quick Query

Your expression it´s fine.....if i understood!!!!

• ###### Quick Query

Hi,

Is it calculating if the JobType is one of the listed values or is it calculating where it is not one of the values. #

J.

• ###### Quick Query

JobType=-{"MANIN","Man","MAN"} -->All job type except these 3 values

Code49s={0} --> Only Code49s equal 0

• ###### Quick Query

Jonny,

It's totalling where it's not one of those. Go to QlikView Help (F1) and search for "Set Analysis." There is an excellent article there that explains all the syntax.

Regards,

• ###### Quick Query

Many thanks!