Filtering the data source using attributes
During data source filtering, additional filter types allow you to refine which features will be returned for each layer. The attributes filter allows you to define expressions that filter features based on attributes.
- Start ArcMap.
- Open a map document that contains a graphic table element.
- Verify that you are in layout view if necessary.
-
Right-click the graphic table element and choose Properties.
The Table Properties dialog box appears.
-
If necessary, click the Data Source tab.
The Data Source tab appears.
-
Click the data source you want to use in the Data Source list on the Data Source dialog box.
The selected data source is highlighted, and the Filters button becomes available.
-
Click Filters.
The Data Filters dialog box appears.
-
Click Add Filter on the Data Filters dialog box and click Attributes Filter.
ヒント:
You can also right-click in the Filter area and click Add Combine Filter → Attributes Filter.
The Filter by attributes properties dialog box appears.
- Double-click a field name in the list at the top of the dialog box to use it with the query.
- Click an operator.
-
Click Get Unique Values.
- Double-click the value in the unique values list to use with the query.
-
Click OK on the Filter by attributes properties dialog box.
The Data Filters dialog box appears.
- If necessary, click the drop-down for Operator and change the operator type.ヒント:
These filters can be logically appended to the base selections using the And, Or, greater than (>), or less than (<) operators (but not the equal to [=] or exclusive or [XOR] operators).
- Repeat the steps to add more filters by attributes.
- To further refine data source filtering, you can copy, delete, and sort rows; copy cells; or modify properties.
- To copy a cell, right-click an operator or filter type cell and click Copy Cell.
- To copy a row, right-click an operator or filter type row and click Copy Selected Row.
- To delete a row, right-click a row and click Delete.
- To sort a row, right-click a row and click Move Up or Move Down.
- To modify or redefine the filter configurations you defined previously, right-click a row and click Properties.
-
Click OK on the Data Filters dialog box.
The Table Properties dialog box appears.
- Click OK.