Bug 508230

Summary: report with Filter/Tag not showing properly
Product: [Applications] kmymoney Reporter: pierremaille
Component: reportsAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: REPORTED ---    
Severity: minor    
Priority: NOR    
Version First Reported In: 5.2.1   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Report with all tags selected
screenshot of tag removed
report with unexpected results
transactions associated to the tag

Description pierremaille 2025-08-14 09:19:15 UTC
Created attachment 184059 [details]
Report with all tags selected

SUMMARY
When Creating an  Income and Expenses Graph Report and filtering by tag I have incoherent report. 

I create a tag named "Ponctuel" which mean Extraordinaire. Basicaly every transactions that I need to pay with emergency fund receive this tag. 

When I asked an Income and Expenses Graph Report  display without "Ponctuel" aka "Emergency expense" almost everything flat out in the graph. Where in fact Expenses should go lower in the graph.

STEPS TO REPRODUCE
1.  Create a transaction with a tag "Ponctuel"
2. Create a Income and Expenses Graph Report
3. Configure report by filters/tag/ uncheck "Ponctuel"

OBSERVED RESULT
Graph excludes all transactions without "Ponctuel" + all others Transactions without tag
Tried to checkbox Select transaction withouts tags = same unexpected result.

EXPECTED RESULT
Having a check box "No tags" at the same level as the other tags should generate the graph accordingly to presence of tags. 

SOFTWARE/OS VERSIONS
Windows: 11
ADDITIONAL INFORMATION
Comment 1 pierremaille 2025-08-14 09:20:26 UTC
Created attachment 184060 [details]
screenshot of tag removed
Comment 2 pierremaille 2025-08-14 09:21:10 UTC
Created attachment 184061 [details]
report with unexpected results
Comment 3 pierremaille 2025-08-14 09:22:11 UTC
Created attachment 184062 [details]
transactions associated to the tag
Comment 4 pierremaille 2025-08-14 09:26:12 UTC
ChatGPT Version of my bug report 

1. Summary
When generating an Income and Expenses Graph Report in KMyMoney and filtering by tag, the report output is inconsistent. A tag named Ponctuel is applied to extraordinary or emergency expenses. Filtering the graph to exclude Ponctuel causes the graph to flatten almost entirely, instead of only reducing the expenses as expected.

2. Steps to Reproduce

Create a transaction and apply the tag Ponctuel.

Create an Income and Expenses Graph Report.

Go to Filters → Tag and uncheck Ponctuel.

3. Observed Result

The graph excludes all transactions without Ponctuel and all transactions without any tag.

Selecting Transactions without tags produces the same unexpected result.

4. Expected Result

A dedicated "No tags" checkbox should be available at the same level as the other tags in the filter.

When filtering, the graph should include or exclude transactions strictly according to the selected tags, without unintentionally removing transactions that have no tags.

5. Software / OS Versions

OS: Windows 11