Relationship filters are amongst the most powerful features of Strategy Developer 9.4.x-10.x. The relationship filter functionality applies to the Filter Editor, the Report Editor and the Custom Group Editor.
A Relationship filter allows certain attributes to be filtered by their relationship to other attributes. It permits users to create a set of elements from an attribute based on their relationship to another attribute. In essence, the relationship filter is like a result set of a report. However, with a relationship filter, users do not explicitly create this report.
Relationship filters can be used in the following examples:
Comparison of Relationship Filters to a regular report:
A regular report, that users can create using Report Editor, includes a filter and a template. A relationship filter is also like a report. It has the equivalents of a filter and template in its definition. Users can create a relationship filter qualification using the advanced qualification dialog in the filter section of the Report Editor.
The syntax for a relationship filter is the following:
< Relation; (Filter Qualification) > {List of Output Attributes}
Catalog, 'Bed Lounge' and 'Beer-Making Kit':
This section details different examples that use relationship filters to find a list of catalogs. The entire list of catalogs is as follows:

Catalogs with 'Beer-Making Kit':
For a list of catalogs that carry Item, 'Beer-Making Kit,' users can apply the relationship filter with the REL_CAT_ITEM table as the relation and Catalog as the list of output attributes.

Catalogs that carry 'Bed Lounge' and 'Beer-Making Kit':
To find a list of catalogs that carry Items 'Bed Lounge' and 'Beer-Making Kit,' create two relationship filters, one for each item. Apply the logical operators(AND) to group the sets of data from each of the relationship filters.

Catalogs that carry 'Bed Lounge' but not 'Beer-Making Kit':
To find a list of catalogs that carry 'Bed Lounge' but not 'Beer-Making Kit,' create two relationship filters, one for each item. Then apply logical operators to eliminate a set of data 'in(Catalogs that carry 'Beer-Making Kit').'

Intersection operator ('IntersectIn') in Relationship filter:
To create a report that lists catalogs that carry 'Bed Lounge' and 'Beer-Making Kit', two relationship filters are created for this purpose, one for each Item. Moreover, there is a way to create one relationship filter to include many items: the IntersectIn operator. It can create an attribute form list qualification (Item@Desc IntersectIn ("Bed Lounge", "Beer-Making Kit").
