3

I have an attribute table in my QGIS print layout that only includes features within the map extent. I want that table to only show columns that have non-NULL values for that feature set, i.e. if the column has all NULL values then don't display that column. Is there a way to achieve this?

1 Answer 1

3

In the Print layout's Item Properties of the attribute table,

  • check the box Show only features visible within a map and select the respective map and
  • check the box Filter with and insert this expression "value" is not NULL

Attribute table with only the features visible in the map; the yellow points have content of NULL for the field value and are thus excluded from the attribute table: enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.