Skip to content

Commit

Permalink
;doc: mention pivoting on a tag with multiple values (#1950)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichael committed Jan 5, 2023
1 parent af9f8c0 commit ce208dd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hledger/hledger.m4.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit ce208dd

Please sign in to comment.