Pie chart evaluation sorting data by balance ignores algebraic sign
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HomeBank |
Invalid
|
Undecided
|
Unassigned |
Bug Description
1. Add some transactions with + amount and - amount.
2. Go to pie chart evaluation and configure it show you the categories by account balance in a list (like https:/
What you see:
It is e.g. sorted like this:
+10 – Got money
-5 – bought useless stuff
-2 – Lost money on street
+1 – whatever…
It seems it takes the absolute value for some reason. IMHO here this makes no sense, but it is also hard to say how it should actually sort the values.
So it may e.g. first list all positive values and then the negative ones…
–––––
But maybe it's better to tell the use case behind that: Basically I have entries in my transaction list, where I spend money. Now some days later I may get (a part of that) money back from someone else. This happens, e.g. when someone "lends" money when they have nothing to pay with and I just pay it for them and get it back afterwards.
So I add the first spending with a negative amount and the second with a positive one.
Basically what I want to do is sort the "spendings" by "account balance" value, so that these things are also included in the calculation and no "wrong" spendings are showed there.
So maybe this needs another issue. Let me know what you think.
the pie chart is a composition graph, so yes it use absolute value to compute rates relative to total, so I it is normal.
Thus the stats reports are the 1st stats existing in homebank, (so old an not well designed), I enable doing silly graph like this one, showing the balance composition, which don't really make sense.
for your usage, which is typically what occurs for professional fees, I don't see how to get a representative graph for that. Maybe requires more though, but in another ticket then.