Table function#

🔙Back to Homepage

Add field#

  • Add a field to the attribute table.

Attention

Depending on the information to be entered in the attribute field, the correct data type must be selected.

Example: Add a field for population density, data type: Float or Double or Real (floating point numbers)

Delete field#

  • Delete a field from the attribute table.

Example: Delete all unused/unnecessary fields from the layer.

Calculate Field#

  • Calculate the attribute values for a field, e.g. based on the values of other fields.

  • In QGIS you can create a new field or update an existing field.

Attention

Check if the data type of the field and your calculation match. For example, if you are calculating a ratio (e.g. density), the field should not be of type integer.

Example: Calculate the population density using the already existing fields Population and Area.

Basic Statistics for Fields#

  • Generates a statistic for a specific field in the attribute table.

Example: Statistics for the field population density for all countries, what is the maximum value, average, etc.?

Statistics by Categories#

  • Create aggregated statistics for categories.

  • For which fields in the attribute table should statistics be calculated?

  • Which field in the attribute table contains the category?

Example: How many cities with more than 300,000 inhabitants are there per country? For each country: How many people live in the largest agglomeration?