Use Select option with Multiple Conditions and Fields

Imagine a Table component that displays data on sales opportunities. The sales reps using the page want to filter for three different things—represented by three different fields:

  • Their assigned leads—the ones they "own" ( an OwnerID field )
  • The records they have updated ( a LastModifiedById field )
  • All records updated within a certain period, for example, "this month" ( a LastModifiedDate field )

Here's how to use multiple conditions to give users all these options on a single filter dropdown.

The goal? A filter that allows the user to select from a dropdown of pre-selected options to filter leads to display either:

  • Those the user owns
  • Those modified by the user
  • Those modified within a specified time frame

image1

Assumptions

Note: 
  • a functioning model on an object that collects data on opportunities or leads. ( In this example, we use Salesforce's Opportunity object ).

  • a Table component that model with fields for:

    • Name
    • Amount
    • Close Date and Last Modified Data
    • Last Modified by ID and Owner ID

If using a different connection, the field names indicated may be different.