It used to be that with a ledger entry like this:
2023-03-23 Family Mart | Ice cream
Assets:Cash -115.00 TWD
Expenses:Food 115.00 TWD
We could run the following query hledger is --pivot payee and get an income statement showing 115 TWD paid to Family Mart.
I believe that this broke starting with hledger 1.27 and it now generates an empty income statement.
The issue seems to be that Assets:Cash is not filtered out prior to replacing all account names with payee, so we get an income statement for this:
2023-03-23 Family Mart | Ice cream
Family Mart -115.00 TWD
Family Mart 115.00 TWD
As a workaround we can instead run this query: hledger bal Expenses --pivot payee which does give the expected result, but here we explicitly filter on Expenses.
It used to be that with a ledger entry like this:
We could run the following query
hledger is --pivot payeeand get an income statement showing 115 TWD paid to Family Mart.I believe that this broke starting with hledger 1.27 and it now generates an empty income statement.
The issue seems to be that
Assets:Cashis not filtered out prior to replacing all account names withpayee, so we get an income statement for this:As a workaround we can instead run this query:
hledger bal Expenses --pivot payeewhich does give the expected result, but here we explicitly filter onExpenses.