Filter Records¶
Sometimes you want to filter the records that are being stored as Detail for a Concept.
For example an address History table might hold multiple types for addresses, Home, Work etc and you want to apply a filter to only add the Home address as Detail.
If your looking to filter based on values in another History table, then this is not the Snippit for you. You need the multi-table-relationship-snip.
Rule Type Format¶
filter value
filter logic
Snippits¶
Single Filter¶
Filters based on a single value.
The syntax is dependent on the Field type that you are filtering on.
Filter on Null¶
Rule Type = Field Filter
Rule Attribute = address_type is null
Rule Attribute = address_type is not null
Filter on Flags¶
Rule Type = Field Filter
Rule Attribute = address_type is True
Rule Attribute = address_type is not True
Rule Attribute = address_type is False
Multiple Filters¶
Filters based on more than one value.
Syntax is still dependent on the Field type.
The brackets are !important.