From ce208dd3d441e7d2a7477c24f2fe62510c2838b3 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Wed, 4 Jan 2023 21:59:21 -1000 Subject: [PATCH] ;doc: mention pivoting on a tag with multiple values (#1950) --- hledger/hledger.m4.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hledger/hledger.m4.md b/hledger/hledger.m4.md index ea3bb480b9b..6aa2e011394 100644 --- a/hledger/hledger.m4.md +++ b/hledger/hledger.m4.md @@ -4715,9 +4715,9 @@ see the discussion at [#1625](https://github.com/simonmichael/hledger/issues/162 Normally, hledger groups and sums amounts within each account. The `--pivot FIELD` option substitutes some other transaction field for account names, causing amounts to be grouped and summed by that field's value instead. -FIELD can be any of the transaction fields `status`, `code`, `description`, `payee`, `note`, -or a tag name. -Values containing `colon:separated:parts` will form a hierarchy, as account names do. +FIELD can be any of the transaction fields `status`, `code`, `description`, `payee`, `note`, or a tag name. +When pivoting on a tag and a posting has multiple values of that tag, only the first value is displayed. +Values containing `colon:separated:parts` will be displayed hierarchically, like account names. Some examples: