Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from this space and version 9.3
Info

Page under construction

Crea i filtri, o modificali, utilizzando i seguenti operatori logici (formule da utilizzare per ridurre o espandere i risultati della ricerca fatta con il filtro):  

...

In this page

Table of Contents
maxLevel4

Filters and conditions

A filter in MailUp is a way to query the recipients' database based on one or more conditions.

A filter can contain multiple conditions. The conditions can be applied using either the AND or the OR boolean operator.

  • AND:  all the conditions in the filter must be true

    Expand
    titleEsempiExamples


    Donna
    Condizione 1First ConditionOperatoreOperatorCondizione 2Risultato del filtroSecond ConditionFilter Results
    FemaleANDOcchi verdiDonne con occhi verdiOcchi verdiCaliforniaFemale customers who reside in California
    MaleANDOcchi bluNessun risultato (non esistono persone con occhi verdi e blu contemporaneamente)
    OR:  almeno una delle condizioni deve verificarsi
    FerrariMale customers whose favorite car is a Ferrari



  • OR:  at least one of the conditions specified in the filter must be true

    Expand
    titleEsempiExamples


    Donna
    Condizione 1First ConditionOperatoreOperatorCondizione 2Risultato del filtroSecond ConditionFilter Results
    CaliforniaOROcchi verdiDonne + persone con occhi verdiOcchi verdiOregonCustomers who live in California and who live in Oregon
    PorscheOROcchi bluPersone con occhi verdi o blu

Per ciascuna sezione del filtro, specifica i dati che vengono richiesti e seleziona la condizione che deve verificarsi.

Info

In particolare, nei filtri anagrafici, nota che la condizione è nullo significa che quel campo non è mai stato valorizzato in passato, mentre è vuoto significa che il campo è stato svuotato ma in precedenza aveva un valore.

Quindi, se selezioni "non è nullo", potresti avere dei campi vuoti ma che in passato erano valorizzati.

Se scegli di usare in un filtro una condizione contiene (LIKE) o non contiene (NOT LIKE) puoi utilizzare anche i caratteri jolly per specificare il valore che cerchi.

Expand
titleBreve lista dei caratteri jolly
CarattereDescrizioneRisultato del filtro
%Contiene esattamente la stringa di 1 o più caratteri specificataRossi%: verranno filtrati solo i destinatari il cui campo anagrafico selezionato contiene la parola Rossi
_Carattere singolo jolly_ossi: verranno filtrati i destinatari il cui campo anagrafico selezionato è composto da 4 lettere e termina in "ossi" (esempio: rossi, fossi, mossi...)
[ ]Carattere singolo compreso nell'intervallo ([a-f]) o set ([abcdef]) specificato[B-D]ossi: verranno filtrati i destinatari il cui campo anagrafico selezionato termina in "ossi" e inizia con B,C o D (esempio: Bossi, Cossi, Dossi)
[rfm]ossi: verranno filtrati i destinatari il cui campo anagrafico selezionato termina in "ossi" e inizia con r,f o m (esempio: rossi, fossi, mossi)
[^]Carattere singolo non compreso nell'intervallo ([^a-f]) o set ([^abcdef]) specificatoRoss[^i]%: verranno filtrati i destinatari il cui campo anagrafico selezionato inizia con "Ross" e la cui lettera successiva è diversa da "i" (esempio: Rosso, Rossa,...)

...

  • FerrariCustomers whose favorite car is either a Porsche or a Ferrari



A filter can contain more than one condition or sub-conditions, up to 20.

For example: ((A) AND ALSO (B)) OR (C) means that the nested conditions A and B or condition C must be true at the same time.

As shown in the images below:

Image Added

Image Added


How to add conditions

Sub-conditions

Select the "+" icon next to the main condition and select the logical operator

Image Added

Conditions

Select "Add a condition"

Image Added

And then select the logical operator

Image Added

Tip

You can change the selected logical operator at any time by clicking on it.


Please note the following:

  • You can easily add and remove conditions in the filter using the corresponding buttons.
  • You can concatenate multiple conditions of different kinds. For example, (A) AND (B) OR (C) means that the filter is a match either when A and B are true, or when C is true.
  • When using Profile filters, if the Type is set to Text, Integer or Decimal, then the Test will contain both "is/is not NULL" and "is/is not EMPTY". A "null" field means that it never contained any value. It's never been filled out. An "empty" field means a field that does not contain any value, but it might have contained a value in the past. 

Wildcards

If you choose to use the (LIKE) or (NOT LIKE) you can use wildcards in your search values.

Expand
titleA quick intro to wild cards


WildcardDescriptionFilter results
%Contains exactly the string specifiedSmith%: a search using this filter will return only recipients that have exactly "Smith" in that field
_Contains other characters plus the string specified_smith: a search using this filter will return recipients that have a value that ends in "smith" in that field (e.g. Blacksmith, Goldsmith, etc.)
[ ]Contains a specific character contained in an interval ([a-f]) or a set of characters ([abcdef]) before or after the specified string[B-L]and: a search using this filter will return recipients that have a value that ends in "and" in that field and start with the letter B to L (e.g. "band" or "land")
[BC]an: a search using this filter will return recipients that have a value that ends in "an" in that field and start with the letter B or C (e.g. "ban" or "can")
[^]Contains a specific characters NOT included an interval ([^a-f]) or a set of characters ([^abcdef]) before or after the specified stringRed[^s]%: a search using this filter will return recipients that have a value that starts with "Red", excluding the ones that start with "Reds"



Testing a filter

You can also easily test a filter as you create it or edit it. You can do so by performing a real-time email or SMS search - in the same page where you set conditions - that returns the number of subscribers that match the filter.

Image Added