Page 1 of 1

Keep categories on Zero amount transactions

Posted: 04 August 2022, 12:43
by AlecFasani
Hi Angeman,

Hope you are well.

That's just a simple question/suggestion/request.

Is there a way to keep the splits category on Zero amount transactions?
At the moment if a transaction has the amount 0 the category disappears.

Sometimes I need to record or schedule transactions with Zero amount so I can know that there is/was no expense related to that category on that particular month.

Having the transaction there, even with 0 amount helps on reports, charts and searches by category not to mention calculating averages.

Cheers
Have a good day.

Re: Keep categories on Zero amount transactions

Posted: 04 August 2022, 17:47
by Angeman
It's already the case. The "categories progress bar" in the transactions list remains gray when the amount is 0, this is normal but the category is still there.

Re: Keep categories on Zero amount transactions

Posted: 11 August 2022, 19:12
by AlecFasani
Angeman wrote: 04 August 2022, 17:47 It's already the case. The "categories progress bar" in the transactions list remains gray when the amount is 0, this is normal but the category is still there.
Ok, I see that.
Is there any particular reason why the progress bar can't keep the category?
Just asking ;-)

Cheers

Re: Keep categories on Zero amount transactions

Posted: 12 August 2022, 02:52
by Angeman
The progress bar uses the "ratio" field of the splits to draw itself. When the transaction uses the sum of the splits to computes its amount (this box is checked by default), the ratio of the split can't be computed because we have 0 (split amount) divided by 0 (transaction amount). This is why it's not drawn.

Re: Keep categories on Zero amount transactions

Posted: 12 August 2022, 21:33
by AlecFasani
Angeman wrote: 12 August 2022, 02:52 The progress bar uses the "ratio" field of the splits to draw itself. When the transaction uses the sum of the splits to computes its amount (this box is checked by default), the ratio of the split can't be computed because we have 0 (split amount) divided by 0 (transaction amount). This is why it's not drawn.
Got it. Thanks ;-)