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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
selvakumarsr
Creator
Creator

Calculation total days count

Hi,

In a day, there are multiple check in time for one user.

 

USERIDCIN_TIME
164/2/2017 12:55:12 PM
164/2/2017 12:57:21 PM
284/2/2017 1:48:18 PM
164/2/2017 3:05:48 PM
284/2/2017 3:09:44 PM
284/2/2017 7:47:00 PM
164/3/2017 8:52:08 AM

Now i need to calculate distinct count of days by user. For Example: USERID  16 total count should be 2 days and for USERID total is 1 day.

I tried something like this

Count(DISTINCT Aggr( Min(Date(Login_DATE)), Login_DATE))

1 Solution

Accepted Solutions
sunny_talwar

May be try this

Count(DISTINCT Floor(CIN_TIME))

or

Count(DISTINCT Floor(Login_DATE))

View solution in original post

1 Reply
sunny_talwar

May be try this

Count(DISTINCT Floor(CIN_TIME))

or

Count(DISTINCT Floor(Login_DATE))