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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
harleen_singh
Creator III
Creator III

What is wrong in my expression?

Attached is the sample.

If you look at the expression - (minus) i have used following formula.

count( DISTINCT { $< EmployeeNo = P ({< Date = {"$(MinDate)"}>} EmployeeNo )/ P ({< Date = {"$(Lastdate)"}>} EmployeeNo )>} EmployeeNo)

All the figures are correct but if you check company id 0102

it shows 1 in -(minus) which is wrong but when u make selection of 0102 it gives u correct figure i.e 3 .

I am completely stucked in this ? What is wrong in my expression ??

thanks

Lavi

1 Solution

Accepted Solutions
perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Lavi

I have attached one Application Please check is correct or not .i don't have your qvd.so iyour application take binary load,then employee table  Resident for companiation Employeeno and Company.This is field i used in Expression.

Regards

Perumal A

View solution in original post

2 Replies
perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Lavi

I have attached one Application Please check is correct or not .i don't have your qvd.so iyour application take binary load,then employee table  Resident for companiation Employeeno and Company.This is field i used in Expression.

Regards

Perumal A

harleen_singh
Creator III
Creator III
Author

@Perumal A,

                   it really worked perfectly man

thanks

Lavi