Efficient calculations
Calculations may be constructed differently and yet accomplish the same thing, for instance:
Scenario I |
Scenario II |
|
|
Since either of the preceding scenarios will return the desired results, which should be used? The deciding factor is performance. This section will explore what to do and what to avoid when creating calculated fields in order to maximize performance.
Boolean/Numbers > Date > String
As this header suggests, calculations that use Boolean values or numbers are more performant than those that use dates. Calculations that use dates, in...