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

count the value between date range

Hi,

i have the field CallID and Call_date (this is date with time format). I need to show the count based start and end date.

see the below screen shot.Capture1.JPG

Just i want to show, call_date(date only) and count of CallID based on the date. sample is attached.

1 Solution

Accepted Solutions
jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this expression

Count({<Call_date = {">=$(TimeStamp(start))<=$(TimeStamp(end))"}>} CallID)

Regards,

Jagan.

View solution in original post

4 Replies
senpradip007
Specialist III
Specialist III

PFA. hope it will help.

settu_periasamy
Master III
Master III
Author

thanks pradip. is it possible to do this, without adding date field in the script?

jagan
Luminary Alumni
Luminary Alumni

Hi,

Try this expression

Count({<Call_date = {">=$(TimeStamp(start))<=$(TimeStamp(end))"}>} CallID)

Regards,

Jagan.

settu_periasamy
Master III
Master III
Author

Thank you Jagan. Just i have add the "=" infront of Timestamp. Now it is working.

final expression  is Count({<Call_date = {">=$(=TimeStamp(start))<=$(=TimeStamp(end))"}>} CallID)