Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

pls help..............simple conditional calculation

Hi Experts,

i have tables linked like below.

   

RSMBranch NoBranch
Mathew79BARKING
134BOREHAMWOOD
23COLLIERS WOOD
74EDMONTON
823ENFIELD (UA)
115HARROW
24HORNSEY
Coles1WEMBLEY
Adam54ALDERSHOT
112BASINGSTOKE
195CAMBERLEY
47CHERTSEY

   

BranchBranch NoWorking DAYS
WEMBLEY18.5
MANCHESTER28.5
MILTON KEYNES188.5
SHEFFIELD198.5
READING208.5
SWINDON218.5
LEICESTER228.5
COLLIERS WOOD238.5
HORNSEY248.5
NOTTINGHAM258.5
BURY ST. EDMUNDS268.5
EDINBURGH278.5
HAYES288.5

   

i have to calculate the working days for RSM.

when i calculated, i m getting the result as below.

  

RSM NameWorking DAYS
Mathew127.5
Coles8.5
Adam119

this is not the requirement.

i should get the result as

RSM NameWorking DAYS
Mathew8.5
Coles8.5
Adam8.5

the result highlighted in blue is the correct one i should get.

how can i do this in the expression.

pls help................

16 Replies
sunny_talwar

Just followed you

I don't understand why both of us need to follow each other to message, but I guess that's how it works.

Not applicable
Author

i tried avg, but showing 0.85

i should get 8.5.

i tried to change number format, tried with Num(),...

but nothing works out.

help plssssss

buzzy996
Master II
Master II

sorry,by the time i posted my comment i was not able to see the previous discussion.

i think u have to do some data cleaning/profiling here.

Not applicable
Author

thanks for following

sunny_talwar

I guess is it possible to share a sample? Not easy to say what it could be without looking at it.

Not applicable
Author

not getting you.

pls be more clear

buzzy996
Master II
Master II

u have to share/provide here proper dataset first..i think ur copied some data from some source..some other data from different source.

due to tht,it's difficult to suggest expected solution to u.

pls share if possible ur dataset completely or some meaningful data.