Skip to content

balance column should be computed after sorting #50

Open

Description

@blais

Original report by Martin Blais (Bitbucket: blais, GitHub: blais).


This query:

SELECT date, description, tags, convert(position, 'USD'), convert(balance, 'USD'), account
WHERE account ~ 'Accommodation'
ORDER BY joinstr(tags)

does not yield the correct result because the balances aren't sorted correctly.
I believe the ability to compute a running aggregator should be something that's supported in the SQL shell rewrite.

Activity

  1. added
    bug
    on May 22, 2020
  2. transferred this issue frombeancount/beancounton Apr 3, 2022
  3. added
    enhancement
    and removed
    bug
    on Apr 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions