Using Complex U2 Conditions in Informer PRESENTER: Tim Nicholson| Director, Informer Customer Services| April 25, 2017
Agenda Order of Operations Conjunctions Compound Conditions Using Select Return List Algebra Associated Multivalues Q&A
Order of Operations Order matters? Yes and no. Top-down Parenthetical grouping (Compound Condition) Most restrictive condition first Avoid I-Descriptors/Computed Columns at top
Conjunctions AND = all conditions have to be true OR = only one condition has to be true NONE = none of the conditions are true
AND
OR
NONE
Compound Conditions Switch conjunction Parenthetical grouping – a and (b or c)
SELECT/RETURNING Same as SELECT…SAVING UNIQUE… Return distinct list of values from selected records Used to get @ID’s “Unique-ify” detailed lists
SELECT/RETURNING PERSON @ID … ORDERS @ID PERSON.NO …
List Algebra Set Operations using multiple SELECT/RETURNING conditions Conjunction determines operator List A List B
List Algebra - Intersect Use AND conjunction Values that only exist in both lists This Year Last Year
List Algebra - Union Use OR conjunction Combines Lists This Year Last Year
List Algebra - Difference Use AND with NONE Compound Condition Values that exist in one list but not the other This Year Last Year
Multivalues Field containing multiple values Limiter: Any, Every, No, When
Limiters: Any Any of the values match the condition INTEREST HEA WWW MED PARA MRNI
Limiters: Every Every value must match the condition INTEREST HEA WWW MED PARA MRNI
Limiters: No None of the values match the condition INTEREST HEA WWW PARA MRNI
Associated Multi-Values Two or more related multivalue fields Ex: Status and Status Date Use WHEN delimiter for each condition
Associated Multivalues
Thank you! Any questions?