Calculations allow you to manipulate and transform data in your workflows. Use them in automations, layouts, and data processing to create dynamic, intelligent applications.

Quick Start

New to calculations? Start with these common patterns that solve 80% of business needs.

Most Used Functions

Business Examples

Calculate Monthly Sales Performance

// Total monthly revenue
SUM(ORDERS."Amount")

// Average order value
AVERAGE(ORDERS."Amount")

// Top performing month
MAX_AGGREGATE(MONTHLY_SALES."Revenue")

// Sales growth percentage
ROUND((THIS_MONTH."Revenue" - LAST_MONTH."Revenue") / LAST_MONTH."Revenue" * 100, 2)

// High-value customer identification
IF(CUSTOMERS."TotalSpent" > 5000, 'Enterprise', 
   IF(CUSTOMERS."TotalSpent" > 1000, 'Premium', 'Standard'))

Function Reference

Functions are organized by category. Use the search function (Ctrl/Cmd + K) to quickly find specific functions.

Logical Functions

Numeric Functions

Date and Time Functions

Text Functions

Mathematical Functions

Special Functions

Troubleshooting

Best Practices

Follow these guidelines for reliable, maintainable calculations.

Naming and Structure

  • Use descriptive field names that clearly indicate purpose
  • Keep calculations simple and readable
  • Break complex logic into multiple steps
  • Document complex calculations with comments

Data Validation

  • Always check for blank values using ISBLANK()
  • Validate data types before performing operations
  • Use IF statements to handle edge cases
  • Test calculations with various data scenarios

Performance Optimization

  • Avoid deeply nested functions
  • Use intermediate calculations for complex logic
  • Consider data volume when designing calculations
  • Test performance with realistic data sets

Error Prevention

  • Use proper field reference syntax: HANDLE.”FieldName”
  • Always use single quotes for text literals
  • Verify field relationships before using aggregate functions
  • Test calculations thoroughly before deployment
Remember: String literals should always use single quotes (”), never double quotes ("").

Need More Help?