Bug 424428 - Budget reports is wrong once you changed time interval
Summary: Budget reports is wrong once you changed time interval
Status: CONFIRMED
Alias: None
Product: kmymoney
Classification: Applications
Component: general (show other bugs)
Version: 5.0.8
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-19 15:21 UTC by antoine
Modified: 2020-07-19 17:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
default report (257.36 KB, image/png)
2020-07-19 15:21 UTC, antoine
Details
new time interval (273.66 KB, image/png)
2020-07-19 15:21 UTC, antoine
Details
sample file (5.45 KB, application/x-kmymoney)
2020-07-19 17:07 UTC, antoine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antoine 2020-07-19 15:21:18 UTC
Created attachment 130254 [details]
default report

SUMMARY


STEPS TO REPRODUCE
1. Open a KMM file and create your own budget
2. Open the report "Comparison between budgeted and realised transactions over a year"
3. Results should ok
4. Change the time interval (last 3 month), there will be a 1 month delay for the budget



SOFTWARE/OS VERSIONS
xubuntu 20.04
Comment 1 antoine 2020-07-19 15:21:43 UTC
Created attachment 130255 [details]
new time interval
Comment 2 Thomas Baumgart 2020-07-19 16:35:01 UTC
I am unable to duplicate this with the current 5.1 version. Can you either

a) check this using the current stable AppImage version or
b) provide a test file that shows the problem.

Thanks in advance.
Comment 3 antoine 2020-07-19 17:06:45 UTC
I have been able to reproduce this issue with KMyMoney-5.1.0-5ce7527-x86_64.AppImage.

I attach a file with this issue, look at Report 1 and 2 (favorites reports)
Comment 4 antoine 2020-07-19 17:07:06 UTC
Created attachment 130258 [details]
sample file
Comment 5 Thomas Baumgart 2020-07-19 17:32:30 UTC
Problem is, that budget numbers are maintained on a monthly basis and don't have a detailed date. Since your period selection for the report is the 'last three months', the report (today) starts on the 19th. Once you change the range to 'last quarter' figures are correct.

Solution would be to force the budget reports always to begin on the first of a month. I have to think about it a bit and am open for suggestions too.