Important: The following procedures and subsections assume that you have properly configured and built all relevant group hierarchies.
A filter is used to focus on a subset of data points within a rollup. For instance, a rollup might collect information from many meters for a given uniform data code (UDC), but you only want to use information from a subset of those meters. A filter enables you to focus on that subset.
Filters are inclusive, which means that they include only facilities that meet filter criteria, not those that do not meet filter criteria. They are based on one or more facility attribute values or group node attribute values.
Define filters using the General Data Fields located on the Application page of the relevant rollup HyperPoint in the Point Service (PNT). Short filters (20 characters or less) can be defined directly on the Application page, while long filters (more than 20 characters) must reference a group node attribute of the relevant summary group node.
For more information, see the subsections below:
For general information about group rollups, see Group Rollups.
For information about Facility Service (FAC) attributes, see Facility Attributes.
For information about Group Service (GRP) attributes, see Node Category, Type, and Attribute Identifiers.
To Create a Short Filter (20 Characters or Less)
Note: In order to filter by an attribute, you might need to add a new facility attribute and/or value to the relevant facility record or add a new group node attribute and/or value to the relevant group record.
To Create a Long Filter (More Than 20 Characters)
Apply this filter in the General 1 field (if under 20 characters) or General 3 field (if over 20 characters) on the Application page of the relevant rollup HyperPoint property in the PNT Editor.
F:facility_attrib=value
Example
F:facility_attr2=Floyd would include only those facilities for which the facility text attribute 2 has the value Floyd.
| Parameter | Definition | Options |
|---|---|---|
|
F: |
FAC directory |
F: |
|
facility_attrib |
Generic facility attribute name |
Fac_Info_0, Fac_Info_1, facility_attr0 through facility_attr9, and facility_table0 through facility_table19 |
|
value |
Attribute value |
Any valid value for the specified facility attribute Note: If the attribute is a table attribute, the value must equal the table entry, not the entry description. For example, F:facility_table1=R1 would filter out all facilities except those for which facility table attribute 1 equals R1 (R1 is the entry; Route 1 is the description). |
Apply this filter in the General 1 field (if under 20 characters) or General 3 field (if over 20 characters) on the Application page of the relevant rollup HyperPoint property sheet Point Service (PNT).
Note: If you filter based on a group attribute that is mapped to a facility attribute and you change the facility attribute value, you must rebuild the group to reflect the change.
~attrn=value
Example
~attr1=SALESMETER would include only those facilities for which group attribute 1 has the value SALESMETER.
| Parameter | Definition | Options |
|---|---|---|
|
Group node attribute ID |
Valid options are ~attr0 through ~attr9 At the leaf-node level, some group node attributes are populated automatically with facility attribute values when the group is generated using the Group Service Explorer. These group node attributes map as follows:
|
|
|
value |
Attribute value |
Any valid value for the specified attribute |
The General Data Fields on the Application page of a point property sheet are used to define filters and references to attributes containing filters. The following table describes the various data fields and their uses.
Note: Filter values cannot contain wildcards. Attribute names and attribute values are not case sensitive.
| Field | Description |
|---|---|
|
Use this field to specify a filter definition. You can use facility attributes or group node attributes. This field is a maximum of 20 characters. Use the field General 3 to reference a Group Service (GRP) attribute if the filter definition exceeds 20 characters. |
|
|
Use this field to change the leaf node type of a node that is a child of a summary group node. By default, filtering is based on leaf nodes that are of the type Facility (~type=~F). This filter option works in conjunction with the General 1 and/or General 3 options. The only reason a leaf node would not be a facility type is if the group were manually created. |
|
|
Use this field to specify a reference to a Group Service (GRP) attribute that contains a facility attribute filter definition. This field is useful a the filter string is too long to fit in the General 1 field. For example, if the value used in the General 3 field is ~attr8, group node attribute 8 contains the relevant facility attribute filter information. View the group node in the Group Service Explorer. Group node attributes 4 through 7 allow up to 40 characters. Group node attributes 8 and 9 allow up to 60 characters. |