0

Is it possible to include in the QGIS report composer a fields group section with tables that are related on a 1 to many relationship? For example a point layer "HOUSES", with a KEY that relates to a table "FAM" that has a list of family members data (name, sex, age , etc). But I can´t get it to work in qgis report composer.

UPDATE:

enter image description here

  • What did u do so far ? Where is the "blocking point" ? – snaileater Aug 19 at 9:16
1

You can add an Attribute table and use a filter expression to get to corresponding data. If you have an Attlas/Group Layer with the column "key", and you want to get the table fam that also has the column "key", the item properties of the attribute table would look like that:

enter image description here

  • Hi @nepluisse I have used your approach but no success, my tables look like the file in attachement – Carlos Rivas Aug 19 at 16:18
  • 2
    @CarlosRivas Your expression has the @atlas_featureid variable where it should have the @atlas_feature variable. – csk Aug 19 at 17:10
  • Solve! Thank you very much – Carlos Rivas Aug 19 at 22:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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