issues with --pivot date

10 views
Skip to first unread message

lipp f

unread,
Sep 11, 2025, 7:06:34 PM (6 days ago) Sep 11
to Ledger
$LEDGER reg assets --exchange CAD --pivot date # returns 5 entries for same day, 2025-09-05  

$LEDGER reg assets --exchange CAD --daily --pivot date # misses many days, no records after 2025-09-05 (it should produce daily <Adjustment>)

Also, the end balance is different between cases. What am I doing wrong?

John Wiegley

unread,
Sep 12, 2025, 12:57:25 AM (6 days ago) Sep 12
to lipp f, Ledger
Oh, it’s just very, very likely that the periodic and the pivot reports are
incompatible. These reports are written just using format strings and
filtering on the backend -- in order to make them as easy to implement and
maintain as possible -- but not every possible combination has been tested,
and there are several that are known to be incompatible, unfortunately.

If you could open up an issue on GitHub with your input and the outputs you
expected to see, I’d be happy to put my AI on it to see if the problem is
perhaps an easy one to finish up by hand.

John
Reply all
Reply to author
Forward
0 new messages