A SQL expression that defines the measure. Can include field references using ${} syntax, raw SQL functions, or arithmetic operations.Field type is implicit in Omni, and defined based upon the underlying field’s database type. To change the type, CAST the field (for example, sql: ${zip_code}::string).
When referencing other fields, use Omni field references (${view.name}) instead of the raw database name. For example, ${orders.id}