Filters

Filters

Last Updated: March 21, 2023

image

A filter is a conditional applied to a Segment or a View. For its value, you can use a literal (such as a number 5, boolean true, or string enterprise) or a variable.

Supported Variables

@current_user_email()

  • Example Output: bob@example.io
  • Example Usage: Account Owner = @current_user_email()
  • Usable: Segment filters, View filters

@present()

  • Example Output: true
  • Example Usage: Account Owner != @present()
  • Usable: Segment filters, View filters

@now()

  • Example Output: 2021-02-18T21:37:48+00:00
  • Example Usage: Last Activity Date < @now()-30d
  • Usable: View filters

@start_of_day_utc()

  • Example Output: 2021-02-18T21:37:48+00:00
  • Example Usage: Trial Expiration Date > @start_of_day_utc()+5d
  • Usable: Segment filters