NOW Function

用例:
As a user, I want to display the current time (e.g. 9/12/2018 5:00AM) in a cell. This should behave similar to the "NOW" function in Excel.

Business case:
When a user presses a button, we want to display the last time the button was pressed.

9 Comments
AnaplanIdeas
社区Manager
Status changed to:Considered for Future Roadmap
GrahamJordan
Contributor

Bump!

dp009
Occasional Contributor

Bump!

Must needed feature.

Ujourney
Contributor

Needed!

duncan_pearson
Occasional Contributor

We would need to know some more about what all of you want NOW() for. The only reason mentioned here is to display the current time to a user in the user interface. If that isallthat is needed it would be better to have a specific UI widget for that. The dashboard only communicates with the data in the model when a user interacts with it, so if it were a cell in a grid showing the result of a NOW function then it would only update when the user interacted.

I suspect that there are other reasons for having a NOW function, and knowing what they are will help in the design. One question that immediately springs to mind is at what granularity should a NOW function change the results it returns. Should it be seconds, minutes, hours? Another is timezone. All Anaplan models run on machines where the clock is set to UTC (Standard time in London). However some models are for users in a different timezone (e.g. Pacific) and some are for users spread across multiple timezones. What would people need? Any variation in this respect would have to be specified in parameters to the function. This is not like Excel where it is on a particular user's machine where the timezone is picked up from the user's operating system.

The granularity is also significant when considering recalculation. When your dashboard reads from the Anaplan model, the server applies any cell updates and then recalculates those cells of the model that have changed as a result. For a model in which there is little data-entry this recalculation will be insignificant and performance will be good. If a NOW function was ticking over every second then the model would need to be updated on每一个interaction. The performance impact of this would need to be considered. We are currently working on the TODAY function which has a number of similar questions. However the granularity of change of TODAY is much less and so the performance impact will be minimal.

Looking forward to your feedback.

johan_vangerwen
Frequent Contributor

@duncan_pearson对于我所拥有的情况,只有今天()函数才是相关的,因为现在我的用例()不需要。不确定我们现在需要什么(计划)用例()

As for the mentioned use case in the beginning of this thread, perhaps it is better to be able to use the logging data and have a function to display part of the logging information.

JASONDANIELSON
新贡献者

Bump.

在任何项目和大多数用例中,获得当前日期或日期时间的能力是关键功能。我可能不是为了整个社区而发言,但是我猜测很大一部分的建模者不关心如何和更多的功能。有绩效考虑(当然)任何可行的方法来拉动当前日期和/或日期时间,将对当今可用的内容进行巨大改进,并且可以使我们能够直接从系统中获得此信息而没有其他构建,这意味着我们是我们专注于提供结果,而不是花费时间和精力来产生这些数据。

david.savarin
SuperContributor

Our current use cases would be :

- input a date or timestamp in items created through actions without going through users inputing a date / time

- 测试日期作为截止日期,以累积特定日期。有时,我们可以拥有带有截止日期的数据,即需要计算才能排除。

一个选项是允许在NOW()函数中允许传递频率更新(日常,每小时...)参数作为参数以允许操作以定义的频率重新计算吗?

Erpacca
新贡献者

Bump,

According to my case, I can say that the NOW () function would help track the time in which this or that action worked out, especially when there are more than 10 of them in the process or they are very long.

Waking up and looking at the history or waiting for the backlog of completed processes from the connector is quite inconvenient. When I can make a board in which I can see the current status at the moment. Up to the time of failure (again, this is especially true when your anaplan processes huge amounts of data and twisting the logs in search of an error takes a lot of time and requires a computer, and a phone is enough).