;doc: mention pivoting on a tag with multiple values (#1950)

This commit is contained in:
Simon Michael 2023-01-04 21:59:21 -10:00
parent af9f8c0416
commit ce208dd3d4

View File

@ -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: