If you have closed accounts filtered from the accounts view then each time you want to change a report covering a historical period, you have to edit the KMyMoney settings General -> Filter to show closed accounts, edit the report, then change the filter back again as the hidden accounts are automatically deselected from the account list in the report.
Git commit c4bc9a09fb10b83567ea5ee0a297ceb1cdc9a0b7 by Thomas Baumgart. Committed on 03/01/2019 at 09:35. Pushed by tbaumgart into branch '5.0'. Show closed accounts in report configuration In case the configuration of a report references at least one closed account, also closed accounts will be shown in the configuration widgets FIXED-IN: 5.0.3 M +18 -0 kmymoney/widgets/ktransactionfilter.cpp M +5 -3 kmymoney/widgets/ktransactionfilter_p.h https://commits.kde.org/kmymoney/c4bc9a09fb10b83567ea5ee0a297ceb1cdc9a0b7