LP#1789679: add illustrative example to release notes
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 24 Aug 2020 16:10:14 +0000 (12:10 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 24 Aug 2020 16:10:14 +0000 (12:10 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
docs/RELEASE_NOTES_NEXT/Reports/report_subtotals.adoc

index bf70f6e..57032e6 100644 (file)
@@ -9,3 +9,15 @@ This takes advantage of PostreSQL's built-in ROLLUP feature.  See the
 PostgreSQL documentation for details: 
 
 https://www.postgresql.org/docs/9.6/queries-table-expressions.html#QUERIES-GROUPING-SETS
+
+An example of a report that could use this new feature is
+one based on the Circulation source with the following fields:
+
+ * Circulation -> Checkout / Renewal Library -> Short (Policy) Name (Raw Data)
+ * Circulation -> Checkout Date/Time (Year)
+ * Circulation -> Shelving Location -> Name (Raw Data)
+ * Circulation -> Circ ID (Count Distinct)
+
+Turning on the "Calculate grouping subtotals" checkbox would make
+the report show subtotals for each combination of
+short name, checkout year, and shelving location name.