5. Attribute Tables¶
Goal: Be fluent with ArcGIS Pro's attribute table — adding fields, calculating values, sorting, and statistics.
→ For concepts, see Attribute Tables (roadmap).
Open the table¶
Right-click a layer → Attribute Table, or press Ctrl+T (with the layer selected).
Anatomy¶
┌──────────────────────────────────────────────┐
│ Toolbar [+ Add field] [Calculate] [Show…] │
├──────────────────────────────────────────────┤
│ ObjectID | Name | Pop | Geometry │
├──────────┼───────────┼─────────┼─────────────┤
│ 1 | Atlanta | 498715 | Polygon │
│ 2 | Athens | 127315 | Polygon │
└──────────────────────────────────────────────┘
Status bar: 2 of 159 selected | Total: 159 features
Add a field¶
- Open the table.
- Click Add Field (or Fields View for batch editing).
- In Fields View, set:
- Name (no spaces, ≤64 chars)
- Alias (display name, can have spaces)
- Type (Long, Double, Text, Date)
- Length (Text only)
- Allow Null
- Save (top of Fields ribbon).
Always set an alias
MEDIAN_INC_2020 is the field name. "Median income (2020)" is what shows in the table header and legend.
Calculate field values¶
Right-click a column header → Calculate Field.
Sort¶
Click any column header → toggles ascending/descending. Hold Ctrl and click a second header for multi-column sort.
Statistics¶
Right-click a numeric column → Statistics. You get count, sum, mean, min, max, std dev. Use this constantly to sanity-check data.
Find & replace¶
Ctrl+F in the table opens Find & Replace. Useful for cleaning typos.
Show selected / All¶
Bottom of the table:
| Button | Effect |
|---|---|
| All | Show every row |
| Selected | Show only the rows currently selected on the map / by SQL |
Field types refresher¶
| Type | When |
|---|---|
| Short / Long Integer | Counts, IDs, small whole numbers |
| Float / Double | Decimals, coordinates, real measures |
| Text | ZIPs, names, codes (any leading-zero ID) |
| Date | Dates and times |
→ Detail in the roadmap entry.
Editing rows¶
To change values directly: ribbon Edit → Modify mode → click a cell → type → Enter → Save (Edit ribbon).
Editing without thinking
Edits commit on Save. Undo only works for the current session. Make a backup before bulk edits.
Practice¶
Add a derived field
- Open a counties layer's table.
- Add a field
INCOME_BIN, type Text, length 10. - Calculate it conditionally: Expression:
bin_income(!MEDIAN_INC!) - Symbolize the layer by
INCOME_BIN.
→ Next: Select by Attributes.