Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
kakani87
Specialist
Specialist

Set expression Issue in count of emp

Hi Everybody,

displayed sample data app it is showing access details of an employee IN and OUT with Total time spent

Now want to display the count for red colour highlited rows of emp like count of IN time in red it is displayed  properly but like that OUT and Timespent count as well to displayed. EXPRESSION for IN considering as

=Count({<EmpName={"=Min({<tran_date = {$(=Num(Max(tran_date)))}>} SignIn)>$(vSignin)"},tran_date={'$(=maxstring(tran_date))'}>}DISTINCT EmpName)


Kindly help me with this.


Regards,

Kakani.

1 Solution

Accepted Solutions
Anil_Babu_Samineni

PFA

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

View solution in original post

5 Replies
Anil_Babu_Samineni

PFA

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
kakani87
Specialist
Specialist
Author

Anil Thank you for the support.

kakani87
Specialist
Specialist
Author

Anil Time spent in HRS is showing wrong data.

Here I'm sending you the Attachment Kindly check this TIMESPENT COUNT.

Anil_Babu_Samineni

May be this?

=Sum(Aggr(If((Max({<tran_date =  {"$(=Num(Max(tran_date)))"}>} SignOut) - Min({<tran_date =  {"$(=Num(Max(tran_date)))"}>} SignIn))<'08:00:00',1,0), tran_date, EmpName))

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
kakani87
Specialist
Specialist
Author

This is Correct Anil.