反馈已提交
网络繁忙
Users sometimes need to show "how long is the current time before a certain target time" or "current time".
Example 1.
The dashboard shows how many days remain until the current time of 2021-12-31, as shown in the following figure.
Example 2.
The dashboard displays the current time as shown in the following figure.
Example 1: Use TODATE function to specify a countdown deadline, calculate the time difference between the deadline and the current time by adding a new column time difference, and convert the result to text type, and use the indicator card in the dashboard.
Example 2: Use the NOW function to get the current time and use the indicator card in the dashboard.
Randomly select a data table in FineBI and randomly select the fields as shown below.
Add a new "New column" step, name it "cut-off time", enter the formula: TODATE("2021-12-31"), and click "OK", as shown in the following figure.
Add a new "New column" step, select "time difference", name it "count down days", time difference="count down days-current time" and in days, click "OK", as shown in the figure below.
Since the count down days returned in 2.3 is of numeric type, subsequent use of the indicator card in the dashboard will result in an accumulation of count down days for all data rows, resulting in an error in the results, so it needs to be changed to a text type field, as shown below.
Rename and save the Self-Service dataset.
Create a dashboard and select the Self-Service dataset created above, select the "kpi indicator card" and drag the "count-down days_text field" field into the "Table Properties>text" column, as shown in the following figure.
Just modify the content of the text field.
See Section 1.1 of this document for details.
Select a random data set to create a dashboard, enter the component editing interface, create a calculated field, change the name to "Current Time", enter the formulaNOW(), and click "OK", as shown in the following figure.
Select the "kpi indicator card" and drag the "Current Time" field into the "Table Properties>text" column, as shown in the following figure.
Set the calculated field display type to "Year, Month, Day, Hour, Minute, and Second", as shown below.
售前咨询电话
400-811-8890转1
在线技术支持
在线QQ:800049425
热线电话:400-811-8890转2
总裁办24H投诉
热线电话:173-1278-1526
文 档反 馈
鼠标选中内容,快速反馈问题
鼠标选中存在疑惑的内容,即可快速反馈问题,我们将会跟进处理。
不再提示
10s后关闭