# Totals over sub accounts

**URL:** <https://forum.plaintextaccounting.org/t/totals-over-sub-accounts/260>\
**Category:** General\
**Tags:** hledger\
**Created:** [May 3, 2024, 4:37pm UTC](https://forum.plaintextaccounting.org/t/totals-over-sub-accounts/260 "2024-05-03T16:37:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![b1g3ar5](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@b1g3ar5](https://forum.plaintextaccounting.org/u/b1g3ar5)\
**Post date:** [May 3, 2024, 4:37pm UTC](https://forum.plaintextaccounting.org/t/totals-over-sub-accounts/260/1 "2024-05-03T16:37:55Z")

</div>

I just upgraded to the new hledger (from a very old one, probably).

The bal command with csv output used to show totals over sub accounts

eg:

bank 100  
bank:current 50  
bank:savings 50

Now it just shows the sub accounts

bank:current 50  
bank:savings 50

Is there a way of producing the old output?

Thanks.

Nick

---

<div class="post-metadata">

**Author:** ![simonmic](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.plaintextaccounting.org/simonmic/32/1_2.png) [@simonmic](https://forum.plaintextaccounting.org/u/simonmic)\
**Post date:** [May 3, 2024, 4:46pm UTC](https://forum.plaintextaccounting.org/t/totals-over-sub-accounts/260/2 "2024-05-03T16:46:10Z")

</div>

Add -t/--tree, probably ?

---

<div class="post-metadata">

**Author:** ![b1g3ar5](https://avatars.discourse-cdn.com/v4/letter/b/9dc877/32.png) [@b1g3ar5](https://forum.plaintextaccounting.org/u/b1g3ar5)\
**Post date:** [May 3, 2024, 4:48pm UTC](https://forum.plaintextaccounting.org/t/totals-over-sub-accounts/260/3 "2024-05-03T16:48:40Z")

</div>

Thanks, I think that works.

N
