You need to group and assign data according to time intervals.
Example one: Dates before 2015/10/26 are named Earlier, and dates after that are named Cumulative New Additions.
Example two: Group by different time periods as 0:00-6:00, 6:00-12:00, 12:00-18:00, 18:00-24:00, and count based on different intervals.
Example one:
Use the IF function for conditional assignment.
Use the DATESUBDATE function to calculate time difference.
Example two:
Use the MID function to extract time periods, choose Add Column > Group Assignment to group the time intervals, and perform sum and count within each group.
Example data: Contract Information.xlsx
Create an analysis subject, and upload the downloaded data table Contract Information (default to selecting all fields).
Add the Formula Column step, name it Time Period Grouping, enter the formula: IF(DATESUBDATE(Time of Contract,"2015-10-26","s")>0,"Cumulative New Additions","Earlier"), and click OK.
1. When adding or subtracting dates, you cannot directly use "-", but need to use the DATESUBDATE function to calculate the time difference.
2. Fields in the formula box need to be selected from the left area and cannot be manually entered.
Formula description:
DATESUBDATE(Time of Contract,"2015-10-26","s")
Return the time difference between Time of
Contract and 2015/10/26 in seconds.
Time of Contract — 2015/10/26
IF(DATESUBDATE(Time of Contract, "2015-10-26", "s") > 0,"Cumulative New Additions","Earlier")
If the time difference is greater than 0, assign the new column as Cumulative New Additions,
otherwise assign it as Earlier.
Click Save And Update.
For details, see section "Preview".
Example data: Time Interval Grouping.xlsx
Create a self-service dataset, and upload the downloaded data table Time Interval Grouping (default to selecting all fields).
Create a Formula Column, name it Extract Time Period, and enter formula: MID(Date,12,2).
After finishing it, you can extract the ''hour'' from the date field.
Create an Assignment Column, name it Group by Time Interval, select Group Assignment, group the extracted fields, and click OK.
If you want to know the number of times in each time period, you can add a Summary Column called Time Distribution.
滑鼠選中內容,快速回饋問題
滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。
不再提示
10s後關閉
Submitted successfully
Network busy