Time Interval Calculation

  • Last update:  2023-09-26
  • Overview

    Preview

    You may need to calculate the interval between two time fields, such as the interval between Contract Signing Time and Registration Time.

    0.png

    Implementation Method

    The time interval can be calculated through the DATESUBDATE function or the Time Interval button on the data editing page.

    Calculating Time Interval Through Formula Column

    Sample data: Contract Facts Table.xlsx

    Creating an Analysis Subject

    Create an analysis subject and upload the sample data.

    1.png

    Calculating Time Interval

    Choose More > Time Interval.

    2.png

    Name the added column as Time Interval (Day). Set the Time Interval to Contract Signing Time - Registration Time, Unit to Day(s), and click OK.

    3.png

    Click Save All and Update.

    Demonstration

    For the demonstration of this KPI card, see the second figure in section "Preview".

    Calculating Time Interval Through the DATESUBDATE Function

    Method 1: Data Editing

    Adding Data

    Choose > Local Excel > Upload Data on the data editing page to upload the sample data.

    4.png

    Adding a Formula Column

    Click Formula Column and name the added column as Time Interval (Day). Enter the formula DATESUBDATE(Contract Signing Time,Registration Time,"d") and click OK.

    5.png

    iconNote:
    Fields in the formula need to be selected from the left area and cannot be entered manually.

    Click Save All and Update.

    Method 2: Component Editing

    Adding a Component

    Click the Component tab in the bottom left corner to enter the component editing page.

    6.png

    Adding a Calculation Indicator

    Choose  > Add Calculation Indicator. Name the added column as Time Interval (Day), enter the formula DATESUBDATE(Contract Signing Time,Registration Time,"d") and click OK.

    7.png

    Demonstration

    Drag the Time Interval (Day) field into the analysis area and the demonstration is shown in the following figure.

    8.png


    附件列表


    主题: Adding and Editing Data
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy