Since version 5 the Budgeted vs. Actual report is showing different results depending on the ticks. Monthly ticks work fine. Bi-Monthly, Quarterly or Yearly show different Budgeted values. My Kmymoney is standard package from Kubuntu 18.04, package manager shows version 5.0.1, the Help screen in Kmymoney shows 5.0.0, not entirely sure what version do I have.
It appears the issue is related to the calculation within the first column of the report. If you change the ticks as noted by Erik it only takes into account a single month of the budgeted amount in the first column when you change from Bi-Monthly, Quarterly or Yearly.
Created attachment 114797 [details] Example Configuration Attachment shows 3 screenshots with example configuration with this problem in one LibreOffice Draw document. I can confirm this bug.
Pekka - did you really intent to assign this bug to yourself? By removing it from the KMyMoney dev mailing list, it becomes invisible to them. Even if you intend to submit a patch, I don't think the assignee should change. Also, the attachment would have been better as a pdf or separate screen shots - at least my browser doesn't know what to do with the mime-type used, forcing an extra step to save before opening.
Created attachment 114804 [details] Example Configuration: Budget Config
Created attachment 114805 [details] Example Configuration: Input Config
Created attachment 114806 [details] Example Configuration: Report
(In reply to Jack from comment #3) > Pekka - did you really intent to assign this bug to yourself? By removing > it from the KMyMoney dev mailing list, it becomes invisible to them. Even > if you intend to submit a patch, I don't think the assignee should change. > Also, the attachment would have been better as a pdf or separate screen > shots - at least my browser doesn't know what to do with the mime-type used, > forcing an extra step to save before opening. Sorry, I don't know when I have it assigned to me. Eventually if I test some buttons. Now I reset assigned to default. Hope this is correct now? I have now add the screenshots as separated files.
Looks much better. Thank you. Now we just wait for someone to find and fix the cause.
Side note: simply adding the test file as well would have saved me some time.
Git commit 90c714c693edb88467fe70dcd97277a18dc8e47b by Thomas Baumgart. Committed on 07/09/2018 at 17:28. Pushed by tbaumgart into branch '5.0'. Fix Bi-Monthly, Quarterly or Yearly budget reports FIXED-IN: 5.0.2 M +1 -1 kmymoney/plugins/views/reports/core/pivottable.cpp https://commits.kde.org/kmymoney/90c714c693edb88467fe70dcd97277a18dc8e47b
Created attachment 120424 [details] This testing file still shows faulty budget data for quaterly, bi-monthly or yearly
Unfortunately I still see the issue with the budget reports on 5.0.4. The numbers displayed seem to be different, but they are still way off for e.g. quarterly.
Forgot to mark the issue as reopen, sorry for spamming.
Testfile is GPG encrypted with key 0x7EEDA4D0C8508D1C (Erik's) so it does not really help :(
Created attachment 120576 [details] This testing file still shows faulty budget data for quaterly, bi-monthly or yearly I apologize, this one is unencrypted.
Git commit fc01f927393d5a5b037529fd4342c9213dac603f by Thomas Baumgart. Committed on 05/06/2019 at 16:56. Pushed by tbaumgart into branch '5.0'. Fix multi-month budget report The aggregation of budgets for multiple months (e.g. for quarterly reports) did not work correctly. This change fixes the problem. FIXED-IN: 5.0.5 M +1 -1 kmymoney/plugins/views/reports/core/pivottable.cpp https://commits.kde.org/kmymoney/fc01f927393d5a5b037529fd4342c9213dac603f