Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reverse the date order in the report header #2306

Open
llcc opened this issue Dec 21, 2024 · 5 comments
Open

reverse the date order in the report header #2306

llcc opened this issue Dec 21, 2024 · 5 comments
Labels
A-WISH Some kind of improvement request, hare-brained proposal, or plea. balance balancesheet cashflow incomestatement

Comments

@llcc
Copy link

llcc commented Dec 21, 2024

Hi @simonmichael.

Is it possible to reverse the date order in the report? Displaying the latest account status first could make it more convenient to read in my opinion, especially when the columns extend beyond the screen.

now:
image

wish:
image

@simonmichael
Copy link
Owner

We don't currently have that feature, a PR would be needed.

Though it's easier to get data reversed if you transpose, eg

hledger bal assets -M --transpose --pretty=n | tac

@simonmichael simonmichael added A-WISH Some kind of improvement request, hare-brained proposal, or plea. balance balancesheet incomestatement cashflow labels Dec 21, 2024
@llcc
Copy link
Author

llcc commented Dec 21, 2024

Doesn't tac reverse the order of lines, not columns?

@simonmichael
Copy link
Owner

Yes. --transpose converts the columns to rows (and --pretty=n removes the inner borders).

@simonmichael
Copy link
Owner

Ie, I'm sharing a possible workaround for seeing the most recent periods first - it's not what you asked for, I know.

@the-solipsist
Copy link
Collaborator

Adding as a note here: For this workaround, you'd probably want to limit --depth=1 or --depth=2, as otherwise it'll just be a mess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-WISH Some kind of improvement request, hare-brained proposal, or plea. balance balancesheet cashflow incomestatement
Projects
None yet
Development

No branches or pull requests

3 participants