# Aggregating citations for single page locality reports

**URL:** <https://speciforum.org/t/aggregating-citations-for-single-page-locality-reports/3618>\
**Category:** Office Hours\
**Created:** [May 14, 2026, 7:30pm UTC](https://speciforum.org/t/aggregating-citations-for-single-page-locality-reports/3618 "2026-05-14T19:30:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sagebiel](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Sagebiel](https://speciforum.org/u/Sagebiel)\
**Post date:** [May 14, 2026, 7:30pm UTC](https://speciforum.org/t/aggregating-citations-for-single-page-locality-reports/3618/1 "2026-05-14T19:30:52Z")

</div>

How do we aggregate multiple query returns for effective reports and labels? Example - I want to print a locality report on a single page that includes all of the citations to that locality. I build a locality query to build my locality report, but the result is separate results for each citation. Likewise for multiple collectors at a single field site or specimen.

---

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [May 14, 2026, 7:31pm UTC](https://speciforum.org/t/aggregating-citations-for-single-page-locality-reports/3618/2 "2026-05-14T19:31:44Z")

</div>

Every row returned by a query corresponds to a new _detail band_ in a report or label. If your Locality query returns multiple rows, it indicates that a one-to-many relationship is present, multiple values are returned, and it is not aggregated.

To get one row per record or locality, aggregate the related records instead of returning them as separate rows. In the query builder, select the relationship field that is aggregated (for example, `Locality → Locality Citation` or `Collecting Event → Collectors`), and use the **table aggregation** so the related records are combined into a single text string.

You can customize the aggregation’s separator, sort field, limit, and table format to control how the items appear in query results, reports, and/or labels (see [Editing Table Formats and Aggregations](https://speciforum.org/t/editing-table-formats-and-aggregations/1558)). This keeps the report at one row per locality while still displaying all citations or collectors in a single, readable line. The limitation is that you cannot pull out individual fields into new column values in the query results to be shown independently on the label or report.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/2X/1/18a843c97bc32b40e8ad0e035755bc88ffaacaf7.svg) [@system](https://speciforum.org/u/system)\
**Post date:** [May 16, 2026, 7:32pm UTC](https://speciforum.org/t/aggregating-citations-for-single-page-locality-reports/3618/3 "2026-05-16T19:32:16Z")

</div>

Closed on May 16, 2026, 7:32pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
