If you create a calculated item with a periodic function, you might see an "Invalid number" error that prevents you from clicking OK to create the item:
This error refers to the 0 that is set for the outer interval in the above example.
To work around the issue, change the interval to 1, and then back to 0 or to another desired number.