Year-over-year calculations

48 views
Skip to first unread message

Kent R. Spillner

unread,
Jan 4, 2021, 4:48:14 PM1/4/21
to ledge...@googlegroups.com

Howdy-

 

Are there any reports or other mechanisms for calculating comparisons such as quarter-over-quarter or year-over-year?  I know how to do it manually, e.g. something along the lines of `diff -u <(ledger balance Income --begin 2019/01/01 --end 2019/03/31) <(ledger balance Income --begin 2020/01/01 --end 2020/03/31)` but I was curious if anyone has any tips or shortcuts for generating such reports.

 

(fwiw - this is related to the new PPP loans for small businesses in the US; one of the requirements is YOY gross income decline of 25% or more for any quarter in 2020)

 

Thank you in advance, and happy New Year!

 

Ihor Radchenko

unread,
Jan 4, 2021, 9:48:35 PM1/4/21
to Kent R. Spillner, ledge...@googlegroups.com
"Kent R. Spillner" <kspi...@acm.org> writes:

> Are there any reports or other mechanisms for calculating comparisons
> such as quarter-over-quarter or year-over-year?

I think ludget might be what you want.

https://gitlab.com/rjurga/ludget

Best,
Ihor

Kent R. Spillner

unread,
Jan 8, 2021, 10:26:33 PM1/8/21
to ledge...@googlegroups.com
> I think ludget might be what you want.
>
> https://gitlab.com/rjurga/ludget

Looks interesting, thanks!


Reply all
Reply to author
Forward
0 new messages