Quantcast
Channel: Desktop topics
Viewing all articles
Browse latest Browse all 213819

I have timestamp and userid. how do I get number of users for each amoung of days?

$
0
0

Hi.

 

When I only have UserId(integer) and Timestamp (DateTime), I would like to list up data as below;

 

Source

UserId...Timestamp
1.............12/1/2016 5:33 AM

23...........12/1/2016 7:33 AM
76...........12/8/2016 5:13 AM

23...........12/4/2016 5:13 AM

 

 

Expected Result

DaysOfUse....NumberOfUser

2 days.............2 users

3 days.............1 users

8 days...........11 users

 

 

I read several posts [1],[2] but I do not have start/end duration.

After creating Date column as below, but what can I do next?

 

Date = Source[Timestamp].[Date]

 


Viewing all articles
Browse latest Browse all 213819

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>