On 2026-05-18 08:35, [email protected] wrote: > How can I get the total number of transactions in a GNU Cash DB for a given > time period? > > I need to determine the total number of transaction entries in my GNU Cash DB > for the last accounting year. I don't want to manually count them. > > I couldn't find a built-in GNU Cash report that includes the count of the > transactions for the selected accounts for the selected time range. > > Is there some report (or python script) that I can use to sum the total > number of transactions for all accounts for a given time range in GNU Cash? File » Export » Export Transactions to CSV
The wizard that opens says there will be one row for each transaction, so all you have to do is open the exported file and look at the number of the last row used. It also says "While a transaction may have splits in several of the selected accounts it will only be exported once" so you don't have to worry about double counting. Stan Brown Tehachapi, CA, USA https://BrownMath.com _______________________________________________ gnucash-user mailing list [email protected] To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user ----- Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
